From 396a88e884e543922c861ee2520f661fd3fcea43 Mon Sep 17 00:00:00 2001 From: Jakub Nowicki Date: Mon, 23 Oct 2023 16:07:20 +0200 Subject: [PATCH] ci: New Cypress files structure. --- .github/workflows/e2e-test.yml | 2 +- tests/e2e/app-files/{hello.spec.js => hello.cy.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/e2e/app-files/{hello.spec.js => hello.cy.js} (100%) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 35136b74..8d1842ac 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -131,7 +131,7 @@ jobs: file.copy("app-files/Box.jsx", "RhinoApp/app/js/Box.jsx", overwrite = TRUE) file.copy("app-files/test-hello.R", "RhinoApp/tests/testthat/test-hello.R", overwrite = TRUE) file.copy("app-files/test-say_hello.R", "RhinoApp/tests/testthat/test-say_hello.R", overwrite = TRUE) - file.copy("app-files/hello.spec.js", "RhinoApp/tests/cypress/integration/hello.spec.js", overwrite = TRUE) + file.copy("app-files/hello.cy.js", "RhinoApp/tests/cypress/e2e/hello.cy.js", overwrite = TRUE) file.remove("RhinoApp/tests/testthat/test-main.R") - name: Cypress tests should confirm RhinoApp works diff --git a/tests/e2e/app-files/hello.spec.js b/tests/e2e/app-files/hello.cy.js similarity index 100% rename from tests/e2e/app-files/hello.spec.js rename to tests/e2e/app-files/hello.cy.js