cypress-angular-unit-test icon indicating copy to clipboard operation
cypress-angular-unit-test copied to clipboard

Running e2e tests after integrating cypress-angular-unit-tests no longer works

Open thomashoef opened this issue 3 years ago • 3 comments

After integrating the cypress-angular-unit-test module, our "regular" e2e tests fail to run, stating cy.visit() may not be used in a component. We have specified our testFiles in cypress.json and the component attribute pointing to the component fixtures.

Desired behavior

cypress run should still be able to execute e2e tests alongside component tests.

Thanks for the support.

thomashoef avatar Sep 29 '21 14:09 thomashoef

Same issue

thudxz avatar Nov 11 '21 14:11 thudxz

Also experiencing this issue. If I am not mistaken there is a test specifically checking that this does not happen.

azaeng04 avatar Nov 16 '21 17:11 azaeng04

Exact same problem here. Every test is now considered as a component test.

tgecb avatar Nov 29 '21 10:11 tgecb