Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ jobs:
run: npm run test:unit
env:
CI: true
- name: Cypress run
uses: cypress-io/github-action@v2
with:
start: npm run serve
wait-on: 'http://localhost:8080'
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ You can run tests by executing:
```bash
$ npm run test
```
To run e2e tests, you must have Java installed. [[download Java here](https://java.com/download/)]

## CSS Build
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.
Expand Down
6 changes: 5 additions & 1 deletion cypress.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"project": "creativecommons-chooser",
"baseUrl": "http://localhost:8080/"
"baseUrl": "http://localhost:8080/",
"integrationFolder": "tests/cypress/integration/",
"fixturesFolder": "tests/cypress/fixtures",
"pluginsFile": "tests/cypress/plugins/index.js",
"supportFile": "tests/cypress/support/index.js"
}
119 changes: 0 additions & 119 deletions cypress/integration/AttributionDetails._spec.js

This file was deleted.

174 changes: 0 additions & 174 deletions cypress/integration/Stepper._spec.js

This file was deleted.

Loading