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

[puppeteer engine] npm run smoke_test failures #712

Closed
garris opened this issue Mar 24, 2018 · 8 comments
Closed

[puppeteer engine] npm run smoke_test failures #712

garris opened this issue Mar 24, 2018 · 8 comments

Comments

@garris
Copy link
Owner

garris commented Mar 24, 2018

About half of the tests are failing out.

We can release once we can get this test stable.

@krisdigital
Copy link
Contributor

@garris I think I fixed them? #713

@garris
Copy link
Owner Author

garris commented Mar 26, 2018

Ok. Just tested this. Almost there!

There are a few subtle cases which need handling.

  1. selectors which exist but are hidden
  2. selectors which don't exist

These are handled the same in phantom and chromy options. Here is an example of the chromy handling...
image

This copies stub icons representing those states so that changes in selector visual states can be detected. E.G. reports look like this...

image

and...

image

It would be great to add a third handler which would display an icon for any other error. Currently our reports show nothing if some other unexpected error is thrown while attempting a capture.

@krisdigital
Copy link
Contributor

@garris Aahhhh, now I remember seeing these images! Should be a small fix!

@garris
Copy link
Owner Author

garris commented Mar 26, 2018

Yeah. I think the fix is pretty easy too. Feel free to ping if you run into any difficulties — Cheers!

@garris
Copy link
Owner Author

garris commented Mar 27, 2018

Just FYI -- I updated the errorState graphics here... #716

Should not affect the fix here -- just changing the way it will look.

@krisdigital
Copy link
Contributor

@garris It should work now! The new images are way cooler 😎 #718

@garris
Copy link
Owner Author

garris commented Mar 28, 2018

Great Job! Puppeteer branch is merged to master.
72d0b05

@garris garris closed this as completed Mar 28, 2018
@krisdigital
Copy link
Contributor

Wohoooooo!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants