Skip to content
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

E2E tests migration to Playwright #17814

Closed
wants to merge 742 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
742 commits
Select commit Hold shift + click to select a range
e13487d
Monorepo: Reorganize all projects (#18257)
kraftbj Jan 14, 2021
66461a1
E2E Tests: Disable Allure reports generation (#18342)
brbrr Jan 14, 2021
fd0a916
Reorg: Remove temp branch from executing action (#18345)
kraftbj Jan 14, 2021
01a60a8
ESlint: Fix i18n relates issue (#18353)
brbrr Jan 14, 2021
004d8cf
Actions: Improve build-artifacts (#18352)
kraftbj Jan 14, 2021
6b0657c
Bump ini from 1.3.5 to 1.3.8 (#18351)
dependabot[bot] Jan 14, 2021
54d5e60
Bump https-proxy-agent from 2.2.2 to 2.2.4 (#18357)
dependabot[bot] Jan 14, 2021
e56f5f4
Packages: Do not include .github in dist (#18361)
kraftbj Jan 15, 2021
669e9ad
Changelog: add initial changelog for 9.3.1 (#18331)
jeherve Jan 15, 2021
6035f9c
Lazy Images: do not include js linting config in production (#18306)
jeherve Jan 15, 2021
6f07c39
Rename root-level project (#18367)
kraftbj Jan 15, 2021
012c5f2
Store: add jetpack/media-source sub-state tree (#18151)
retrofox Jan 15, 2021
2471539
Add on: pull_request trigger to CodeQL workflow (#18365)
rneatherway Jan 15, 2021
c0a1567
Admin Page: change dev version notice link to an external link (#18339)
kbrown9 Jan 15, 2021
09cc76d
Button block: Fix missing class issue. Closes #18325 (#18326)
danieldudzic Jan 15, 2021
b2fbf5a
Stats: update dashboard widget to respect new design (#18289)
jeherve Jan 15, 2021
1580f7b
i18n: enforce the use of the jetpack textdomain (#18366)
jeherve Jan 15, 2021
f087f44
Conversation: add block example (#18247)
retrofox Jan 15, 2021
3e195ec
Fix "Build artifacts" job and merge with "Update mirrors" (#18355)
anomiex Jan 15, 2021
4da2459
Connection: in-place connection flow privacy policy. (#18356)
sergeymitr Jan 15, 2021
a414753
Mirroring: Fix after #18355 (#18370)
anomiex Jan 15, 2021
0492a54
Masterbar: Add Calypso support to Testimonials and Portfolios (#18305)
obenland Jan 15, 2021
60e991a
Mirroring: Fix auth (#18371)
anomiex Jan 15, 2021
5bb7736
Mirroring: Fix auth, attempt 2 (#18375)
anomiex Jan 15, 2021
583f75d
Debug-Helper: Add composer.json so it will be mirrored (#18379)
anomiex Jan 15, 2021
a1c2c2d
Dependencies: Remove unused dependencies (#18377)
samiff Jan 15, 2021
77e72be
Docs: Update relative link locations in Docker readme (#18350)
samiff Jan 15, 2021
aa967fe
REST API: Fix user connection data without owner (#18363)
fgiannar Jan 15, 2021
8e6a7f8
Update dependency husky to v4.3.7 (#18077)
renovate[bot] Jan 15, 2021
b5fcd79
Masterbar: Use Calypso import/export only on simple sites (#18296)
obenland Jan 15, 2021
5751ec3
Update dependency danger to v10.6.0 (#18261)
renovate[bot] Jan 15, 2021
bb1591a
Videopress Block: Fix video width and lack of alignment classes (#18006)
aaronrobertshaw Jan 18, 2021
445c6ee
Audio Player: Fix the firing of multiple conflicting time changes (#1…
pablinos Jan 18, 2021
cab8ea0
Mirroring: Preserve file permissions by uploading a .tar.xz as the bu…
anomiex Jan 18, 2021
c0f7223
Docs: update path to the Code Sniffer ruleset (#18387)
kbrown9 Jan 18, 2021
32239b2
Tracking: get connected user data from Connection package (#18292)
kbrown9 Jan 18, 2021
47b6cac
CI: Give advice in the composer lockfile check (#18394)
anomiex Jan 18, 2021
fc2a9c6
Podcast Player: connect with AudioPlayer via global state (#18349)
retrofox Jan 18, 2021
be47bd0
Full Sync :: Reduce Concurrency. (#18372)
mdbitz Jan 18, 2021
80f1270
Jetpack Assistant: Add backend (#18156)
robertf4 Jan 18, 2021
150d123
Masterbar: Fix undefined variable (#18373)
obenland Jan 18, 2021
ce8cc67
Story block: Playback fixes (#18384)
aforcier Jan 19, 2021
a43f573
CI: Add timeouts for all jobs (#18398)
anomiex Jan 19, 2021
54357bf
PHPCS: Don't lint photon-cdn/jetpack-manifest.php (#18400)
anomiex Jan 19, 2021
3b42188
Bugfixes to sharing code (#18274)
sgomes Jan 19, 2021
f62c536
Add mirror-repo information to all current composer packages (#18316)
kraftbj Jan 19, 2021
cc5facc
Dialogue: replace wp_kses with wp_kses_post (#18430)
retrofox Jan 19, 2021
f66a634
Masterbar: Disable Calypsoify nav overrides when Nav Unification is e…
mmtr Jan 19, 2021
6c92a7c
anchor-fm: set initial conf for podcast-player (#18428)
retrofox Jan 19, 2021
6404270
P2: rename the `ready.o2` event to `ready_p2` (#18347)
jeherve Jan 19, 2021
ba4566b
Publicize: Allow clearing Publicize custom message if a post title ha…
samiff Jan 19, 2021
70c517f
Infinite Scroll: Bust cache (#18383)
kraftbj Jan 19, 2021
e3518ae
Masterbar: Correctly unfold top level menu items for submenu items (#…
obenland Jan 19, 2021
f588ab7
Mirroring: Mirror release branches, conditionally (#18399)
anomiex Jan 19, 2021
dfc2227
Fix dialogue block column style alignment (#18358)
creativecoder Jan 19, 2021
338a330
Update dependency @slack/web-api to v5.15.0 (#18258)
renovate[bot] Jan 19, 2021
bd68daf
CI: Cancel duplicate workflow runs (#18402)
anomiex Jan 19, 2021
fbf8af5
Connection: Accept blog token on 'jetpack.disconnectBlog' (#18364)
fgiannar Jan 19, 2021
bc58678
Docker: Add a mu-plugin to fix monorepo package URLs (#18432)
anomiex Jan 19, 2021
8f7cb61
Conversation: Fix Block Doesn't Load When Running WordPress 5.5 (#18436)
allilevine Jan 19, 2021
0a12031
Instant Search: Integrate new Redux store with component tree (#18138)
jsnmoon Jan 19, 2021
892d0f4
Update Changelog URL (#18443)
juhi123 Jan 20, 2021
e958b41
Social Icons Widget: Adds Patreon social icon for social icons widget…
sdixon194 Jan 20, 2021
0f79c28
dialogue: support mutilple blocks transform (#18429)
retrofox Jan 20, 2021
57ca1d5
anchor.fm: check conversation block availability (#18448)
retrofox Jan 20, 2021
fdf367e
API: Declare admin_page_hooks global (#18442)
obenland Jan 20, 2021
0c2441d
Masterbar: Point Sharing menu to Calypso (#18441)
obenland Jan 20, 2021
fee24dc
Premium Content Block: Move to Jetpack (#17907)
apeatling Jan 20, 2021
6dccb08
Admin Page: better handle i18n for disconnection warnings (#18392)
jeherve Jan 20, 2021
718254f
Mirroring: Fix vendor copy of lazy-images in jetpack-production (#18378)
anomiex Jan 20, 2021
efc8b46
Jetpack ES query builder: fix ignored weightings (#18395)
gibrown Jan 20, 2021
d2e3607
Add additional selectors to allow slideshow to work with Gallery bloc…
glendaviesnz Jan 20, 2021
388655d
Update dependency eslint-plugin-react to v7.22.0 (#18262)
renovate[bot] Jan 20, 2021
1c3a68e
Update dependency cache to v2.3.1 (#18260)
renovate[bot] Jan 20, 2021
d4dba52
Update dependency markdown-it to v12.0.4 (#18263)
renovate[bot] Jan 20, 2021
5dd529e
Podcasts: Add extra checks to the feed detection (#18047)
pablinos Jan 20, 2021
456f50b
Instant Search: Fix build-search by restore empty resolution to node'…
jsnmoon Jan 21, 2021
f800b59
Mirroring: Flag some more files with production-exclude (#18461)
anomiex Jan 21, 2021
7d76353
Tracking: remove dependency to the Jetpack plugin (#18112)
jeherve Jan 21, 2021
b634795
Conversation/Dialogue: handling participants enhancements (#18438)
retrofox Jan 21, 2021
75446e0
Mirroring: Move build command into composer (#18472)
anomiex Jan 21, 2021
8856bf1
Dialogue: media control player integration (#18390)
retrofox Jan 21, 2021
a7df8c2
Tools: Cleanup and update release scripts (#18460)
anomiex Jan 21, 2021
b5c6936
anchor-fm: align podcast vertical at the center (#18473)
retrofox Jan 21, 2021
c76f2a6
Git hooks: Update post-merge-checkout-hook.sh (#18483)
anomiex Jan 21, 2021
6f69040
Masterbar: Use user_option rather than Connection_Manager (#18458)
obenland Jan 21, 2021
60f41b6
Anchor.fm: Show single episode in player when creating episode post (…
creativecoder Jan 22, 2021
202c050
Beta to Experimental -- AnchorFM Editor Integration (#18386)
krymson24 Jan 22, 2021
295a951
Jetpack Sync: Checksums: Use a better way to fetch and validate field…
bisko Jan 22, 2021
83241db
Update/enable frontend upgrade nudges (#18239)
stacimc Jan 22, 2021
4f7151e
dialogue: fix participant/timestamp color issue (#18490)
retrofox Jan 22, 2021
9787474
Conversation/Dialogue: generic follow up tasks (#18479)
retrofox Jan 22, 2021
d2f879d
Anchor.FM: Pass the cover art and feed URL to the episode template (#…
pablinos Jan 22, 2021
49cb72d
Sync: Prevent an PHP warning (#18381)
kraftbj Jan 22, 2021
c51c9c8
Masterbar: avoid notices when no plan is available on site. (#18475)
jeherve Jan 22, 2021
c36765b
Podcast Player: Selected Episode Changes (#18492)
pablinos Jan 22, 2021
763703e
Add number of seconds to skip forward/back buttons (#18501)
allilevine Jan 22, 2021
4842d3d
Conversation/Dialogue: UX updates (#18503)
retrofox Jan 22, 2021
97b0ef1
conversation: add `Timestamps` control button (#18505)
retrofox Jan 22, 2021
e9b492a
chore(deps): update dependency husky to v4.3.8 (#18510)
renovate[bot] Jan 23, 2021
02e6e5f
Docker: Fix the monorepo package URLs fix. (#18499)
sergeymitr Jan 23, 2021
9b224ad
Tools: Cleanup and update other bash tools (#18482)
anomiex Jan 23, 2021
017cccb
chore(deps): update dependency localtunnel to v2.0.1 (#18512)
renovate[bot] Jan 23, 2021
53ad673
Fix Subscriptions block error when displayed within a Disabled contex…
andrewserong Jan 24, 2021
2c50224
Anchor.fm: checks Spotify badge URL (#18456)
retrofox Jan 25, 2021
ee5e442
Anchor.fm: show episode summary with post_content safe html (#18481)
creativecoder Jan 25, 2021
c228864
Connection package: Guard against reading a `$GLOBALS` variable that …
bisko Jan 25, 2021
cb6892d
Payments: Remove in-editor Stripe nudge (#18336)
stacimc Jan 25, 2021
3571228
Adds a script to scan a repository for Core function calls. (#18152)
zinigor Jan 25, 2021
ab519bd
WPCOM sync - adding cloudflare_analytics as valid site settings field…
blackjackkent Jan 25, 2021
28f69c4
Remove yarn check check. See https://classic.yarnpkg.com/en/docs/cli/…
kraftbj Jan 25, 2021
d2670e6
Dialogue: Connect podcast player with dialogue front-end (#18450)
retrofox Jan 25, 2021
f3067be
Ensure success page is displayed for Contact Form submissions from AM…
westonruter Jan 25, 2021
24cc184
Masterbar: Improve menu items when Nav Unification is enabled (#18495)
mmtr Jan 25, 2021
e1b5102
Docker: Don't try to be so fancy in the monorepo plugins_url fix (#18…
anomiex Jan 25, 2021
8f6083c
Docs: Document monorepo structure (#18485)
anomiex Jan 25, 2021
46ce120
E2E Tests: improve stability (#18396)
brbrr Jan 25, 2021
b353fa7
SSO: fixing authentication with custom login page URL's. (#18457)
sergeymitr Jan 25, 2021
27cd37b
Tools: Fix check in check-development-environment.sh (#18526)
anomiex Jan 25, 2021
eccc26c
anchor-fm: rename spotify url var name (#18525)
retrofox Jan 25, 2021
405cf4d
Sync Concurrency / Race Conditions (#18453)
mdbitz Jan 25, 2021
33e74b0
Instant Search: Add product ratings to search results (#18318)
jsnmoon Jan 25, 2021
2e87704
Instant Search: Optimize bundle size and polyfill delivery (#18506)
jsnmoon Jan 25, 2021
c8aba01
Masterbar: Account for link destination setting (#18238)
obenland Jan 25, 2021
07bc528
Masterbar: Limit site icon to 32px (#18502)
obenland Jan 25, 2021
e3a5000
Conversation/Dialogue: new enhancements round (#18524)
retrofox Jan 25, 2021
c2faf61
Extensions: move conversation and dialogue to experimental (#18520)
retrofox Jan 25, 2021
751542a
Dialogue: select participant by clicking on the component. (#18529)
retrofox Jan 25, 2021
150b585
Clear the autoloader plugin cache when the Jetpack version is changed…
kbrown9 Jan 25, 2021
b0b8dc1
Bump for 2.4.5
kraftbj Jan 25, 2021
02c409e
Issue Templates: Add new issue templates for Beta Tester and Debug To…
samiff Jan 25, 2021
ef5ad3c
Dialog block: output custom css classes only on container (#18530)
creativecoder Jan 25, 2021
63ed9a6
Autoloader: revised latest autoloader inclusion semantics (#18354)
ObliviousHarmony Jan 25, 2021
b5ade25
Prepare move to monorepo
kraftbj Jan 25, 2021
1f54ed6
Bring in the beta plugin
kraftbj Jan 25, 2021
c8d1a10
Anchor.fm: parse podcast summary into blocks (#18533)
creativecoder Jan 25, 2021
05c746e
PHPCS all the things
kraftbj Jan 25, 2021
2b7ba26
PHP 8 compat
kraftbj Jan 25, 2021
708574a
Add Beta Plugin to the Monorepo
kraftbj Jan 25, 2021
48944b0
Anchor.FM: Get most recent episode when no GUID is passed. (#18531)
pablinos Jan 25, 2021
721195a
Beta Plugin: Add composer.json for the beta plugin (#18539)
kraftbj Jan 25, 2021
c357849
Recommendations: shortcircuit early when in Offline Mode (#18527)
jeherve Jan 26, 2021
6c7323b
Jetpack Assistant: Add UI (#18437)
robertf4 Jan 26, 2021
ece0612
9.4 Release: changelog (#18311)
jeherve Jan 26, 2021
53b06df
Debug Helper: Noramlize package names (#18547)
kraftbj Jan 26, 2021
eb4e11f
CLI: Add basic CLI and build command (#18195)
kraftbj Jan 27, 2021
0b4dae7
Normalize package name (#18545)
kraftbj Jan 27, 2021
b4cfe2d
Instant Search: Sync with WPCOM codebase (#18554)
jsnmoon Jan 27, 2021
0f24099
Jetpack: Set composer autoloader-suffix (#18570)
anomiex Jan 27, 2021
061a463
GH: Rewrite required-review action to add path-based requirements (#1…
anomiex Jan 27, 2021
f09aebe
Instant Search: Improve browser compatibility + UX for input handling…
jsnmoon Jan 28, 2021
27b0139
Re-register Edit CSS sub page menu item (#18560)
tjcafferkey Jan 28, 2021
26db3e4
Jetpack: Normalize package names (#18546)
kraftbj Jan 28, 2021
42d92e1
Admin Color Schemes: add border to Contrast color scheme (#18592)
frontdevde Jan 28, 2021
0fa5e00
Anchor.fm: update Anchor.fm destination link (#18584)
jeherve Jan 28, 2021
fc54ede
Build: Fix more always-changing stuff (#18579)
anomiex Jan 28, 2021
3303158
Jetpack Recommendations: Show Recommendations tab for all users (#18576)
robertf4 Jan 28, 2021
9b5de70
Delete obsolete package-runner.sh script (#18593)
anomiex Jan 28, 2021
c9507d3
Photon: Enable resize parameters for VideoPress poster images (#18544)
aforcier Jan 28, 2021
68ffaa3
Adds Social Icons from Social Logos Repo (#18563)
sdixon194 Jan 28, 2021
acdc441
Plugin Search: PHPCS (#18572)
kraftbj Jan 28, 2021
769e195
Update dependency @testing-library/jest-dom to v5.11.9 (#18259)
renovate[bot] Jan 28, 2021
6ed49e8
Update dependency eslint-config-prettier to v7.2.0 (#18509)
renovate[bot] Jan 28, 2021
6cc6ec6
Update dependency node-wp-i18n to v1.2.4 (#18264)
renovate[bot] Jan 29, 2021
b67e0be
Jetpack Recommendations: Optimize images (#18599)
robertf4 Jan 29, 2021
006c392
Conversation/dialogue blocks: tweaks to styles and search terms (#18606)
creativecoder Jan 29, 2021
99532e8
Jetpack Recommendations: Add loading indicator for summary main conte…
robertf4 Jan 29, 2021
a0e5ac7
Build: Use Node 12 instead of Node latest (#18597)
kraftbj Jan 29, 2021
e2e6fb2
CLI: Do not automatically install symlink (#18600)
kraftbj Jan 29, 2021
d8a2b50
chore(deps): update dependency eslint to v7.18.0 (#18508)
renovate[bot] Jan 29, 2021
c9a762f
Remove resize event listener in Map block when component is unmounted…
andrewserong Jan 29, 2021
6ee63a9
Do not recompute availability in render callbacks (#18542)
stacimc Jan 29, 2021
30cd47d
Update dependency sinon to v9.2.4 (#18266)
renovate[bot] Jan 29, 2021
96d7f47
Update dependency danger to v10.6.1 (#18621)
renovate[bot] Jan 30, 2021
f3e1029
Actions: Prepare to publish our push-to-mirrors action (#18575)
anomiex Jan 30, 2021
a9b8914
Editor nudges: use colors from Color Studio (#18498)
jeherve Feb 1, 2021
23cb194
Attempt to set the path relative to the workspace (#18631)
kraftbj Feb 1, 2021
a5f183d
Update to modern maildev (#18622)
kraftbj Feb 1, 2021
30b064b
Check the moderation option before sending comment notification (#18620)
kraftbj Feb 1, 2021
32424ba
Changes the customize_slug depending on simple / atomic. (#18611)
cpapazoglou Feb 1, 2021
58ca5fc
Build: Fix paths after #18575 (#18648)
anomiex Feb 1, 2021
7fde8a4
Push-to-mirrors: Fix action.yml (#18650)
anomiex Feb 1, 2021
d80adef
Recommendations: do not show for Atomic sites. (#18644)
jeherve Feb 1, 2021
3bbb5dc
Build action: Remove unused input (#18651)
anomiex Feb 1, 2021
ea33ccc
push-to-mirrors: Fix mirroring to an empty repo (#18652)
anomiex Feb 1, 2021
90f5073
Build: Use the CLI for build step to avoid duplicating logic (#18617)
kraftbj Feb 1, 2021
2004733
Beta/Debug Helper: Add .gitignore / composer.lock (#18625)
kraftbj Feb 1, 2021
f2cbdb0
Convert the Tiled Gallery module to vanilla JS. (#16653)
dero Feb 1, 2021
8fb6989
Jetpack: Bump to 9.5-alpha (#18657)
kraftbj Feb 1, 2021
549c88c
codesniffer: Update mediawiki-codesniffer dep to v35.0 (#18659)
anomiex Feb 1, 2021
ebae1e4
Default srcset image to fullsize (#18609)
aforcier Feb 2, 2021
2697fd3
Docker: Add wp-control as a default debugging plugin (#18656)
kraftbj Feb 2, 2021
0745e4e
Build: update node to version that matches Calypso (#17943)
jeherve Feb 2, 2021
622b3fc
Various staff updates (#18668)
kraftbj Feb 2, 2021
6ed108c
codesniffer: Hack around mediawiki-codesniffer bug (#18666)
anomiex Feb 2, 2021
04cf4c7
Use rest_request_before_callbacks as a filter. (#18653)
cpapazoglou Feb 2, 2021
5c5ead6
Docs: Add reference to build-development for monorepo docs (#18660)
kraftbj Feb 2, 2021
c3943b2
Update phpcs-changed (#18627)
kraftbj Feb 2, 2021
c066ff9
Fix JS errors for eu-widget in block widget editor (#18665)
samiff Feb 2, 2021
52b6799
Update eslint to use --git-base (#18678)
kraftbj Feb 2, 2021
7332d01
Improve overlay Escape key event handler (including fix for IE11) (#1…
bluefuton Feb 2, 2021
6b09325
Tests: Suppress errors for imagesize (#18686)
kraftbj Feb 2, 2021
2403b00
Beta Plugin: Prevent Updating Stable Version in Docker Instance (#18602)
sdixon194 Feb 3, 2021
074ba95
Autoloader: prevent transitive plugin execution (#18683)
ObliviousHarmony Feb 3, 2021
27ce430
Autoloader: stricter type-checking on WP functions (#18682)
ObliviousHarmony Feb 3, 2021
1df82dc
API: Add File Size to Media Endpoint (#18637)
Aurorum Feb 3, 2021
92e345b
E2E Tests: use JS to force connect variation (#18677)
brbrr Feb 3, 2021
6205a32
Remove Sync's usage of wp_startswith (#18692)
mdbitz Feb 3, 2021
d8e2b04
WPCOM API / Media: handle WordPress.com file operation differences (#…
jeherve Feb 3, 2021
804011e
Analyzer: Some PHPCS improvements (#18676)
kraftbj Feb 3, 2021
dca43f2
push-to-mirrors: Add .gitignore (#18696)
anomiex Feb 3, 2021
c283172
Update plugin modify endpoint to use should_update (#18697)
samiff Feb 3, 2021
084121d
require-reviews: Make it a project to publish (#18699)
anomiex Feb 3, 2021
6d379a2
Default block parameter to null for payments render function (#18687)
stacimc Feb 3, 2021
816174b
fixes issue with escaping HTML using printf in welcome message (#18614)
sdixon194 Feb 4, 2021
12e0b5b
Revert "Update plugin modify endpoint to use should_update (#18697)" …
samiff Feb 4, 2021
9a65c4b
Masterbar: Update link destination setting (#18548)
mmtr Feb 4, 2021
730ca19
Dialogue block: Add a save function for fallback content (#18598)
creativecoder Feb 4, 2021
677b884
CLI: Add install command (#18504)
kraftbj Feb 4, 2021
3558f85
CLI: Refactor unit tests (#18715)
kraftbj Feb 4, 2021
c4a2682
Markdown Lib: Convert from 0-load.php load method (#18693)
kraftbj Feb 5, 2021
1f2651c
Introduced Playwright
adimoldovan Nov 11, 2020
3fe821a
Functional connection tests
adimoldovan Nov 11, 2020
c8f864f
Updated waitForNavigation option and locators
adimoldovan Nov 11, 2020
597086d
- Added video capture
adimoldovan Nov 11, 2020
572922f
Changed config format from js to json
adimoldovan Nov 12, 2020
835bc04
- Removed obsolete methods waitAndType and waitAndClick
adimoldovan Nov 12, 2020
0cb8c9d
- Clean test output before running
adimoldovan Nov 12, 2020
bdd6702
- API changes: addCookie and waitForXpath
adimoldovan Nov 12, 2020
fdb9693
- Replaced Puppeteer occurrences in comments and documentation.
adimoldovan Nov 13, 2020
45931ad
Fixes for free-blocks and pro-blocks tests.
adimoldovan Nov 16, 2020
f2c0f8a
Added manual run option for e2e workflow
adimoldovan Nov 17, 2020
3826cc1
Use custom user agent
adimoldovan Nov 19, 2020
d4fdf8b
Removed workflow_dispatch for e2e workflow
adimoldovan Nov 19, 2020
b4a0fbd
[not verified] Updates following PR suggestions
adimoldovan Nov 23, 2020
b8066df
Changed networkidle with domcontentloaded
adimoldovan Nov 23, 2020
e3ac8bb
Updated user agent
adimoldovan Nov 24, 2020
a8a0d81
Updated user agent
adimoldovan Nov 24, 2020
f7a4365
Fixed log path
adimoldovan Nov 24, 2020
5443f0a
Fixed log path
adimoldovan Nov 24, 2020
c82d1f2
Dynamic user agent
adimoldovan Nov 24, 2020
fcbb01a
Renamed video files
adimoldovan Nov 24, 2020
64535b6
- Moved user agent logic into before all
adimoldovan Nov 24, 2020
bedf602
Fix open handles caused by video capture
adimoldovan Nov 24, 2020
5d961ef
Clean-up remains of old waitForSelector method
adimoldovan Nov 24, 2020
308a652
Add DEBUG = 'pw:api' under E2E_DEBUG variable
adimoldovan Nov 25, 2020
3f660bd
Merge remote-tracking branch 'origin/test/e2e-playwright-migration' i…
adimoldovan Feb 5, 2021
de803bb
Workflow and gitignore changes to match master
adimoldovan Feb 5, 2021
978db97
Fixed broken dependencies and eslint issues
adimoldovan Feb 5, 2021
16eadaa
Unknown saveVideo and eslint errors
adimoldovan Feb 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
50 changes: 31 additions & 19 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
*.min.js
/3rd-party/debug-bar/debug-bar.js
/_inc/blocks
/_inc/build
/_inc/client/**/test/*.js
/_inc/jetpack-modules.models.js
/_inc/postmessage.js
/docker/wordpress-develop/
/docker/wordpress/
/modules/custom-css/custom-css/js/core-customizer-css-preview.js
/modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js
/modules/custom-css/custom-css/js/core-customizer-css.js
/packages/lazy-images/src/js/IntersectionObserver-polyfill.js
/packages/lazy-images/vendor

/modules/widgets/search/js/search-widget-admin.js
### Root
tools/docker/wordpress-develop/
tools/docker/wordpress/

/vendor/

*.min.js

# Ignored by default, but we should check it
!.github/
.github/actions/required-review/dist/

### Jetpack
projects/plugins/jetpack/.size-limit.js
projects/plugins/jetpack/3rd-party/debug-bar/debug-bar.js
projects/plugins/jetpack/_inc/blocks
projects/plugins/jetpack/_inc/build
projects/plugins/jetpack/_inc/client/**/test/*.js
projects/plugins/jetpack/_inc/jetpack-modules.models.js
projects/plugins/jetpack/_inc/postmessage.js

projects/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css-preview.js
projects/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css.core-4.9.js
projects/plugins/jetpack/modules/custom-css/custom-css/js/core-customizer-css.js
projects/plugins/jetpack/modules/widgets/search/js/search-widget-admin.js

projects/plugins/jetpack/vendor/

# Temporary ignore until Jest is set up
/extensions/**/test/
projects/plugins/jetpack/extensions/**/test/

# Temporary ignore until Instant Search is moved into modules
/_inc/search
### Packages
projects/packages/lazy-images/src/js/IntersectionObserver-polyfill.js
projects/packages/*/vendor
projects/packages/*/wordpress
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
mocha: true,
node: true,
jquery: true,
jest: true,
},
parserOptions: {
ecmaVersion: 2019,
Expand Down
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Have git convert crlf to lf for all text files by default.
* text=auto

# Flag some file extensions as binary. Git should already DTRT, but just in case.
*.enc binary
*.eot binary
*.gif binary
*.jpg binary
*.png binary
*.ttf binary
*.woff binary
*.woff2 binary
*.zip binary

# We never want .gitkeep in production mirrors. The deploy-to-svn.sh script strips out
# the kept directories anyway, so there's no point to keeping them in the first place.
.gitkeep production-exclude
14 changes: 6 additions & 8 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
############################################

# Individual Modules:
/modules/contact-form/ @georgestephanis
/modules/custom-css/ @georgestephanis
/modules/search/ @Automattic/jetpack-search
/projects/plugins/jetpack/modules/search/ @Automattic/jetpack-search

# Other bits of the Codebase
/_inc/lib/debugger/ @kraftbj
/_inc/lib/jetpack-wpes-query-builder/ @gibrown
/projects/plugins/jetpack/_inc/lib/debugger/ @kraftbj
/projects/plugins/jetpack/_inc/lib/jetpack-wpes-query-builder/ @gibrown

# Functionality that is important to our partners
/class.jetpack-cli.php @automattic/jetpack-infinity
/bin/partner-provision.sh @automattic/jetpack-infinity
/bin/partner-cancel.sh @automattic/jetpack-infinity
/projects/plugins/jetpack/class.jetpack-cli.php @automattic/jetpack-infinity
/tools/partner-provision.sh @automattic/jetpack-infinity
/tools/partner-cancel.sh @automattic/jetpack-infinity
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: Bug report
about: Create a report to help us improve
about: Create a report for Jetpack to help us improve
labels: '[Type] Bug'
assignees: ''

---

Expand Down Expand Up @@ -28,5 +30,5 @@ PLEASE NOTE
- Everything is optional, but try to add as many details as possible.
- If requesting a new feature, explain why you'd like to see it added.
- This issue tracker is not for support. If you have questions about Jetpack, you can [start a new thread in the Jetpack support forums](https://wordpress.org/support/plugin/jetpack#new-post), or [send us an email](http://jetpack.com/contact-support/).
- Do not report potential security vulnerabilities here. For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via [the HackerOne portal](https://hackerone.com/automattic).
- Do not report potential security vulnerabilities here. For responsible disclosure of security issues and to be eligible for our bug bounty program, please review the [Security Policy guidelines](https://github.com/Automattic/jetpack/security/policy).
-->
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: Feature request
about: Suggest an idea for this project
labels: '[Type] Feature'
assignees: ''

---

Expand All @@ -15,3 +17,9 @@ about: Suggest an idea for this project

#### Additional context
<!-- Add any other context or screenshots about the feature request here. -->

<!--
PLEASE NOTE
- Everything is optional, but try to add as many details as possible.
- Do not report potential security vulnerabilities here. For responsible disclosure of security issues and to be eligible for our bug bounty program, please review the [Security Policy guidelines](https://github.com/Automattic/jetpack/security/policy).
-->
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/plugin_debug-helper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Plugin - Jetpack Debug Tools
about: Create an issue report focused on the Jetpack Debug Tools plugin
title: 'Debug Plugin: ADD_YOUR_TITLE_HERE'
labels: '[Plugin] Debug Helper, [Type] Bug'
assignees: ''

---

<!-- Thanks for contributing!
Pick a clear title (e.g. "Debug Plugin: Missing error constants") and proceed. -->

#### Steps to reproduce the issue

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

#### What I expected
<!-- A clear and concise description of what you expected to happen. -->

#### What happened instead


#### Screenshots
<!-- If applicable, add screenshots to help explain the issue. -->

<!--
PLEASE NOTE
- Everything is optional, but try to add as many details as possible.
- If requesting a new feature, explain why you'd like to see it added.
- This issue tracker is not for support. If you have questions about Jetpack, you can [start a new thread in the Jetpack support forums](https://wordpress.org/support/plugin/jetpack#new-post), or [send us an email](http://jetpack.com/contact-support/).
- Do not report potential security vulnerabilities here. For responsible disclosure of security issues and to be eligible for our bug bounty program, please review the [Security Policy guidelines](https://github.com/Automattic/jetpack/security/policy).
-->
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/plugin_jetpack-beta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Plugin - Jetpack Beta Tester
about: Create an issue report focused on the Jetpack Beta Tester plugin
title: 'Beta Plugin: ADD_YOUR_TITLE_HERE'
labels: '[Plugin] Beta Plugin, [Type] Bug'
assignees: ''

---

<!-- Thanks for contributing!
Pick a clear title (e.g. "Beta Plugin: Fatal error when switching to RC") and proceed. -->

#### Steps to reproduce the issue

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

#### What I expected
<!-- A clear and concise description of what you expected to happen. -->

#### What happened instead


#### Screenshots
<!-- If applicable, add screenshots to help explain the issue. -->

<!--
PLEASE NOTE
- Everything is optional, but try to add as many details as possible.
- If requesting a new feature, explain why you'd like to see it added.
- This issue tracker is not for support. If you have questions about Jetpack, you can [start a new thread in the Jetpack support forums](https://wordpress.org/support/plugin/jetpack#new-post), or [send us an email](http://jetpack.com/contact-support/).
- Do not report potential security vulnerabilities here. For responsible disclosure of security issues and to be eligible for our bug bounty program, please review the [Security Policy guidelines](https://github.com/Automattic/jetpack/security/policy).
-->
43 changes: 43 additions & 0 deletions .github/actions/deepen-to-merge-base/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: "Deepen to merge-base"
description: "Deepens a checkout to the merge-base with another branch."
inputs:
head:
description: "Branch (or other git refspec) to be checked out."
default: ${{ github.event.pull_request.head.sha }}
branch:
description: "Branch (or other git refspec) to deepen with respect to."
default: ${{ github.event.pull_request.base.sha }}
initial-depth:
description: "Initial depth to check out."
default: 10
outputs:
merge-base:
description: "The merge-base sha found."
value: ${{ steps.end.outputs.merge-base }}
runs:
using: composite
steps:
- name: "Deepen"
shell: bash
run: |
depth=${{ inputs.initial-depth }}
echo "::group::Initial fetch to $depth"
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=$depth origin ${{ inputs.head }} ${{ inputs.branch }}
echo "::endgroup::"
while ! /usr/bin/git merge-base ${{ inputs.head }} ${{ inputs.branch }} >/dev/null 2>&1; do
depth=$((depth * 2))
echo "::group::Deepen to $depth"
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=$depth origin ${{ inputs.head }} ${{ inputs.branch }}
echo "::endgroup::"
done
- name: "Check out new head"
shell: bash
run: /usr/bin/git checkout ${{ inputs.head }}
- name: "Output"
id: end
shell: bash
run: |
MERGE_BASE=$( /usr/bin/git merge-base HEAD ${{ inputs.branch }} )
echo "Merge base is $MERGE_BASE"
echo "::set-output name=merge-base::$MERGE_BASE"

25 changes: 25 additions & 0 deletions .github/actions/php-pipeline/process-coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

# Format backend coverage
./cc-test-reporter format-coverage --prefix /tmp/wordpress-latest/src/wp-content/plugins/jetpack -t clover -o coverage/codeclimate.backend.json coverage/backend/clover.xml
./cc-test-reporter format-coverage --prefix /tmp/wordpress-latest/src/wp-content/plugins/jetpack -t clover -o coverage/codeclimate.legacysync.json coverage/legacy-sync/clover.xml
./cc-test-reporter format-coverage --prefix /tmp/wordpress-latest/src/wp-content/plugins/jetpack -t clover -o coverage/codeclimate.multisite.json coverage/multisite/clover.xml

# Format frontend coverage
./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.adminpage.json coverage/adminpage/lcov.info
./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.extensions.json coverage/extensions/lcov.info

# Format packages coverage
export PACKAGES='./coverage/package-*/clover.xml'
for PACKAGE in $PACKAGES
do
NAME=$(basename -- $(dirname $PACKAGE))
./cc-test-reporter format-coverage --prefix /tmp/wordpress-latest/src/wp-content/plugins/jetpack -t clover -o coverage/codeclimate.$NAME.json $PACKAGE
done

# Sum all coverage parts into a single coverage/codeclimate.json
echo ./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p $(ls -1q coverage/codeclimate.*.json | wc -l)
./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p $(ls -1q coverage/codeclimate.*.json | wc -l)

# Upload coverage/codeclimate.json
./cc-test-reporter upload-coverage;
69 changes: 69 additions & 0 deletions .github/actions/php-pipeline/setup-env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/bin/bash

set -eo pipefail

# Add global composer into PATH
COMPOSER_BIN_DIR=$(composer global config --absolute bin-dir)
export PATH="$COMPOSER_BIN_DIR:$PATH"

# Update path for subsequent Github Action steps
if [[ -n "$GITHUB_PATH" ]]; then
echo "$COMPOSER_BIN_DIR" >> $GITHUB_PATH
fi

# Don't symlink, it breaks when copied later.
export COMPOSER_MIRROR_PATH_REPOS=true

# Configure PHP and PHPUnit environment
cd projects/plugins/jetpack
composer install
if [[ ${PHP_VERSION:0:2} == "8." ]]; then
composer global require "phpunit/phpunit=7.5.*" --ignore-platform-reqs
else
composer global require "phpunit/phpunit=5.7.* || 6.5.* || 7.5.*"
fi
cd -

# Setup MySQL
cat <<EOF > ~/.my.cnf
[client]
host=127.0.0.1
port=3306
user=root
password=root
EOF
chmod 0600 ~/.my.cnf
mysql -e "set global wait_timeout = 3600;"
mysql -e "CREATE DATABASE wordpress_tests;"

echo "Preparing WordPress from \"$WP_BRANCH\" branch...";
case $WP_BRANCH in
master)
git clone --depth=1 --branch master git://develop.git.wordpress.org/ /tmp/wordpress-master
;;
latest)
git clone --depth=1 --branch $(php ./tools/get-wp-version.php) git://develop.git.wordpress.org/ /tmp/wordpress-latest
;;
previous)
git clone --depth=1 --branch 5.5 git://develop.git.wordpress.org/ /tmp/wordpress-previous
;;
esac

clone_exit_code=$?
if [ $clone_exit_code -ne 0 ]; then
echo "Failed to clone WordPress from develop.git.wordpress.org"
exit 1
fi

cp -r projects/plugins/jetpack "/tmp/wordpress-$WP_BRANCH/src/wp-content/plugins/jetpack"
# Plugin dir for tests in WP >= 5.6-beta1
ln -s "/tmp/wordpress-$WP_BRANCH/src/wp-content/plugins/jetpack" "/tmp/wordpress-$WP_BRANCH/tests/phpunit/data/plugins/jetpack"
cd /tmp/wordpress-$WP_BRANCH

cp wp-tests-config-sample.php wp-tests-config.php
sed -i "s/youremptytestdbnamehere/wordpress_tests/" wp-tests-config.php
sed -i "s/yourusernamehere/root/" wp-tests-config.php
sed -i "s/yourpasswordhere/root/" wp-tests-config.php
sed -i "s/localhost/127.0.0.1/" wp-tests-config.php

exit 0;
2 changes: 1 addition & 1 deletion .github/actions/repo-gardening/src/debug.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Prints a debug message to STDOUT in non-testing environments.
*
* @param {string} message The message to print.
* @param {string} message - The message to print.
*/
function debug( message ) {
if ( process.env.NODE_ENV !== 'test' ) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/* global WebhookPayloadPushCommit */

/**
* Given a commit object, returns a promise resolving with the pull request
* number associated with the commit, or null if an associated pull request
* cannot be determined.
*
* @param {WebhookPayloadPushCommit} commit Commit object.
* @param {WebhookPayloadPushCommit} commit - Commit object.
*
* @return {number?} Pull request number, or null if it cannot be
* determined.
* @returns {number?} Pull request number, or null if it cannot be determined.
*/
function getAssociatedPullRequest( commit ) {
const match = commit.message.match( /\(#(\d+)\)$/m );
Expand Down
6 changes: 4 additions & 2 deletions .github/actions/repo-gardening/src/if-not-fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
*/
const debug = require( './debug' );

/* global WPAutomationTask */

/**
* Higher-order function which executes and returns the result of the given
* handler only if the enhanced function is called with a payload indicating a
* pull request event which did not originate from a forked repository.
*
* @param {WPAutomationTask} handler Original task.
* @param {WPAutomationTask} handler - Original task.
*
* @return {WPAutomationTask} Enhanced task.
* @returns {WPAutomationTask} Enhanced task.
*/
function ifNotFork( handler ) {
const newHandler = ( payload, octokit ) => {
Expand Down
Loading