in the new aureliacli after to create new project and to select Webpack bundler then I customize it for testing with protractor.
How can I run e2e test? I mean What command do I need to run our e2e tests ?
thanks
You will need to run the project in one terminal (e.g. au run
).
And run Protractor in another terminal using au protractor
.
Note that if you’re using Chrome, it must be up to date. Mine wasn’t when I first tested this out.
I personally use Cypress.io, there’s barely any configuration, it works out of the box and it is so much better than Protractor. The only downside compare to Protractor is that for now it only supports Chrome (because it’s made on top of Electron), but they intend to add more Browsers support in the future (Firefox, IE, …). What Cypress provide compare to Protractor is day and night, check their website.
There is a readme file in your project generated by au new
, it contains instructions on how to run/test the new project.
yes it works
thanks for your help
I red it. readme file was helpful for me and my problem resolved.
thanks
I researched about protractor and noticed that protractor is using selenium test tools and I know selenium is very powerful for test so I selected protractor
anyway thanks for your help