Skip to content

Commit

Permalink
fixup! ci: Fix file list to scroll entry to visible area
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Aug 5, 2024
1 parent accce48 commit af04b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ Cypress.Commands.add('moveFile', (path, destinationPath) => {
// For files wait for preview to load and release lock
Cypress.Commands.add('waitForPreview', name => {
cy.getFile(name)
.scrollIntoView({ offset: { top: 200 } })
.scrollIntoView({ offset: { top: -200 } })
cy.getFile(name)
.find('.files-list__row-icon img')
.should('be.visible')
Expand Down

0 comments on commit af04b21

Please sign in to comment.