feat(tests, components): enhance Cypress commands and UI elements for improved testing and accessibility
- Added new Cypress commands for mocking admin-related API interactions, including list, create, update, delete, and change status functionalities. - Introduced data-cy attributes across various components (e.g., Breadcrumbs, Forms, Tables) to improve testability and accessibility. - Updated existing components to support new data-cy attributes for better integration with Cypress tests.
This commit is contained in:
@@ -106,4 +106,5 @@ describe("sign-in page", () => {
|
||||
.should("exist");
|
||||
cy.get('button[type="submit"]').should("not.contain", "Sign in");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user