Skip to content

Commit

Permalink
fixup! feat(Templates): extend the tutorial table
Browse files Browse the repository at this point in the history
  • Loading branch information
blizzz committed Jan 10, 2025
1 parent b3f9a72 commit a453fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/tables-archive.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Archive tables/views', () => {
cy.get('[data-cy="navigationTableItem"]').first().as('tutorialTable')

cy.get('@tutorialTable').should('contain.text', 'Welcome to Nextcloud Tables!')
cy.get('@tutorialTable').find('[aria-haspopup="menu"]').click({ force: true })
cy.get('@tutorialTable').find('[aria-haspopup="menu"]').first().click({ force: true })

cy.intercept({ method: 'PUT', url: '**/apps/tables/api/2/tables/*'}).as('archiveTableReq')
cy.contains('Archive table').click({ force: true })
Expand All @@ -39,7 +39,7 @@ describe('Archive tables/views', () => {
cy.get('[data-cy="navigationTableItem"]').first().as('tutorialTable')

cy.get('@tutorialTable').should('contain.text', 'Welcome to Nextcloud Tables!')
cy.get('@tutorialTable').find('[aria-haspopup="menu"]').click({ force: true })
cy.get('@tutorialTable').find('[aria-haspopup="menu"]').first().click({ force: true })

cy.intercept({ method: 'PUT', url: '**/apps/tables/api/2/tables/*' }).as('unarchiveTableReq')
cy.contains('Unarchive table').click({ force: true })
Expand Down

0 comments on commit a453fb8

Please sign in to comment.