Skip to content

Commit cf0ba87

Browse files
EDSC-4153 removes cypress (#1781)
1 parent a572a03 commit cf0ba87

File tree

126 files changed

+221
-52291
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+221
-52291
lines changed

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"browser": true,
55
"node": true,
66
"jest": true,
7-
"cypress/globals": true
87
},
98
"rules": {
109
// Allowing cyclic dependancies

.github/workflows/ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,6 @@ jobs:
7474
uses: codecov/codecov-action@v4
7575
env:
7676
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
77-
cypress:
78-
needs: [eslint]
79-
runs-on: ubuntu-latest
80-
strategy:
81-
matrix:
82-
node-version: ['lts/hydrogen']
83-
steps:
84-
- name: Dummy Cypress step
85-
run: echo "Cypress tests are temporarily bypassed." > /dev/null
86-
8777
playwright:
8878
needs: [eslint]
8979
runs-on: ubuntu-latest
@@ -139,7 +129,7 @@ jobs:
139129

140130
deploy:
141131
if: success() && github.ref == 'refs/heads/main' # only run on main success
142-
needs: [jest, playwright] # only run after jest jobs complete
132+
needs: [jest, playwright] # only run after jest and playwright jobs complete
143133
runs-on: ubuntu-latest
144134
steps:
145135
- name: Checkout code

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ tmp
1313
# VSCode Settings
1414
.vscode
1515

16-
cypress/screenshots
17-
cypress/videos
1816
overrideStatic.config.json
19-
cypress-coverage
2017
.nyc_output
2118

2219
/test-results/

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -173,29 +173,6 @@ Once the project is built, you must ensure that the automated unit tests pass:
173173

174174
npm run test
175175

176-
### Run the Automated [Cypress](https://www.cypress.io/) tests
177-
178-
You must also ensure that the automated integration tests pass:
179-
180-
npm run cypress:run
181-
182-
You can also use the Cypress GUI with:
183-
184-
npm run cypress:open
185-
186-
##### Configuration
187-
188-
###### Cypress Secrets
189-
190-
When adding new Cypress tests, you will need to modify the secrets.config.json file. You will need to edit the "cypress" object to include data from your local database:
191-
192-
"cypress": {
193-
"user": {
194-
"id": 1, // This should match the ID of your user in the 'users' database table
195-
"username": "your username here" // Replace with the urs_id field of your user in the 'users' database table
196-
}
197-
}
198-
199176
### Deployment
200177

201178
When the time comes to deploy the application, first ensure that you have the required ENV vars set:

bin/cypress-prepare-ci

Lines changed: 0 additions & 17 deletions
This file was deleted.

bin/deploy-bamboo.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ node_modules
6262
.serverless
6363
.webpack
6464
coverage
65-
cypress
6665
dist
6766
node_modules
6867
tmp

bin/jest-prepare-ci

100644100755
File mode changed.

cypress.config.mjs

Lines changed: 0 additions & 22 deletions
This file was deleted.

cypress/e2e/paths/search/granules/__mocks__/browse_only/granules.body.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)