Resolve remaining lint violations and stabilize ESLint config
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -21,12 +21,11 @@ describe("Edit an account", () => {
|
||||
cy.wait("@getUserDetail");
|
||||
|
||||
cy.contains("h1", MODAL_TITLE_ACCOUNT_EDIT).should("exist");
|
||||
cy.get("#input_name_field").clear().type("Updated Name");
|
||||
cy.get("#input_name_field").clear();
|
||||
cy.get("#input_name_field").type("Updated Name");
|
||||
|
||||
cy.contains("button", "Confirm")
|
||||
.should("be.visible")
|
||||
.and("be.enabled")
|
||||
.click();
|
||||
cy.contains("button", "Confirm").should("be.visible").and("be.enabled");
|
||||
cy.contains("button", "Confirm").click();
|
||||
cy.wait("@putUser");
|
||||
cy.contains(MSG_ACCOUNT_EDITED).should("be.visible");
|
||||
});
|
||||
|
||||
@@ -36,5 +36,4 @@ Cypress.Commands.add("login", () => {
|
||||
Cypress.Commands.add("closePopup", () => {
|
||||
// Trigger a forced click to close modal overlays consistently.
|
||||
cy.get("body").click({ position: "topLeft" });
|
||||
cy.wait(1000);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user