Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
1419a41
add localtunnel dependency
brbrr Oct 19, 2020
9ada11b
disable setup script
brbrr Oct 19, 2020
203aac2
start tunnel before running tests
brbrr Oct 19, 2020
03c6c71
switch to localtunnel URL
brbrr Oct 19, 2020
c5e0abe
try closing the tunnel after all
brbrr Oct 20, 2020
3aebd7d
trigger travis build
brbrr Oct 20, 2020
db9471a
Add TunnelManager
brbrr Oct 20, 2020
1502972
don't throw for now
brbrr Oct 20, 2020
ced3b68
minor updates
brbrr Oct 20, 2020
795bef5
update connection flow
brbrr Oct 20, 2020
e4c1f05
mess up with cli commands
brbrr Oct 20, 2020
6dc32f0
cleanup console.log's
brbrr Oct 20, 2020
ebf8eab
improve in-place connection test stability
brbrr Oct 21, 2020
dc7a871
Add a bit of logging
brbrr Oct 21, 2020
07e6c15
update wp-config file
brbrr Oct 21, 2020
43fbd9d
fix script
brbrr Oct 21, 2020
2bd8642
:shrug:
brbrr Oct 21, 2020
e312e17
:shrug: v2
brbrr Oct 21, 2020
18a7d3b
:shrug: v3
brbrr Oct 21, 2020
599ff8f
bump a timeout
brbrr Oct 21, 2020
185fa3d
wait for tunnel to close properly
brbrr Oct 21, 2020
dc96000
wait a bit more
brbrr Oct 21, 2020
4d8c2a2
Retry when getting subdomain
brbrr Oct 22, 2020
1e57c81
fix conditional
brbrr Oct 22, 2020
425b78c
update login and fix minor thing
brbrr Oct 22, 2020
2dfce65
login tweaks
brbrr Oct 22, 2020
810dd4b
more tweaks
brbrr Oct 22, 2020
f0c9996
try this@
brbrr Oct 22, 2020
1b2c8e1
random stuff :shrug:
brbrr Oct 22, 2020
3a2d2ae
refactor #create method
brbrr Oct 22, 2020
201099d
a bit more logging
brbrr Oct 22, 2020
6079567
.
brbrr Oct 22, 2020
e0a479a
.
brbrr Oct 22, 2020
06daba8
hack the server
brbrr Oct 22, 2020
65c4b40
update teardown
brbrr Oct 23, 2020
489557c
fix JSON parse error
brbrr Oct 23, 2020
17dc3e6
minor tweaks
brbrr Oct 23, 2020
8a413cb
fix wpcom login
brbrr Oct 23, 2020
c2ca556
resolve IDC problem
brbrr Oct 23, 2020
74a45ed
pre-review cleanup
brbrr Oct 23, 2020
94e3f77
try puppeterr v5
brbrr Oct 23, 2020
5bd9ab3
revert puppeteer update
brbrr Oct 26, 2020
9c02153
pre-review cleanup
brbrr Oct 26, 2020
a42d5fd
yarn.lock file update
brbrr Oct 26, 2020
7d0400c
fix syntax error
brbrr Oct 26, 2020
029c2f5
Apply suggestions from code review
brbrr Oct 27, 2020
919964b
update build setep
brbrr Oct 27, 2020
bc5c3c8
Address feedback, and clean up bin scripts
brbrr Oct 28, 2020
768c57f
Commit new file
brbrr Oct 28, 2020
293817c
Fix plan sync logging
brbrr Oct 29, 2020
8af1d1d
capture screenshots for block inserter
brbrr Oct 29, 2020
a7e3f04
remove screenshots from block-editor
brbrr Oct 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve in-place connection test stability
  • Loading branch information
brbrr committed Oct 27, 2020
commit ebf8eab08dc6a388e5924fa878b4bcf867bb6eac
6 changes: 2 additions & 4 deletions tests/e2e/lib/pages/wp-admin/in-place-authorize.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ export default class InPlaceAuthorizeFrame extends Page {
const approveSelector = 'button#approve';
const iframe = await this.getFrame();
await waitAndClick( iframe, approveSelector );
return this.waitToDisappear();
}

async waitToDisappear() {
const spinnerSelector = '#spinner';
const iframe = await this.getFrame();

waitForSelector( iframe, spinnerSelector, { hidden: true } );
return await waitForSelector( this.page, this.expectedSelector, { hidden: true } );
}
}
2 changes: 1 addition & 1 deletion tests/e2e/lib/pages/wpcom/pick-a-plan.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { waitAndClick } from '../../page-helper';
export default class PickAPlanPage extends Page {
constructor( page ) {
const expectedSelector = '.jetpack-product-card-alt .jetpack-product-card-alt__raw-price';
super( page, { expectedSelector } );
super( page, { expectedSelector, explicitWaitMS: 40000 } );
}

async select( product = 'free', type = 'daily' ) {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/lib/setup-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const step = async ( stepName, fn ) => {

jasmine.getEnv().addReporter( {
jasmineStarted() {
console.log( '#############', '\n\n\n' );
logger.info( '############# \n\n\n' );
},
specStarted( result ) {
logger.info( `Spec name: ${ result.fullName }, description: ${ result.description }` );
Expand Down