From a91781dfd213185b959904ac894080e78869600d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Obermu=CC=88ller?= Date: Fri, 22 Dec 2023 15:55:50 +0100 Subject: [PATCH] fix toolbar --- cypress/e2e/toolbar.cy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/toolbar.cy.ts b/cypress/e2e/toolbar.cy.ts index cc0765918a084..0a68aeb0b1bb4 100644 --- a/cypress/e2e/toolbar.cy.ts +++ b/cypress/e2e/toolbar.cy.ts @@ -1,7 +1,7 @@ describe('Toolbar', () => { it('Toolbar loads', () => { - cy.get('[data-attr="menu-item-toolbar-launch"]').click() - cy.get('[data-attr="sidebar-launch-toolbar"]').contains('Add toolbar URL').click() + cy.get('[data-attr="menu-item-toolbarlaunch"]').click() + cy.contains('Add authorized URL').click() cy.location().then((loc) => { cy.get('[data-attr="url-input"]').clear().type(`http://${loc.host}/demo`) cy.get('[data-attr="url-save"]').click() @@ -16,8 +16,8 @@ describe('Toolbar', () => { }) it('toolbar item in sidebar has launch options', () => { - cy.get('[data-attr="menu-item-toolbar-launch"]').click() - cy.get('[data-attr="sidebar-launch-toolbar"]').contains('Add toolbar URL').click() + cy.get('[data-attr="menu-item-toolbarlaunch"]').click() + cy.contains('Add authorized URL').click() cy.location('pathname').should('include', '/toolbar') }) })