-
Notifications
You must be signed in to change notification settings - Fork 20
add Jetpack.com "Try it free" connection flow #1007
Conversation
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.
} ); | ||
|
||
test.it( 'Can log in', () => { | ||
test.it( 'Can log in', function() { |
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.
I'm curious as to why you replaced all the arrow functions
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.
I've posted it here: #923 (comment)
this
in arrow functions did not include mocha context, and sharing variables between tests becomes not possible
I re-ran the tests on CircleCI and that test passed but the one I fixed yesterday failed. |
…jetpackcom-try-free-flow
@bsessions85 I've merged master fixes and now tests are passing |
Didn't have JETPACKHOST env variable set. LGTM! |
Connect flow starting from Jetpack.com "Try it free" button (hits jetpack/connect/store flow) with logged ou WP.com account
#1000