Skip to content

Commit

Permalink
Update cypress version; Refer to colonical verion of domain for Cypre…
Browse files Browse the repository at this point in the history
…ss production testing (#254)
  • Loading branch information
asset-web authored Dec 13, 2023
1 parent 2b659e1 commit c3db8cd
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile.dc2.demo
Original file line number Diff line number Diff line change
Expand Up @@ -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=""'
}
}
Expand Down
6 changes: 3 additions & 3 deletions Jenkinsfile.dc2.prod
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.dc2.test
Original file line number Diff line number Diff line change
Expand Up @@ -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=""'
}
}
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.demo
Original file line number Diff line number Diff line change
Expand Up @@ -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=""'
}
}
Expand Down
6 changes: 3 additions & 3 deletions Jenkinsfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -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=""'
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c3db8cd

Please sign in to comment.