The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Getting Started With Protractor

Getting Started With Protractor

3:25
Protractor is an end-to-end testing library for AngularJS. This video lesson will walk through getting Protractor installed and writing your first test.
Watch this lesson now
Avatar
egghead.io

Protractor is an end-to-end testing library for AngularJS. This video lesson will walk through getting Protractor installed and writing your first test.

Avatar
Edgar

Was there a previous tutorial where them built out all the folders in this tutorial?

the index.html references app.css but I don't see it in the code below the video.

Avatar
Shawn

Agreed. The directory structure is confusing and unexplained.

In reply to Edgar
Avatar
Evan Gillogley

This tutorial is outdated. You don't need to .getInstance() and use browser.get('/') instead. I had to do some Googling.

Avatar
Brian

It looks very similar to the directory structure generated by phpstorm/webstorm for an Angular project. AKA angular-seed.

Also I agree that the first video was quite confusing - where'd all those files come from. I wish they'd mentioned they used angular-seed (if indeed they did use it) right from the start.

In reply to Shawn
Avatar
Raphi

How does Protractor know where index.html is?

Avatar
Ajaypal Cheema

Would like to have the source files being used in the video, with all those directories...

Avatar
Gelareh

he speaks too fast and unclearly it is too hard to follow him

Avatar
Raymond

Protractor hits the localhost:3333 endpoint, which is defined in the baseUrl. In the video he opens a new terminal window, navigates to the app directory where the index.html file is located and starts httpster. He skips explaining a few of the aforementioned steps.

In reply to Raphi
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?