-
Notifications
You must be signed in to change notification settings - Fork 494
[TEST] Test for Gateways functionality (RT-1906) #1766
Conversation
@darkdarkdragon I really like the direction you're taking on writing e2e tests, can you please check out Protractor Page Objects, and let me know what do you think about it? |
I'm used Page Objects pattern, at least that's what I think about it :) BTW, for testing we are using "grunt-mocha-protractor". But it has very olde protractor in dependency. |
@darkdarkdragon I was thinking if we can simplify this. Protractor example is What do you think? P.S. Yea, looks like our protractor version is very old. I'll work on it. |
I just choose template with getters because I didn't know if element can be created before even page isn't available. |
…ctor See @darkdarkdragon suggestion on ripple#1766
…ctor See @darkdarkdragon suggestion on ripple#1766
@darkdarkdragon awesome, don't even know why is this guy doing it in a hard way.. maybe it's an outdated article, donno. |
5e35756
to
196a9d5
Compare
advancedPage.showAdvancedOptionsInput.click(). | ||
then(advancedPage.saveAdvancedSettingsButton.click). | ||
then(helperBrowser.waitForElementToDisplay.bind(this, advancedPage.advancedSettingsShowHolder)). | ||
then(function() { done(); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then(function() { done(); })
this could be simplified to then(done)
LGTM |
@darkdarkdragon ok, good for now. |
LGTM |
Ready to merge: Travis build checks out, most recent commit looks good to mrajvanshy, vhpoet. |
[TEST] Test for Gateways functionality (RT-1906)
@darkdarkdragon gateway tests are broken, can you please check? |
No description provided.