Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrimeNg Growl component causes Protractor synchronisation with Angular failure #4681

Closed
aozolin opened this issue Dec 18, 2017 · 2 comments
Closed
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@aozolin
Copy link

aozolin commented Dec 18, 2017

I'm submitting a bug report

Current behavior
Growl component uses timeout() so the protractor thinks that the angular is busy and waits until timeout forever. That causes such test cases to fail.
It looks like to fix the issue you need to put the timeout to outside of angular zone.
Please follow the link - #angular/protractor#4584. It describes the issue.

Expected behavior
Protractor works with Growl component successfully.

Minimal reproduction of the problem with instructions

  1. Download and unzip attached test project
  2. Cd to the project folder
  3. Run node/npm install to build the project
  4. Run node/npm run pree2e to download required drivers
  5. Run node/npm run e2e:dev to run test case and reproduce the issue

What is the motivation / use case for changing the behavior?
The existing behaviour makes auto test cases unworking and blocking autotesting at all.

Please tell us about your environment:
The issue is reproducible using PrimeNg showcase from https://www.primefaces.org/primeng/#/growl

@cagataycivici cagataycivici added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working Status: Pending Review Issue or pull request is being reviewed by Core Team Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working labels Dec 19, 2017
@tjlittle
Copy link

+1. This issue is huge for us. I'd rather not use PrimeNG at all, then have to depend on wait sleeps in end-to-end tests.

@yelhouti
Copy link
Contributor

yelhouti commented Sep 5, 2019

this Bug has been reintroduced in Toast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

4 participants