# How to run e2e test?

**URL:** <https://discourse.aurelia.io/t/how-to-run-e2e-test/2656>\
**Category:** Help Requests\
**Created:** [June 18, 2019, 10:27am UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656 "2019-06-18T10:27:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smb](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/smb/32/1506_2.png) [@smb](https://discourse.aurelia.io/u/smb)\
**Post date:** [June 18, 2019, 10:27am UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/1 "2019-06-18T10:27:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![YardGnomeNinja](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/yardgnomeninja/32/689_2.png) [@YardGnomeNinja](https://discourse.aurelia.io/u/YardGnomeNinja)\
**Post date:** [June 18, 2019, 7:47pm UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/2 "2019-06-18T19:47:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ghiscoding](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ghiscoding/32/1199_2.png) [@ghiscoding](https://discourse.aurelia.io/u/ghiscoding)\
**Post date:** [June 18, 2019, 11:37pm UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/3 "2019-06-18T23:37:39Z")

</div>

I personally use [Cypress.io](https://www.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](https://www.cypress.io/).

---

<div class="post-metadata">

**Author:** ![huochunpeng](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@huochunpeng](https://discourse.aurelia.io/u/huochunpeng)\
**Post date:** [June 19, 2019, 3:56am UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/4 "2019-06-19T03:56:53Z")

</div>

There is a readme file in your project generated by `au new`, it contains instructions on how to run/test the new project.

---

<div class="post-metadata">

**Author:** ![smb](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/smb/32/1506_2.png) [@smb](https://discourse.aurelia.io/u/smb)\
**Post date:** [June 19, 2019, 5:19am UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/5 "2019-06-19T05:19:38Z")

</div>

yes it works  
thanks for your help

---

<div class="post-metadata">

**Author:** ![smb](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/smb/32/1506_2.png) [@smb](https://discourse.aurelia.io/u/smb)\
**Post date:** [June 19, 2019, 5:27am UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/6 "2019-06-19T05:27:01Z")

</div>

I red it. readme file was helpful for me and my problem resolved.  
thanks

---

<div class="post-metadata">

**Author:** ![smb](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/smb/32/1506_2.png) [@smb](https://discourse.aurelia.io/u/smb)\
**Post date:** [June 19, 2019, 5:39am UTC](https://discourse.aurelia.io/t/how-to-run-e2e-test/2656/7 "2019-06-19T05:39:53Z")

</div>

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
