Skip to content

Commit

Permalink
ci: Fix file list selector
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed Aug 21, 2024
1 parent b9bd870 commit 34a05fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('Nextcloud integration', function() {
cy.get('.oc-dialog').should('be.visible')
cy.get('.oc-dialog input[type=text]')
.should('be.visible')
.should('have.value', `/${exportFilename}`)
.should('have.value', exportFilename)

cy.get('.oc-dialog button.primary').click()

Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Cypress.Commands.add('shareLink', (user, path, shareData = {}) => {
})

Cypress.Commands.add('openFile', fileName => {
cy.get(`[data-cy-files-list] tr[data-cy-files-list-row-name="${fileName}"] a[data-cy-files-list-row-name-link]`).click()
cy.get(`[data-cy-files-list] tr[data-cy-files-list-row-name="${fileName}"] [data-cy-files-list-row-name-link]`).click()
})

Cypress.Commands.add('nextcloudEnableApp', (appId) => {
Expand Down

0 comments on commit 34a05fd

Please sign in to comment.