aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cypress/e2e/files/files_sorting.cy.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/cypress/e2e/files/files_sorting.cy.ts b/cypress/e2e/files/files_sorting.cy.ts
index b0ce1b6d723..3e46d868c1e 100644
--- a/cypress/e2e/files/files_sorting.cy.ts
+++ b/cypress/e2e/files/files_sorting.cy.ts
@@ -73,9 +73,9 @@ describe('Files: Sorting the file list', { testIsolation: true }, () => {
// Files are sorted
cy.get('[data-cy-files-list-row]').each(($row, index) => {
switch (index) {
- case 0: expect($row.attr('data-cy-files-list-row-name')).to.eq('1 tiny.txt')
+ case 0: expect($row.attr('data-cy-files-list-row-name')).to.eq('folder')
break
- case 1: expect($row.attr('data-cy-files-list-row-name')).to.eq('folder')
+ case 1: expect($row.attr('data-cy-files-list-row-name')).to.eq('1 tiny.txt')
break
case 2: expect($row.attr('data-cy-files-list-row-name')).to.eq('welcome.txt')
break
@@ -93,13 +93,13 @@ describe('Files: Sorting the file list', { testIsolation: true }, () => {
// Files are sorted
cy.get('[data-cy-files-list-row]').each(($row, index) => {
switch (index) {
- case 0: expect($row.attr('data-cy-files-list-row-name')).to.eq('z big.txt')
+ case 0: expect($row.attr('data-cy-files-list-row-name')).to.eq('folder')
break
- case 1: expect($row.attr('data-cy-files-list-row-name')).to.eq('a medium.txt')
+ case 1: expect($row.attr('data-cy-files-list-row-name')).to.eq('z big.txt')
break
- case 2: expect($row.attr('data-cy-files-list-row-name')).to.eq('welcome.txt')
+ case 2: expect($row.attr('data-cy-files-list-row-name')).to.eq('a medium.txt')
break
- case 3: expect($row.attr('data-cy-files-list-row-name')).to.eq('folder')
+ case 3: expect($row.attr('data-cy-files-list-row-name')).to.eq('welcome.txt')
break
case 4: expect($row.attr('data-cy-files-list-row-name')).to.eq('1 tiny.txt')
break