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:
@ -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();
|
||||
|
Reference in New Issue
Block a user