Closed azaeng04 closed 4 years ago
Hi @azaeng04 , Can you provide us your component test ? Something we can reproduce ? Which Angular version also. Thanks
Hi @LeJeanbono
Here is the repo where I pushed the code up to: https://gitlab.com/azaeng04/angular-test
Hopefully this helps.
I just push an Angular 9 example at https://github.com/bahmutov/cypress-angular-unit-test/tree/master/examples/ng9 Take a look and I will try your repo
Thanks @LeJeanbono I see your example only tests 1 component whereas the example I am sharing tests more than 1 component and I click the Run all specs
link on the Cypress runner
@LeJeanbono just running your example and I am not sure if you ran it, but I ran nox cypress open
and clicked Run all specs
and it only ran the integration tests. Also I noticed that you do have the experimentalComponentTests option enabled as well.
Ok got it !
It's more like a cypress problème/question, you can open an issue in their repository ( found nothing on that )
Maybe a new button is needed, dunno.
By the way, with cypress run
all ( integration / component ) tests are executed
@LeJeanbono okay it is on the Cypress UI.
Fell free to open an issue in their repo !