-
Notifications
You must be signed in to change notification settings - Fork 846
E2E Tests: Try localtunnel instead of ngrok #17523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution: This PR has changes that must be merged to WordPress.com |
|
Scheduled Jetpack release: November 10, 2020. E2E results is available here (for debugging purposes): https://jetpack-e2e-dashboard.herokuapp.com/pr-17523 Thank you for the great PR description! When this PR is ready for review, please apply the |
fc61e13 to
5a72b1c
Compare
anomiex
left a comment
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 didn't manage to test it (yarn test-e2e as documented in tests/e2e/README.md complained about a MacOS path not existing?), but I gave the code a look-through.
Co-authored-by: Brad Jorsch <[email protected]>
ef32f0c to
029c2f5
Compare
kraftbj
left a comment
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.
Didn't independently test and not sure how to confirm localtunnel was used for the GH action. As a test, approving since we will see problems pretty quickly and can fix up.
| touch wp-content/debug.log | ||
| chown www-data:www-data wp-content/debug.log | ||
|
|
||
| sed -i "/\/\* That's all, stop editing! Happy publishing. \*\//i\ |
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.
Editing this line probably doesn't happen often (last changed 22 months ago), but any harm in looking for the opening <?php line and adding these immediately following it?
Non-blocking.
|
r216323-wpcom |
* add localtunnel dependency * disable setup script * start tunnel before running tests * switch to localtunnel URL * try closing the tunnel after all * trigger travis build * Add TunnelManager * don't throw for now * minor updates * update connection flow * mess up with cli commands * cleanup console.log's * improve in-place connection test stability * Add a bit of logging * update wp-config file * fix script * 🤷 * 🤷 v2 * 🤷 v3 * bump a timeout * wait for tunnel to close properly * wait a bit more * Retry when getting subdomain * fix conditional * update login and fix minor thing * login tweaks * more tweaks * try this@ * random stuff 🤷 * refactor #create method * a bit more logging * . * . * hack the server * update teardown * fix JSON parse error * minor tweaks * fix wpcom login * resolve IDC problem * pre-review cleanup * try puppeterr v5 * revert puppeteer update * pre-review cleanup * yarn.lock file update * fix syntax error * Apply suggestions from code review Co-authored-by: Brad Jorsch <[email protected]> * update build setep * Address feedback, and clean up bin scripts * Commit new file * Fix plan sync logging * capture screenshots for block inserter * remove screenshots from block-editor Co-authored-by: Brad Jorsch <[email protected]>
Changes proposed in this Pull Request:
Jetpack product discussion
n/a
Does this pull request change what data or activity we track or use?
n/a
Testing instructions:
yarn build./tests/e2e/bin/env.sh startPUPPETEER_HEADLESS=false yarn test-e2e --testPathIgnorePatterns=updateProposed changelog entry for your changes: