diff --git a/cypress/e2e/files_external/files-external-failed.cy.ts b/cypress/e2e/files_external/files-external-failed.cy.ts index 3bb9696ab20..e90a9d5e462 100644 --- a/cypress/e2e/files_external/files-external-failed.cy.ts +++ b/cypress/e2e/files_external/files-external-failed.cy.ts @@ -11,14 +11,12 @@ import { AuthBackend, createStorageWithConfig, StorageBackend } from './StorageU describe('Files user credentials', { testIsolation: true }, () => { let currentUser: User - beforeEach(() => { - }) - before(() => { cy.runOccCommand('app:enable files_external') cy.createRandomUser().then((user) => { currentUser = user }) + cy.runCommand('php ./cron.php') }) afterEach(() => { @@ -42,6 +40,11 @@ describe('Files user credentials', { testIsolation: true }, () => { cy.login(currentUser) cy.visit('/apps/files') + // TODO: Why does the first PROPFIND does not return it? + getRowForFile('Storage1') + .if('not.exist') + .reload() + // Ensure the row is visible and marked as unavailable getRowForFile('Storage1').as('row').should('be.visible') cy.get('@row').find('[data-cy-files-list-row-name-link]')