Skip to content

Conversation

@sarupbanskota
Copy link
Contributor

@sarupbanskota sarupbanskota commented Dec 22, 2016

Closes #778
Also under #697

@sarupbanskota sarupbanskota force-pushed the tests/page-object-user-skills-input branch from 627c65f to a8eb988 Compare December 22, 2016 18:03
beforeEach() {
stubService(this, 'store', mockStore);
stubService(this, 'user-skills', mockUserSkillsService);
page.setContext(this);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this in based on what the error on the test logs suggested, but I didn't quite understand what happened here?

The tests pass with this.

@sarupbanskota
Copy link
Contributor Author

@joshsmith I think with the exception of the last commit, it's pretty much in ready state.

I'd appreciate help with my last commit - I'm not too sure what Page Objects property to use to get the html() of an element, since text() only seems to pull out underlying text.

Maybe as a final step I'll look at chaining some of the page.method calls too.

Let me know!

@joshsmith
Copy link
Contributor

@sarupbanskota I wouldn't use .html() here; see that PR I did that treats strong elements as a collection.

Copy link
Contributor

@begedin begedin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, though I'm still unhappy with my understanding of how wait works.

@joshsmith joshsmith force-pushed the tests/page-object-user-skills-input branch from 896c705 to 3282389 Compare January 25, 2017 22:44
@joshsmith joshsmith merged commit fa393d3 into develop Jan 25, 2017
@joshsmith joshsmith deleted the tests/page-object-user-skills-input branch January 25, 2017 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants