Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
test: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Jun 1, 2021
1 parent b3e5128 commit 277f4e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
e2e:
name: E2E test
runs-on: ubuntu-latest
env:
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
if: env.CYPRESS_PROJECT_ID != null
steps:
- uses: actions/setup-node@v2
with:
Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:
REEARTH_WEB_E2E_USERNAME: ${{ secrets.REEARTH_WEB_E2E_USERNAME }}
REEARTH_WEB_E2E_PASSWORD: ${{ secrets.REEARTH_WEB_E2E_PASSWORD }}
slack-notification:
if: always()
if: ${{ success() || failure() }}
name: Slack Notification
needs:
- e2e
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Cypress.Commands.add("init", () => {
.then(token =>
cy.request({
method: "POST",
url: config.api,
url: `${config.api}/graphql`,
body: {
query: `mutation($userId: ID!, $teamId: ID!, $name: String!, $lang: String!) {
deleteMe(input: { userId: $userId }) { userId }
Expand Down

0 comments on commit 277f4e0

Please sign in to comment.