Skip to content

Commit 1a5fe7d

Browse files
solracsfbackportbot[bot]
authored andcommitted
fix(ci): Replace breadcrumb clicks
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
1 parent 404c2f4 commit 1a5fe7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cypress/e2e/files_versions/version_cross_storage_move.cy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const clickOnBreadcumbs = (label: string) => {
2222
function assertVersionsContent(filePath: string) {
2323
const path = filePath.split('/').slice(0, -1).join('/')
2424

25-
clickOnBreadcumbs('All files')
25+
cy.visit('/apps/files')
2626

2727
if (path !== '') {
2828
navigateToFolder(path)
@@ -103,7 +103,7 @@ describe('Versions cross storage move', () => {
103103
randomCopiedSubFolderName = randomString + ' (copy)'
104104

105105
randomSubSubFolderName = Math.random().toString(36).replace(/[^a-z]+/g, '').substring(0, 10)
106-
clickOnBreadcumbs('All files')
106+
cy.visit('/apps/files')
107107
cy.mkdir(user, `/${randomGroupFolderName}/${randomSubFolderName}`)
108108
cy.mkdir(user, `/${randomGroupFolderName}/${randomSubFolderName}/${randomSubSubFolderName}`)
109109
cy.login(user)
@@ -116,7 +116,7 @@ describe('Versions cross storage move', () => {
116116

117117
assertVersionsContent(`${randomSubFolderName}/${randomSubSubFolderName}/${randomFileName}`)
118118

119-
clickOnBreadcumbs('All files')
119+
cy.visit('/apps/files')
120120
moveFile(randomSubFolderName, randomGroupFolderName)
121121

122122
assertVersionsContent(`${randomGroupFolderName}/${randomSubFolderName}/${randomSubSubFolderName}/${randomFileName}`)
@@ -129,7 +129,7 @@ describe('Versions cross storage move', () => {
129129

130130
assertVersionsContent(`${randomSubFolderName}/${randomSubSubFolderName}/${randomFileName}`)
131131

132-
clickOnBreadcumbs('All files')
132+
cy.visit('/apps/files')
133133
copyFile(randomSubFolderName, randomGroupFolderName)
134134

135135
assertVersionsContent(`${randomGroupFolderName}/${randomCopiedSubFolderName}/${randomSubSubFolderName}/${randomFileName}`)

0 commit comments

Comments
 (0)