Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -3,38 +3,38 @@
|
||||
// Authors:
|
||||
// imacat.yang@dsp.im (imacat), 2026/03/05
|
||||
|
||||
import { loginWithFixtures } from '../support/intercept';
|
||||
import { loginWithFixtures } from "../support/intercept";
|
||||
|
||||
describe('Account Info Modal', () => {
|
||||
describe("Account Info Modal", () => {
|
||||
beforeEach(() => {
|
||||
loginWithFixtures();
|
||||
cy.visit('/account-admin');
|
||||
cy.wait('@getUsers');
|
||||
cy.visit("/account-admin");
|
||||
cy.wait("@getUsers");
|
||||
});
|
||||
|
||||
it('double-click username opens info modal with user data', () => {
|
||||
cy.get('.account-cell').first().dblclick();
|
||||
cy.get('#modal_container').should('be.visible');
|
||||
cy.get('#acct_info_user_name').should('exist');
|
||||
it("double-click username opens info modal with user data", () => {
|
||||
cy.get(".account-cell").first().dblclick();
|
||||
cy.get("#modal_container").should("be.visible");
|
||||
cy.get("#acct_info_user_name").should("exist");
|
||||
});
|
||||
|
||||
it('info modal shows Account Information header', () => {
|
||||
cy.get('.account-cell').first().dblclick();
|
||||
cy.get('#modal_container').should('be.visible');
|
||||
cy.contains('Account Information').should('exist');
|
||||
it("info modal shows Account Information header", () => {
|
||||
cy.get(".account-cell").first().dblclick();
|
||||
cy.get("#modal_container").should("be.visible");
|
||||
cy.contains("Account Information").should("exist");
|
||||
});
|
||||
|
||||
it('info modal shows account visit info', () => {
|
||||
cy.get('.account-cell').first().dblclick();
|
||||
cy.get('#modal_container').should('be.visible');
|
||||
cy.get('#account_visit_info').should('exist');
|
||||
cy.get('#account_visit_info').should('contain', 'Account:');
|
||||
it("info modal shows account visit info", () => {
|
||||
cy.get(".account-cell").first().dblclick();
|
||||
cy.get("#modal_container").should("be.visible");
|
||||
cy.get("#account_visit_info").should("exist");
|
||||
cy.get("#account_visit_info").should("contain", "Account:");
|
||||
});
|
||||
|
||||
it('info modal can be closed via X button', () => {
|
||||
cy.get('.account-cell').first().dblclick();
|
||||
cy.get('#modal_container').should('be.visible');
|
||||
it("info modal can be closed via X button", () => {
|
||||
cy.get(".account-cell").first().dblclick();
|
||||
cy.get("#modal_container").should("be.visible");
|
||||
cy.get('img[alt="X"]').click();
|
||||
cy.get('#modal_container').should('not.exist');
|
||||
cy.get("#modal_container").should("not.exist");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user