1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-09 08:02:24 +02:00

tests for new button

This commit is contained in:
Arnab Sen
2022-04-16 10:36:32 +05:30
parent f6cf7766f3
commit cb4d19d05c
10 changed files with 44 additions and 4 deletions

View File

@ -6,9 +6,9 @@ describe('Modals pop-up when header btns are pressed', () => {
});
// Selectors for each button
const ADD_LIBRARY_SEL = '[data-event-action=addLibraryButtonClick]';
const NEW_SEL = '[aria-label="Start a new creation"]';
const LOGIN_SEL = '[data-event-action=loginButtonClick]';
const ADD_LIBRARY_SEL = '[data-testid=addLibraryButton]';
const NEW_SEL = '[data-testid=newButton]';
const LOGIN_SEL = '[data-testid=loginButton]';
it('Add Library', () => {
cy.get(ADD_LIBRARY_SEL).click();