Jeanella Pascual
Angular and Protractor
Application under-test
https://mybooks.staging
Spec files
browser.get('http://mybooks.staging');
browser.findElement(by.css('.login-email'))
.sendKeys('testuser@staging.mybooks.com);
...
2. User searches for a title
3. User clicks on Want to Read button
1. User logs in successfully
4. Check that title has been added to list
As a user
I want to search for a title
So I can add it to my to my Reading list
Given: That a logged-in user has nothing in his Reading list When: User searches for "Life, the Universe, and Everything" and adds it to his Reading list Then: "Life, the Universe, and Everything" should be in his Reading list
search-page.po.ts
login-page.po.ts
helper.ts
Initialize our dependencies
Refactor with Page Objects