https://cypress.io logo
GHA Not Finding Alias
# i-need-help
e
I have an after call in my test to remove the email inbox that gets created in my test. Everything works perfectly fine locally, but when running within github actions it states that my alias can't be found. Has anyone seen this before and know of a solution? The alias is set in my before hook.
So the issue was that I needed to change it to
beforeEach
and
afterEach
. Still not entirely sure why that would needed, but after changing the aliases started working again in GHA.