Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(cypress): show hidden files request now uses PUT
Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Apr 25, 2023
commit 014d67b6352ca7b21add446a7f36ab39dccfc1f3
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ Cypress.Commands.add('showHiddenFiles', () => {
cy.get('[data-cy-files-navigation-settings-button]')
.click()
cy.get('.app-settings__content').should('be.visible')
cy.intercept({ method: 'POST', url: '**/show_hidden' }).as('showHidden')
cy.intercept({ method: 'PUT', url: '**/show_hidden' }).as('showHidden')
cy.get('.app-settings__content').contains('Show hidden files').closest('label').click()
cy.wait('@showHidden')
cy.get('.modal-container__close').click()
Expand Down