Skip to content

Commit

Permalink
RIT Jenkins CI merged last_known_good into demo_stable branch before …
Browse files Browse the repository at this point in the history
…deployment
  • Loading branch information
Jenkins Automation Server committed Sep 14, 2023
2 parents 76a401e + 08a16f2 commit 1a99535
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
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.0.0'
image 'cypress/included:13.2.0'
args '--add-host py-web-d0.epi.bris.ac.uk:172.25.2.76 --entrypoint=""'
}
}
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pipeline {
stage('Production: Cypress tests') {
agent {
docker {
image 'cypress/included:13.0.0'
image 'cypress/included:13.2.0'
args '--add-host temmpo.org.uk:172.25.2.104 --entrypoint=""'
}
}
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.0.0'
image 'cypress/included:13.2.0'
args '--add-host py-web-t0.epi.bris.ac.uk:172.25.2.77 --entrypoint=""'
}
}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,13 @@ e.g. Run selenium tests only

Using a locally instally node environment

NB: Some tests require these environment variables `CREDENTIALS_USR` and `CREDENTIALS_PSW` to be defined, to be able log into the site being tested.
NB: Some tests require these environment variables `CREDENTIALS_USR` and `CREDENTIALS_PSW` to be defined, to be able log into the site being tested. These details can be found in Research IT's LastPass account. Based on the `cypress.example.env.json` create a `cypress.env.json` file and fill in the details required from LastPass.

npx cypress open

Using docker and electron browser

docker run -it -v $PWD:/e2e -w /e2e cypress/included:13.0.0
docker run -it -v $PWD:/e2e -w /e2e cypress/included:13.2.0

## Warnings

Expand Down
4 changes: 4 additions & 0 deletions cypress.example.env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"CREDENTIALS_USR": "",
"CREDENTIALS_PSW": ""
}

0 comments on commit 1a99535

Please sign in to comment.