Skip to content

Commit

Permalink
Work on GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofwolski committed Jul 3, 2020
1 parent ff0ec4b commit f8bad20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ jobs:
uses: actions/checkout@v1
- name: Cypress run
uses: cypress-io/github-action@v2
env:
API_URI: https://pwa.demo.saleor.rocks/graphql/
with:
start: API_URI=https://pwa.demo.saleor.rocks/graphql/ npm start
start: |
npm start
translation-messages:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Cypress.Commands.add("loginUser", (email, password) =>
.type(email)
.get("input[name='password']")
.type(password)
.get("[data-tc=submit]")
.get("[data-test=submit]")
.click()
);

Expand Down

0 comments on commit f8bad20

Please sign in to comment.