Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler committed Dec 23, 2023
1 parent 18da01b commit 70b7a9b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions cypress/visual/AppNavigationItem.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ describe('NcAppNavigationItem', () => {
// Entries without router

it('has tertiary styling on non active entry', () => {
cy.contains('.app-navigation-entry', 'Back').compareSnapshot('NcAppNavigationItem-tertiary-non-active-entry')
cy.contains('.app-navigation-entry', 'Bar').compareSnapshot('NcAppNavigationItem-tertiary-non-active-entry')
})

it('has primary styling on active entry', () => {
cy.contains('.app-navigation-entry', 'Bar').compareSnapshot('NcAppNavigationItem-primary-on-active-entry')
cy.contains('.app-navigation-entry', 'Back').compareSnapshot('NcAppNavigationItem-primary-on-active-entry')
})

it('has primary button styling on active entry with editing=true', () => {
cy.contains('.app-navigation-entry', 'Bar').find('.app-navigation-entry__actions').click()
cy.contains('.app-navigation-entry', 'Back').find('.app-navigation-entry__actions').click()
cy.get('.app-navigation-entry--editing').compareSnapshot('NcAppNavigationItem-primary-on-active-entry-menu-active')
})
})
Expand Down

0 comments on commit 70b7a9b

Please sign in to comment.