Resolve remaining lint violations and stabilize ESLint config

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
2026-03-08 12:24:45 +08:00
parent 847904c49b
commit 52a36e3a7c
9 changed files with 1372 additions and 686 deletions

View File

@@ -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");
});

View File

@@ -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);
});