Polymer / tools

Polymer Tools Monorepo
BSD 3-Clause "New" or "Revised" License
430 stars 200 forks source link

testing whole app #3158

Open cordovapolymer opened 7 years ago

cordovapolymer commented 7 years ago

How can whole app test be implemented? I mean testing the app functionality in general complex test, performing actions on elements where one depends on another, like inputting form, then pressing buttons, waiting for page switch.

mg80 commented 7 years ago

That's not really the point of WCT. WCT is mostly for creating unit tests. From what you wrote, it sounds like you are wanting to create web automations/end to end tests/ integration tests. WCT will allow you to test that elements do what they're suppose to do, but if you are looking to an end to end flow I would look at something like selenium.

bennypowers commented 7 years ago

I've got a PSK app with a handful of main pages and a few dozen custom elements. I'm planning on doing some of these types of functional tests in test/my-app.html. I'll let you know how it goes.

Sent from my LGE Nexus 5 using FastHub

cordovapolymer commented 7 years ago

@bennypowers great! please post your results 👍

cordovapolymer commented 6 years ago

@bennypowers Any updates on this?

bennypowers commented 6 years ago

My team mostly abandoned this approach. I'm keen to try cypress.io for integration tests.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.