Skip to content

Commit

Permalink
chore(deps): cypress snapshot update
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
nextcloud-command authored and skjnldsv committed Sep 5, 2024
1 parent 45ef7bb commit bed1286
Show file tree
Hide file tree
Showing 7 changed files with 7,230 additions and 7,934 deletions.
1 change: 0 additions & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { configureVisualRegression } from 'cypress-visual-regression/dist/plugin
import { defineConfig } from 'cypress'
import cypressSplit from 'cypress-split'


export default defineConfig({
projectId: 'xysa6x',

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
*
*/

import { addCommands, User } from '@nextcloud/cypress'
import { addCommands } from '@nextcloud/cypress'
import { addCompareSnapshotCommand } from 'cypress-visual-regression/dist/command'
import { basename } from 'path'
import axios from '@nextcloud/axios'
import { addCompareSnapshotCommand } from 'cypress-visual-regression/dist/command'

addCommands()
addCompareSnapshotCommand()
Expand Down Expand Up @@ -120,8 +120,8 @@ Cypress.Commands.add(
'clickAction',
{ prevSubject: 'element' },
(subject, action) => {
subject.find('[data-cy-files-list-row-actions] button').click()
cy.get(`[data-cy-files-list-row-action="${action}"]`).click()
subject.find('[data-cy-files-list-row-actions] [aria-label="Actions"]').click()
cy.get(`[data-cy-files-list-row-action="${action}"] [role="menuitem"]`).click()
},
)

Expand Down
Loading

0 comments on commit bed1286

Please sign in to comment.