From c3db8cd370f9707363d9da79e0d9b8002188a250 Mon Sep 17 00:00:00 2001 From: Tessa Alexander <1619343+asset-web@users.noreply.github.com> Date: Wed, 13 Dec 2023 17:52:07 +0000 Subject: [PATCH] Update cypress version; Refer to colonical verion of domain for Cypress production testing (#254) --- Jenkinsfile.dc2.demo | 2 +- Jenkinsfile.dc2.prod | 6 +++--- Jenkinsfile.dc2.test | 2 +- Jenkinsfile.demo | 2 +- Jenkinsfile.prod | 6 +++--- Jenkinsfile.test | 2 +- README.md | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile.dc2.demo b/Jenkinsfile.dc2.demo index 896f3c82..9a497f11 100644 --- a/Jenkinsfile.dc2.demo +++ b/Jenkinsfile.dc2.demo @@ -16,7 +16,7 @@ pipeline { stage('Demo: Cypress tests') { agent { docker { - image 'cypress/included:13.3.1' + image 'cypress/included:13.6.1' args '--add-host app-dc2-tmpo-d0.epi.bris.ac.uk:172.26.10.141 --entrypoint=""' } } diff --git a/Jenkinsfile.dc2.prod b/Jenkinsfile.dc2.prod index 16c3ad89..ea5d677f 100644 --- a/Jenkinsfile.dc2.prod +++ b/Jenkinsfile.dc2.prod @@ -17,12 +17,12 @@ pipeline { stage('Production: Cypress tests') { agent { docker { - image 'cypress/included:13.3.1' - args '--add-host temmpo.org.uk:172.26.10.142 --entrypoint=""' + image 'cypress/included:13.6.1' + args '--add-host www.temmpo.org.uk:172.26.10.142 --entrypoint=""' } } steps { - sh 'cypress run --browser chrome --config baseUrl=https://temmpo.org.uk' + sh 'cypress run --browser chrome --config baseUrl=https://www.temmpo.org.uk' } post { success { diff --git a/Jenkinsfile.dc2.test b/Jenkinsfile.dc2.test index 4200e2b9..fb37d80d 100644 --- a/Jenkinsfile.dc2.test +++ b/Jenkinsfile.dc2.test @@ -16,7 +16,7 @@ pipeline { stage('Test: Cypress tests') { agent { docker { - image 'cypress/included:13.3.1' + image 'cypress/included:13.6.1' args '--add-host app-dc2-tmpo-t0.epi.bris.ac.uk:172.26.10.143 --entrypoint=""' } } diff --git a/Jenkinsfile.demo b/Jenkinsfile.demo index 5106c945..cda81c38 100644 --- a/Jenkinsfile.demo +++ b/Jenkinsfile.demo @@ -16,7 +16,7 @@ pipeline { stage('Demo: Cypress tests') { agent { docker { - image 'cypress/included:13.3.1' + image 'cypress/included:13.6.1' args '--add-host py-web-d0.epi.bris.ac.uk:172.25.2.76 --entrypoint=""' } } diff --git a/Jenkinsfile.prod b/Jenkinsfile.prod index ad6ac8dc..68688735 100644 --- a/Jenkinsfile.prod +++ b/Jenkinsfile.prod @@ -17,12 +17,12 @@ pipeline { stage('Production: Cypress tests') { agent { docker { - image 'cypress/included:13.3.1' - args '--add-host temmpo.org.uk:172.25.2.104 --entrypoint=""' + image 'cypress/included:13.6.1' + args '--add-host www.temmpo.org.uk:172.25.2.104 --entrypoint=""' } } steps { - sh 'cypress run --browser chrome --config baseUrl=https://temmpo.org.uk' + sh 'cypress run --browser chrome --config baseUrl=https://www.temmpo.org.uk' } post { success { diff --git a/Jenkinsfile.test b/Jenkinsfile.test index 313748c3..a49f6a40 100644 --- a/Jenkinsfile.test +++ b/Jenkinsfile.test @@ -16,7 +16,7 @@ pipeline { stage('Test: Cypress tests') { agent { docker { - image 'cypress/included:13.3.1' + image 'cypress/included:13.6.1' args '--add-host py-web-t0.epi.bris.ac.uk:172.25.2.77 --entrypoint=""' } } diff --git a/README.md b/README.md index fd785566..fa91be98 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ NB: Some tests require these environment variables `CREDENTIALS_USR` and `CREDEN Using docker and electron browser - docker run -it -v $PWD:/e2e -w /e2e cypress/included:13.3.1 + docker run -it -v $PWD:/e2e -w /e2e cypress/included:13.6.1 ## Warnings