From cbced644dded6a9c9fc4a9499b981f7a68640968 Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Fri, 3 May 2024 14:44:28 -0400 Subject: [PATCH] fix(test): update github cypress workflow to clone files_pdfviewer Signed-off-by: Elizabeth Danzberger --- .github/workflows/cypress.yml | 8 ++++++++ cypress/e2e/open.spec.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 7b89fdcba6..a1c698232f 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -69,6 +69,13 @@ jobs: ref: ${{ matrix.server-versions }} path: apps/viewer + - name: Checkout files_pdfviewer + uses: actions/checkout@v3 + with: + repository: nextcloud/files_pdfviewer + ref: ${{ matrix.server-versions }} + path: apps/files_pdfviewer + - name: Checkout ${{ env.APP_NAME }} uses: actions/checkout@v2 with: @@ -100,6 +107,7 @@ jobs: php occ config:system:set force_language --value en php occ app:enable --force testing php occ app:enable --force viewer + php occ app:enable --force files_pdfviewer php occ app:enable --force richdocuments php occ app:list php occ config:system:set trusted_domains 1 --value="172.17.0.1" diff --git a/cypress/e2e/open.spec.js b/cypress/e2e/open.spec.js index fedeb81f20..130eece679 100644 --- a/cypress/e2e/open.spec.js +++ b/cypress/e2e/open.spec.js @@ -17,7 +17,7 @@ * */ -describe.skip('Open existing office files', function() { +describe('Open existing office files', function() { let randUser before(function() {