generator-jhipster: Fix Angular e2e tests so they don't pause for alerts

Overview of the feature request

Currently, running npm run e2e on an Angular app has pauses while it waits for alerts to disappear. On the other hand, if you run npm run e2e on a React app, there is no waiting, and the tests complete much faster.

Motivation for or Use Case

It’s fun when the e2e tests really fly by. Not so much when there’s pauses like Angular has.

Related issues or PR

No active ones that I know of.

  • Checking this box is mandatory (this is just to show you read everything)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (15 by maintainers)

Most upvoted comments

@DanielFran : let’s keep this opened for our JHipster Code next week. Then, if it’s not fixed, I think we can close it, in favor of Cypress

It does, awesome!

I was taking a look if cypress improves this yesterday and it doesn’t. All frameworks angular/react/vue takes similar time to finish e2e, this is not angular exclusive. I think this should be fixed at cypress, protractor is kind of deprecated now. Current branch with cypress: https://github.com/avdev4j/generator-jhipster/pull/55/

I was also thinking of looking for the alert and closing it (which is an upgrade because it will make sure the alert was shown).