Skip to content

Commit 69d3915

Browse files
authored
Merge pull request #330 from obulat/final_cypress_switch
2 parents 91b5a9a + ccb1fea commit 69d3915

29 files changed

+23407
-46158
lines changed

.github/workflows/push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ jobs:
2424
run: npm run test:unit
2525
env:
2626
CI: true
27+
- name: Cypress run
28+
uses: cypress-io/github-action@v2
29+
with:
30+
start: npm run serve
31+
wait-on: 'http://localhost:8080'

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ You can run tests by executing:
4040
```bash
4141
$ npm run test
4242
```
43-
To run e2e tests, you must have Java installed. [[download Java here](https://java.com/download/)]
4443

4544
## CSS Build
4645
The Chooser uses PostCSS plugin for PurgeCSS to make CSS bundle size smaller. It automatically removes unused CSS based on the classes found in the final built bundle. Some styles for dynamic components or dynamically-imported files can also be removed. If you find that the built site misses some styles, you can manually add the necessary classes or Regex expressions to the `safelist` array in the `postcss.config.js` file.

cypress.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
22
"project": "creativecommons-chooser",
3-
"baseUrl": "http://localhost:8080/"
3+
"baseUrl": "http://localhost:8080/",
4+
"integrationFolder": "tests/cypress/integration/",
5+
"fixturesFolder": "tests/cypress/fixtures",
6+
"pluginsFile": "tests/cypress/plugins/index.js",
7+
"supportFile": "tests/cypress/support/index.js"
48
}

cypress/integration/AttributionDetails._spec.js

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

cypress/integration/Stepper._spec.js

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

0 commit comments

Comments
 (0)