Skip to content

Commit

Permalink
Added package.json and lockfile to fix dependency versions and make C…
Browse files Browse the repository at this point in the history
…I simpler
  • Loading branch information
peterjaap committed Sep 14, 2022
1 parent 01d32f2 commit 8648b87
Show file tree
Hide file tree
Showing 5 changed files with 11,452 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install the testing suite
run: npm install cypress cypress-file-upload cypress-localstorage-commands cypress-tags typescript --save-dev
run: npm ci
- name: Run the Hyvä testing suite
run: CYPRESS_MAGENTO2_SKIP_CHECKOUT=1 CYPRESS_MAGENTO2_SPEC_SUITE=hyva CYPRESS_MAGENTO2_BASE_URL=https://hyva-demo.elgentos.io npx cypress run
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
/cypress/videos
/cypress/screenshots
/cypress.env.json
package-lock.json
package.json
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,10 @@ Wording & naming are subject to change.
| | | :black_square_button: it can edit an order |

## Installation
First, install Cypress in the root of your Magento 2 project:
First, install Cypress and the dependencies in the root of your Magento 2 project:

```bash
npm install cypress --save-dev
npm install cypress-file-upload cypress-localstorage-commands cypress-tags typescript --save-dev
npm ci
```

The easiest way to install the tests is to clone this repository and move the `cypress` folder into your project. As of right now, we do not provide a fallback mechanism for customizations to the tests, see [Limitations](https://github.com/elgentos/magento2-cypress-testing-suite/blob/main/README.md#no-extensibility--inheritance-of-tests).
Expand Down
Loading

0 comments on commit 8648b87

Please sign in to comment.