Apply repository-wide ESLint auto-fix formatting pass
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -3,32 +3,32 @@
|
||||
// Authors:
|
||||
// imacat.yang@dsp.im (imacat), 2026/03/05
|
||||
|
||||
import { loginWithFixtures } from '../support/intercept';
|
||||
import { loginWithFixtures } from "../support/intercept";
|
||||
|
||||
describe('Account Management', () => {
|
||||
describe("Account Management", () => {
|
||||
beforeEach(() => {
|
||||
loginWithFixtures();
|
||||
});
|
||||
|
||||
it('displays user list on account admin page', () => {
|
||||
cy.visit('/account-admin');
|
||||
cy.wait('@getUsers');
|
||||
it("displays user list on account admin page", () => {
|
||||
cy.visit("/account-admin");
|
||||
cy.wait("@getUsers");
|
||||
// Should display users from fixture
|
||||
cy.contains('Test Admin').should('exist');
|
||||
cy.contains('Alice Wang').should('exist');
|
||||
cy.contains('Bob Chen').should('exist');
|
||||
cy.contains("Test Admin").should("exist");
|
||||
cy.contains("Alice Wang").should("exist");
|
||||
cy.contains("Bob Chen").should("exist");
|
||||
});
|
||||
|
||||
it('shows active/inactive status badges', () => {
|
||||
cy.visit('/account-admin');
|
||||
cy.wait('@getUsers');
|
||||
it("shows active/inactive status badges", () => {
|
||||
cy.visit("/account-admin");
|
||||
cy.wait("@getUsers");
|
||||
// The user list should show status indicators
|
||||
cy.contains('testadmin').should('exist');
|
||||
cy.contains("testadmin").should("exist");
|
||||
});
|
||||
|
||||
it('navigates to my-account page', () => {
|
||||
cy.visit('/my-account');
|
||||
cy.wait('@getMyAccount');
|
||||
cy.url().should('include', '/my-account');
|
||||
it("navigates to my-account page", () => {
|
||||
cy.visit("/my-account");
|
||||
cy.wait("@getMyAccount");
|
||||
cy.url().should("include", "/my-account");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user