/e2e-webshop

Tiny Angular-powered webshop to demonstrate E2E testing with WebdriverIO

Primary LanguageJavaScript

E2E Webshop

Sample webshop made with Angular in 30 minutes to demonstrate what is end-to-end testing with Jasmine and WebdriverIO for Angular applications.

Installing

Application itself could be run using these:

npm install
bower install
./node_modules/simplehttpserver/bin/simplehttpserver

And tthen just open http://localhost:8000 to view the app.

Testing

First of all, install Selenium:

./node_modules/selenium-standalone/bin/selenium-standalone install

Now, in one terminal window, run Selenium webdriver:

./node_modules/selenium-standalone/bin/selenium-standalone run

Make sure your application is running. In yet another terminal window, run Jasmine:

./node_modules