Skip to content

Commit

Permalink
update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Oct 11, 2023
1 parent d95afd3 commit 666becb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
run: |
cd tests/pw
echo "The value of test DB_PORT is ${{ env.DB_PORT }}"
echo "The value of test DB_PORT is ${{ env.GMAP }}"
echo "The value of test GMAP is ${{ env.GMAP }}"
# Set permalink structure
- name: Set Permalink structure
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
# Run API tests
- name: 🧪 Running the api tests
id: api-test
if: always()
if: always() && steps.db-port.outcome == 'success'
timeout-minutes: 5
run: |
cd tests/pw
Expand Down
1 change: 1 addition & 0 deletions tests/pw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"test:api:pro": "npx playwright test --project=api_tests --grep '@lite|@pro' --grep-invert @liteOnly --config=api.config.ts ",
"test:e2e:pro": "npx playwright test --project=e2e_tests --grep '@lite|@pro' --grep-invert @liteOnly --config=e2e.config.ts ",
"test:e2e:explo": "npx playwright test --project=e2e_tests --grep @explo --config=e2e.config.ts ",
"test:e2e:core": "npx playwright test --project=e2e_tests --grep @core --config=e2e.config.ts ",
"test:grep": "npx playwright test --grep",
"test:debug": "npx playwright test --debug",
"test:codegen": "playwright codegen",
Expand Down

0 comments on commit 666becb

Please sign in to comment.