Cypress test running locally but skipping tests on github actions beforeEach & afterEach Hook #27692
Unanswered
EashBhanu-CCD
asked this question in
CI setup
Replies: 1 comment
-
Hello @EashBhanu-CCD Have you tried using? Maybe this will help you find problem https://github.com/nektos/act |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to visit url in beforeEach block but everttime it fails in github action
This is github workflow file :
name: Run Cypress Tests Automation
on:
push:
branches:
- feature/automation-testing
jobs:
run-cypress-tests:
runs-on: ubuntu-latest
This is the error am getting in github action :
Customer Page - Partner
0 passing (19s)
1 failing
Customer Page - Partner
"before each" hook for "Click on customer icon & verify headers":
AssertionError: Timed out retrying after 4000ms: expected '/auth' to include '/user/'
Beta Was this translation helpful? Give feedback.
All reactions