Skip to content

Commit

Permalink
fix toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 22, 2023
1 parent 20d8636 commit a91781d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/e2e/toolbar.cy.ts
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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')
})
})

0 comments on commit a91781d

Please sign in to comment.