E2e tests with protactor
Last updated
Was this helpful?
Last updated
Was this helpful?
Protractor is the main framework in angular to perfom e2e tests. You can find the official documentation here :
To get to know what a end to end test is in pratice for angular. I recommend this small tutorial
That make you test that an app have a title that it should have
Display a nicer html version of the tests
Display how to specs are being evaluated in real time
Element not visible
browser.sleep(20000) give you 20s to inspect manually in the browser that the automated test opened what is going on
Use fit to the test you want to debug or build so that you don't waste time with the others. Just change it('') par fit('') for focus, and when you are done do change it back.