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

chore: develop (including cy.origin) merge into 10.0 #21237

Merged
merged 266 commits into from May 9, 2022
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
66d947d
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding Jul 13, 2021
700636a
chore: Wrap native methods in secondary domain (#17303)
chrisbreiding Jul 14, 2021
b36fdff
Merge branch 'develop' into feature-multidomain
chrisbreiding Jul 16, 2021
51dea49
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding Jul 16, 2021
4288ce6
Merge branch 'develop' into feature-multidomain
chrisbreiding Jul 20, 2021
53cd6d1
chore: Add event listeners in secondary domain (#17391)
chrisbreiding Jul 20, 2021
548db6e
Merge branch 'develop' into feature-multidomain
chrisbreiding Aug 9, 2021
31e6d3f
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding Aug 9, 2021
617f321
Merge branch 'develop' into feature-multidomain
chrisbreiding Aug 20, 2021
a3930c2
Merge branch 'develop' into feature-multidomain
chrisbreiding Aug 31, 2021
4323215
Merge branch 'develop' into feature-multidomain
chrisbreiding Sep 8, 2021
f5d326a
Merge branch 'develop' into feature-multidomain
chrisbreiding Sep 8, 2021
3ad6c36
fix issues
chrisbreiding Sep 8, 2021
fef49f4
convert requires to imports
chrisbreiding Sep 9, 2021
16ad6b4
chore: Run command queue in secondary domain and sync up command stat…
chrisbreiding Sep 10, 2021
4e140a2
Merge branch 'develop' into feature-multidomain
chrisbreiding Sep 13, 2021
92932c5
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding Sep 13, 2021
cc66129
Merge branch 'develop' into feature-multidomain
chrisbreiding Sep 16, 2021
416aabe
chore: Fix rerunning multidomain tests (#18090)
chrisbreiding Sep 21, 2021
2aea225
Merge branch 'develop' into feature-multidomain
chrisbreiding Sep 21, 2021
fb5ff06
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding Sep 21, 2021
9503b40
Merge branch 'develop' into feature-multidomain
chrisbreiding Sep 29, 2021
8f11635
Merge branch 'develop' into feature-multidomain
chrisbreiding Oct 5, 2021
516100b
Merge branch 'develop' into feature-multidomain
chrisbreiding Oct 19, 2021
c6d2918
Merge branch 'develop' into feature-multidomain
chrisbreiding Nov 1, 2021
2c28961
Merge branch 'develop' into feature-multidomain
chrisbreiding Nov 2, 2021
8ac1ff0
Merge branch 'develop' into feature-multidomain
chrisbreiding Dec 7, 2021
0eeb442
fix errors
chrisbreiding Dec 7, 2021
10264e6
fix issues created by merge
chrisbreiding Dec 9, 2021
b5a135d
Merge branch 'develop' into feature-multidomain
chrisbreiding Dec 9, 2021
37b881e
fix issues caused by merge
chrisbreiding Dec 9, 2021
cd77e08
use registerFetch
chrisbreiding Dec 9, 2021
dacf0a5
fix reference error
chrisbreiding Dec 9, 2021
f716178
chore: Remove need for anticipateMultidomain (#18360)
chrisbreiding Dec 9, 2021
f2c6069
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 3, 2022
ee6e105
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 5, 2022
a42e601
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 6, 2022
a408b36
Merge remote-tracking branch 'origin/develop' into feature-multidomain
chrisbreiding Jan 6, 2022
2ee9893
chore: Remove hardcoded domain for multi-domain (#19323)
chrisbreiding Jan 12, 2022
8e0770f
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 13, 2022
cc08d12
fix issues after merge
chrisbreiding Jan 13, 2022
2e5fbad
fix types issue
chrisbreiding Jan 13, 2022
d8fa85d
chore: Fix a couple multi-domain bugs (#19698)
chrisbreiding Jan 14, 2022
0601570
fix: secondary domain command state (#19661)
AtofStryker Jan 18, 2022
0b39332
chore: Add specs for all cy commands in multi-domain (#19734)
mschile Jan 18, 2022
d3601f6
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 19, 2022
7ef104e
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 19, 2022
c84ace4
chore: adding test for selectFile() in multi-domain (#19786)
mschile Jan 21, 2022
1faed02
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 21, 2022
89a497f
chore: update switchToDomain 'data' argument to be an array (#19774)
mschile Jan 21, 2022
3295adf
feat: [multi domain] enable window:before:load event (#19828)
mjhenkes Jan 24, 2022
2475b5a
chore(multi-domain): add clock support in multi-domain (#19861)
mschile Jan 25, 2022
1d69100
Merge branch 'develop' into feature-multidomain
chrisbreiding Jan 25, 2022
fdb0c96
chore: Rename and separate multi-domain files (#19825)
chrisbreiding Jan 25, 2022
b50fe56
chore(multi-domain): adding websocket support for backend and automat…
mschile Jan 26, 2022
bab8496
feat: multi domain handle command failures (#19805)
AtofStryker Jan 27, 2022
fe03453
feat: implement uncaught:exception and error in spec bridge (#19922)
AtofStryker Jan 27, 2022
4070270
feat: (multi-domain) handle uncaught errors in the spec bridge (#19976)
mschile Feb 2, 2022
c58a0ee
feat: [Multi-domain]: Yield subject from `switchToDomain` (#19936)
mjhenkes Feb 3, 2022
dc9b694
fix spec, app, and done error serialization in firefox (#20080)
AtofStryker Feb 8, 2022
c198372
Merge branch 'develop' into feature-multidomain
chrisbreiding Feb 8, 2022
92bf23c
feat: (multi-domain) add initial support for cy.screenshot (#20119)
mschile Feb 10, 2022
0639d14
feat: (multi-domain) add support for screenshot blackout (#20150)
mschile Feb 14, 2022
191dc92
feat: [Multi-Domain] Ensure runner shows correct url (#20096)
mjhenkes Feb 14, 2022
8d54632
Merge branch 'develop' into feature-multidomain
chrisbreiding Feb 14, 2022
89ea47d
Merge branch 'feature-multidomain' of github.com:cypress-io/cypress i…
chrisbreiding Feb 14, 2022
b6e1c30
Fix misc test (#20201)
mjhenkes Feb 15, 2022
5f905ee
feat: (multi-domain) add support for pausing timers during screenshot…
mschile Feb 17, 2022
5269f4f
feat: (multi-domain) restore stubs and spies in multi-domain (#20229)
mschile Feb 17, 2022
288f6bd
feat: sync config and env (#20102)
AtofStryker Feb 22, 2022
5b4feaa
feat: support cypress api (#20022)
AtofStryker Feb 22, 2022
0e942ed
chore: Refactor multi-domain communication lifecycle (#20247)
chrisbreiding Feb 23, 2022
fc7149e
Merge branch 'develop' into feature-multidomain
chrisbreiding Feb 23, 2022
b6243f5
chore: [Multi-domain] Validate domain name (#20321)
mjhenkes Feb 23, 2022
c8c2046
chore: [Multi-domain] Clean up basic login spec to look like what we …
mjhenkes Feb 23, 2022
a0c6f00
chore: [Multi-domain]: Support multiple multi-domain commands in a si…
mjhenkes Feb 24, 2022
4c36cf9
feat: (multi-domain) add viewport support (#20266)
mschile Feb 25, 2022
ae65ae6
fix: ensure multi domain passivity (#20442)
AtofStryker Mar 4, 2022
1eb5ab7
chore: [Multi-Domain] enable commands in switchToDomain to use the de…
mjhenkes Mar 7, 2022
74dea89
feat: (multi-domain) adding support for cy.visit in multi-domain (#20…
mschile Mar 8, 2022
ca1857f
test: fix system-tests-firefox downloads flake (#20547)
ryanthemanuel Mar 10, 2022
ca510ce
chore: (multi-domain) support origin and domain name in switchToDomai…
mschile Mar 14, 2022
cd7f99d
chore: (multi-domain) url:changed fix, revert about:blank, use Cypres…
mschile Mar 14, 2022
892d8d9
chore: (multi-domain) add support for visiting relative urls in secon…
mschile Mar 14, 2022
d1c3e4e
fix: standardize error and object serialization (#20520)
AtofStryker Mar 14, 2022
46c0c75
Fix build (#20627)
mjhenkes Mar 15, 2022
7f3a649
chore: [Multi-domain] Enable tests, stability and fail appropriately …
mjhenkes Mar 15, 2022
bc30c68
Merge branch 'develop' into feature-multidomain
chrisbreiding Mar 16, 2022
326fc19
fix type issues
chrisbreiding Mar 16, 2022
9cc3108
Merge branch 'develop' into feature-multidomain
chrisbreiding Mar 16, 2022
0e8c511
fix more types
chrisbreiding Mar 16, 2022
193a01a
fix: prevent serialization issues with retries using multi-domain (#2…
AtofStryker Mar 16, 2022
35501bc
chore: [Multi-domain] Handle stability with delayed navigation (#20642)
mjhenkes Mar 16, 2022
ebb054e
chore: [Multi-domain] Clean up stability code. (#20656)
mjhenkes Mar 18, 2022
432b3d5
fix: make the primary domain communicator a singleton per cypress ins…
AtofStryker Mar 18, 2022
f0a90e1
fix: handle backslash in `should('contain')`.
sainthkh Mar 21, 2022
e4f78a0
move escape functions to its own file.
sainthkh Mar 21, 2022
44161a9
fix cy.contains.
sainthkh Mar 21, 2022
86ade70
fix failure.
sainthkh Mar 21, 2022
9827b26
chore: [Multi-domain] Improve timeout error message. (#20671)
mjhenkes Mar 21, 2022
f638ba7
fix: [Multi-domain] Fix countLogsByTest (#20719)
mjhenkes Mar 21, 2022
89c0091
fix: firefox 93 error issues (#20695)
AtofStryker Mar 22, 2022
22b35be
fix(multi-domain): Handle SameSite cookies (#20450)
chrisbreiding Mar 22, 2022
a64cdb8
chore(multi-domain): Throw errors for unsupported commands (#20729)
chrisbreiding Mar 22, 2022
c7aa180
fix: [Multi-domain] Preserve switchToDomain command logs between top …
mjhenkes Mar 23, 2022
90d1eb7
chore: Update switchToDomain signature with `args` key (#20722)
AtofStryker Mar 24, 2022
ad176be
chore: Verify cy.request() works in multi-domain callback (#20747)
chrisbreiding Mar 24, 2022
3c19edb
chore: [multi-domain] enable binary builds and more tests for the mul…
mjhenkes Mar 24, 2022
8f7cc74
Merge branch 'develop' into feature-multidomain
mjhenkes Mar 24, 2022
14215e3
chore: [multi-domain] clean up listeners when promise is canceled (#2…
mjhenkes Mar 28, 2022
453d1ca
Merge branch 'develop' into feature-multidomain
mjhenkes Mar 28, 2022
fedb65c
chore: (multi-domain) support multiple remote states (#20752)
mschile Mar 28, 2022
04eabf0
Merge branch 'develop' into feature-multidomain
mjhenkes Mar 29, 2022
3b4b0ef
chore: [multi-domain] clean up the sync:globals event in the event of…
mjhenkes Mar 29, 2022
4c1c18d
fix: (multi-domain) fix injection issue (#20816)
mschile Mar 30, 2022
b77f675
chore: (multi-domain) update visit cross-origin error message (#20831)
mschile Mar 30, 2022
9098744
chore: [Multi-domain] add retry error message for cross domain comman…
mjhenkes Mar 30, 2022
1fa78f5
Merge branch 'develop' into feature-multidomain
mjhenkes Mar 30, 2022
8c9bd2a
Merge branch 'develop' into feature-multidomain
mjhenkes Mar 31, 2022
b3e66e7
chore: [Multi-domain]: Support spec bridges with same domain (#20829)
mjhenkes Mar 31, 2022
8bba681
fix: (multi-domain) electron crash (#20867)
mschile Apr 1, 2022
0c78630
chore: [Multi-domain] Renaming variable and functions to reduce confu…
mjhenkes Apr 4, 2022
15a60c1
chore: [Multi-domain] Renaming variable and functions to reduce confu…
mjhenkes Apr 4, 2022
f45be5e
chore: [Multi-domain] Resolve flaky test (#20917)
mjhenkes Apr 5, 2022
81e9283
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 5, 2022
0772f85
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 6, 2022
17e6bf4
chore: [Multi-domain] Rename switchToDomain to origin (#20927)
mjhenkes Apr 6, 2022
213607f
chore: [Multi-domain] Provide a warning when switchToDomain fails to …
mjhenkes Apr 6, 2022
b65db7b
chore: [Multi-domain] Rename domain events (#20945)
mjhenkes Apr 6, 2022
dcbc68b
chore: (multi-domain) updating experimental flag to experimentalLogin…
mschile Apr 6, 2022
25af921
chore: [Multi-domain] Rename isMultiDomain for the driver and the ser…
mjhenkes Apr 7, 2022
c686922
chore: [Multi-domain] Rename the last of the domain/multi-domain to o…
mjhenkes Apr 7, 2022
8a78b5c
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 7, 2022
782d89f
chore: (multi-domain) update to support path and hash (#20953)
mschile Apr 7, 2022
63c3247
chore: [Multi-domain] Fix uncaught error (#20971)
mjhenkes Apr 8, 2022
a7caf8a
chore: [Multi-domain] Update error messages based on feedback. (#20996)
mjhenkes Apr 8, 2022
f6975f8
chore: audit cross-origin related TODOs/FIXMEs (#20975)
chrisbreiding Apr 8, 2022
a928781
chore: (multi-domain) update cross-origin error (#20999)
mschile Apr 8, 2022
fdfa933
chore: Unskip test that now passes (#20922)
chrisbreiding Apr 8, 2022
8959845
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 11, 2022
836edbf
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 11, 2022
65d75dd
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 11, 2022
f451d05
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 12, 2022
d98d0e1
chore: (multi-domain) add experimentalLoginFlows to the settings page…
mschile Apr 12, 2022
663e5d5
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 12, 2022
dd3557f
chore: [Multi-domain] Reset timeout after transition from `before` to…
mjhenkes Apr 13, 2022
27e1afb
chore: (multi-domain) renaming flag to experimentalSessionAndOrigin (…
mschile Apr 13, 2022
c560caf
feat(multi-origin): Group cy.origin commands (#21046)
chrisbreiding Apr 13, 2022
e4dcb12
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 13, 2022
890bde6
fix(multi-origin): Fix some issues with errors (#21071)
chrisbreiding Apr 15, 2022
f02d750
chore: [Multi-origin] Correctly find the spec bridge if chromeWebSecu…
mjhenkes Apr 18, 2022
afca88e
chore: remove unused dependencies (#21092)
flotwig Apr 19, 2022
86f5b49
chore(sessions): break out session utils and write some unit tests (#…
emilyrohrbough Apr 19, 2022
68173be
chore: bump minimist from 1.2.5 to 1.2.6 (#21134)
dependabot[bot] Apr 20, 2022
d7ce865
chore: (cross-origin) add support for redirecting back to primary (#2…
mschile Apr 21, 2022
81f8a85
Fix typo.
sainthkh Apr 21, 2022
55e7f8a
chore: Update Chrome (beta) to 101.0.4951.41 (#21161)
github-actions[bot] Apr 21, 2022
e3161a0
chore: [Multi-domain] Break out separate CI tasks to test the driver …
mjhenkes Apr 21, 2022
f819be3
Merge branch 'develop' into feature-multidomain
mschile Apr 21, 2022
342bc06
fix: prevObject types (#21106)
atarek12 Apr 21, 2022
f164404
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 21, 2022
885541e
improve error messages for unsupported APIs/commands
AtofStryker Apr 22, 2022
0bb655e
chore: remove command type todos (#20601)
sainthkh Apr 22, 2022
a1101e6
feat: support snapshots and console props within multi-domain (#20949)
AtofStryker Apr 22, 2022
ebaaf18
Merge branch 'develop' into feature-multidomain
mjhenkes Apr 22, 2022
3e6d6bf
chore: Updates based on PR feedback (#21137)
chrisbreiding Apr 22, 2022
d866746
Update packages/runner-shared/src/event-manager.js
mjhenkes Apr 22, 2022
b8ae51e
Remove reference to migration guide
mjhenkes Apr 23, 2022
f473d29
removing migration guide reference
mschile Apr 23, 2022
676fc97
Merge pull request #18075 from cypress-io/feature-multidomain
mjhenkes Apr 25, 2022
2d866f3
release 9.6.0 [skip ci]
ryanthemanuel Apr 25, 2022
2338635
chore: remove feature-multidomain branch from circle.yml
mjhenkes Apr 25, 2022
3d7ab6a
Merge pull request #21192 from cypress-io/chore-remove-feature-multi-…
mjhenkes Apr 25, 2022
4972872
chore: Updating system test node modules cache logic to support binar…
tbiethman Apr 26, 2022
30a9a27
Merge pull request #20704 from sainthkh/issue-19116
Apr 26, 2022
363c1a8
chore: replace git.io link with the original URL (#21206)
liby Apr 26, 2022
2709b69
chore: cache Percy's Chromium browser at yarn install (#21218)
flotwig Apr 27, 2022
fbaaeb7
chore(deps): update dependency @percy/cypress to ^3.1.1 🌟 (#21217)
renovate[bot] Apr 27, 2022
f9ad6a8
chore(deps): update dependency @percy/cli to v1.1.0 🌟 (#21219)
renovate[bot] Apr 27, 2022
6b3e79d
chore: Update Chrome (stable) to 101.0.4951.41 (#21222)
github-actions[bot] Apr 27, 2022
7fa946d
chore: update the release guide to ensure all changes have prs and tw…
ryanthemanuel Apr 28, 2022
b625994
chore: clean up root-level scripts (#21215)
flotwig Apr 28, 2022
bc01e44
chore: rename multi-domain to origin paradigm (#21231)
AtofStryker Apr 28, 2022
51b4bdc
fix: do not override existingSession setup (#21226)
samtsai Apr 28, 2022
fe3e2af
chore: add env var checking to verify-mocha-results (#21211)
flotwig Apr 29, 2022
233cb47
chore: Update Chrome (beta) to 102.0.5005.27 (#21258)
github-actions[bot] Apr 29, 2022
a47b45f
chore: Add technical overview doc for cross-origin testing (#21241)
chrisbreiding Apr 29, 2022
bbd9e7f
Merge branch 'develop' into md-10.0-merge
AtofStryker Apr 27, 2022
7e79860
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker Apr 29, 2022
0a0d709
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker Apr 29, 2022
a31e19a
fix circle config to remove old workflow filters from develop merge
AtofStryker Apr 29, 2022
373ed05
Merge branch 'develop' into md-10.0-merge
AtofStryker May 2, 2022
7a76de1
chore: fix circle-env for contributor PRs (#21292)
flotwig May 2, 2022
217f4c5
Merge branch 'develop' of github.com:cypress-io/cypress into md-10.0-…
AtofStryker May 2, 2022
252566c
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 2, 2022
328a826
fix driver tests to glob correct specs in e2e directory over integrat…
AtofStryker May 2, 2022
bd7d228
fix typings errors introduced by the multi-domain merge
AtofStryker May 2, 2022
d782cfc
remove trailing white spaces in cypress.d.ts cli types
AtofStryker May 2, 2022
f6e8bc5
remove test-mocha-snapshot-job
AtofStryker May 2, 2022
e8b6e8c
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 2, 2022
4f9dc00
ignore new url constructor ts compiler issues as it ships natively with
AtofStryker May 2, 2022
a68fb4b
fix navigation.cy.js to account for cypress.config.ts in cross origin…
AtofStryker May 3, 2022
3aa74f4
fix chrome CRI client tests by referencing this.pageCriCLient over th…
AtofStryker May 3, 2022
fd3c9ba
update from snakecase verify mocha results to kebab case
AtofStryker May 3, 2022
038c225
update web_security e2e spec test with test skipped with a TODO to fix
AtofStryker May 3, 2022
1950b93
fix session e2e snapshot
AtofStryker May 3, 2022
0d48543
update app settings tests to use experimentalSessionAndOrigin over ex…
AtofStryker May 3, 2022
37830ad
update system test flags for cy-in-cy tests to use experimentalSessio…
AtofStryker May 3, 2022
673a238
update npm vite-dev-server config and frontend-shared cypress fixture…
AtofStryker May 3, 2022
b8c6ad7
remove config/lib from config package (not applicable in 10.0) and mo…
AtofStryker May 3, 2022
53653bd
try to make the web security snapshot happy
AtofStryker May 3, 2022
5f8070c
fix unit test invocation to remove typo
AtofStryker May 3, 2022
3fb0847
fix cypress binary root (not sure how this one happened...)
AtofStryker May 3, 2022
899290d
update index snapshot for @packages/config
AtofStryker May 3, 2022
577edc6
opt for getPRimary over current in getConfig() in the project base so…
AtofStryker May 3, 2022
c8331fc
set remote to primary domain when app is reserved in e2e testing mode
AtofStryker May 4, 2022
32809eb
fixing socket connection
mschile May 4, 2022
d61026f
reset remoteStates on the server when the refreshLifecycle event is r…
AtofStryker May 4, 2022
b5b281d
Merge branch 'md-10.0-merge' of github.com:cypress-io/cypress into md…
AtofStryker May 4, 2022
2ffae65
attempt to increase shouldWithTimeout for consoleProp tests to reduce…
AtofStryker May 4, 2022
2830c9e
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 4, 2022
399ee7b
add mount command to expected commands in origin, even though the com…
AtofStryker May 4, 2022
61bd6c8
Re-enable page events when connecting to a new spec via an existing
AtofStryker May 5, 2022
5a071bb
fix assertion to update never calls cy.origin test to reference cypre…
AtofStryker May 5, 2022
a0ddcf8
update cross origin navigation assertions to account for cypress.conf…
AtofStryker May 5, 2022
65eea21
improve e2e origin cypress.config.ts error specificity on path
AtofStryker May 5, 2022
de1a3bd
update spec bridge system test now that chrome/web socket issues are …
AtofStryker May 5, 2022
aed753a
increasing the cross:origin:release:html to 1000 to fix "final auth r…
mschile May 5, 2022
f0259ee
allow for a single pixel variance when checking options.animationDist…
AtofStryker May 5, 2022
3f8cd51
Merge branch 'md-10.0-merge' of github.com:cypress-io/cypress into md…
AtofStryker May 5, 2022
bd7e43e
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 5, 2022
0f1e06f
bake in additional veriance for top, left, x, y in test for some vers…
AtofStryker May 5, 2022
b0f3f11
remove links in locales for cy origin and cy session ad the text is n…
AtofStryker May 5, 2022
b57e2a8
fix: cleanup check-ts type failures post merge
tgriesser May 5, 2022
df226a5
update config package tests to reflect appropriate path
AtofStryker May 5, 2022
1d76152
Merge branch '10.0-release' into md-10.0-merge
AtofStryker May 5, 2022
4a2bee3
Merge branch 'md-10.0-merge' of github.com:cypress-io/cypress into md…
AtofStryker May 5, 2022
04dc2e3
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 6, 2022
4fe7b3f
remove learn run build-prod design-system (bad merge from previous co…
AtofStryker May 6, 2022
b66d35a
rename 17805_spec.js to 17805.cy.js
AtofStryker May 6, 2022
a374f3c
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 6, 2022
d9aa8ee
update yarn.lock file
AtofStryker May 6, 2022
3715d3e
get reference to btn inside the trigger for cy.ensureElementIsNotAnim…
AtofStryker May 9, 2022
56ee2a5
Merge branch '10.0-release' of github.com:cypress-io/cypress into md-…
AtofStryker May 9, 2022
2595c44
Merge branch '10.0-release' into md-10.0-merge
AtofStryker May 9, 2022
0fd58d6
Merge branch '10.0-release' into md-10.0-merge
AtofStryker May 9, 2022
bd428a5
increase shouldWithTimeout to 3 seconds until #21375 is addressed
AtofStryker May 9, 2022
295cd02
Merge branch 'md-10.0-merge' of github.com:cypress-io/cypress into md…
AtofStryker May 9, 2022
cd8ad4c
fix: ensure that proxy logs are updated after the xhr has actually co…
ryanthemanuel May 9, 2022
1618a99
Merge branch '10.0-release' into md-10.0-merge
AtofStryker May 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 2 additions & 15 deletions .vscode/launch.json
Expand Up @@ -5,21 +5,8 @@
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"processId": "${command:PickProcess}"
},
{
"type": "node",
"request": "launch",
"name": "test: active",
"runtimeExecutable": "yarn",
"runtimeArgs": [
"test-debug-package"
],
"args": [
"${file}"
],
"port": 5566,
"console": "integratedTerminal"
"processId": "${command:PickProcess}",
"continueOnAttach": true
},
{
"type": "node",
Expand Down
39 changes: 0 additions & 39 deletions .vscode/tasks.json

This file was deleted.

28 changes: 0 additions & 28 deletions __snapshots__/mocha-snapshot-spec.js

This file was deleted.

4 changes: 2 additions & 2 deletions browser-versions.json
@@ -1,4 +1,4 @@
{
"chrome:beta": "101.0.4951.34",
"chrome:stable": "100.0.4896.127"
"chrome:beta": "102.0.5005.27",
"chrome:stable": "101.0.4951.41"
}
102 changes: 86 additions & 16 deletions circle.yml
Expand Up @@ -224,7 +224,6 @@ commands:
name: Restore system tests node_modules cache
keys:
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-

update_cached_system_tests_deps:
description: 'Update the cached node_modules for projects in "system-tests/projects/**"'
Expand All @@ -238,10 +237,10 @@ commands:
- restore_cache:
name: Restore cache state, to check for known modules cache existence
keys:
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-state-{{ checksum "system_tests_cache_key" }}
- v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
- run:
name: Send root honeycomb event for this CI build
command: cd system-tests/scripts && node ./send-root-honecomb-event.js
command: cd system-tests/scripts && node ./send-root-honeycomb-event.js
- run:
name: Bail if specific cache exists
command: |
Expand All @@ -261,11 +260,11 @@ commands:
name: Save system tests node_modules cache
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
paths:
- ~/.cache/cy-system-tests-node-modules
- /tmp/cy-system-tests-node-modules
- run: touch /tmp/system_tests_node_modules_installed
- save_cache:
name: Save system tests node_modules cache state key
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-system-tests-projects-node-modules-cache-state-{{ checksum "system_tests_cache_key" }}
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-system-tests-projects-node-modules-cache-{{ checksum "system_tests_cache_key" }}
paths:
- /tmp/system_tests_node_modules_installed

Expand All @@ -285,7 +284,7 @@ commands:
command: echo $PLATFORM > platform_key
- restore_cache:
name: Restore cache state, to check for known modules cache existence
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-state-{{ checksum "circle_cache_key" }}
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
- run:
name: Bail if cache exists
command: |
Expand Down Expand Up @@ -330,7 +329,7 @@ commands:
- run: touch node_modules_installed
- save_cache:
name: Saving node-modules cache state key
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-node-modules-cache-state-{{ checksum "circle_cache_key" }}
key: v{{ .Environment.CACHE_VERSION }}-{{ checksum "platform_key" }}-state-of-node-modules-cache-{{ checksum "circle_cache_key" }}
paths:
- node_modules_installed
- save_cache:
Expand Down Expand Up @@ -429,6 +428,10 @@ commands:
description: chrome channel to install
type: string
default: ''
experimentalSessionAndOrigin:
description: experimental flag to apply
type: boolean
default: false
steps:
- restore_cached_workspace
- when:
Expand All @@ -446,8 +449,13 @@ commands:

if [[ -v MAIN_RECORD_KEY ]]; then
# internal PR
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
yarn cypress:run --record --parallel --group 5x-driver-<<parameters.browser>> --browser <<parameters.browser>>
if <<parameters.experimentalSessionAndOrigin>>; then
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
yarn cypress:run-experimentalSessionAndOrigin --record --parallel --group 5x-driver-<<parameters.browser>>-experimentalSessionAndOrigin --browser <<parameters.browser>>
else
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
yarn cypress:run --record --parallel --group 5x-driver-<<parameters.browser>> --browser <<parameters.browser>>
fi
else
# external PR
TESTFILES=$(circleci tests glob "cypress/e2e/**/*.cy.*" | circleci tests split --total=$CIRCLE_NODE_TOTAL)
Expand All @@ -456,7 +464,11 @@ commands:
if [[ -z "$TESTFILES" ]]; then
echo "Empty list of test files"
fi
yarn cypress:run --browser <<parameters.browser>> --spec $TESTFILES
if <<parameters.experimentalSessionAndOrigin>>; then
yarn cypress:run-experimentalSessionAndOrigin --browser <<parameters.browser>> --spec $TESTFILES
else
yarn cypress:run --browser <<parameters.browser>> --spec $TESTFILES
fi
fi
working_directory: packages/driver
- verify-mocha-results
Expand Down Expand Up @@ -1054,6 +1066,9 @@ jobs:
- run:
name: Top level packages
command: yarn list --depth=0 || true
- run:
name: Check env canaries
command: node ./scripts/circle-env.js --check-canaries
- build-and-persist
- store-npm-logs

Expand Down Expand Up @@ -1156,24 +1171,18 @@ jobs:
parallelism: 1
steps:
- restore_cached_workspace
# make sure mocha runs
- run: yarn test-mocha
- when:
condition:
# several snapshots fails for windows due to paths.
# until these are fixed, run the tests that are working.
equal: [ *windows-executor, << parameters.executor >> ]
steps:
- run: yarn test-scripts scripts/**/*spec.js
# make sure our snapshots are compared correctly
- run: yarn test-mocha-snapshot
- unless:
condition:
equal: [ *windows-executor, << parameters.executor >> ]
steps:
- run: yarn test-scripts
# make sure our snapshots are compared correctly
- run: yarn test-mocha-snapshot
# make sure packages with TypeScript can be transpiled to JS
- run: yarn lerna run build-prod --stream
# run unit tests from each individual package
Expand Down Expand Up @@ -1425,6 +1434,44 @@ jobs:
- run-driver-integration-tests:
browser: electron

driver-integration-tests-chrome-experimentalSessionAndOrigin:
<<: *defaults
resource_class: medium
parallelism: 5
steps:
- run-driver-integration-tests:
browser: chrome
install-chrome-channel: stable
experimentalSessionAndOrigin: true

driver-integration-tests-chrome-beta-experimentalSessionAndOrigin:
<<: *defaults
resource_class: medium
parallelism: 5
steps:
- run-driver-integration-tests:
browser: chrome:beta
install-chrome-channel: beta
experimentalSessionAndOrigin: true

driver-integration-tests-firefox-experimentalSessionAndOrigin:
<<: *defaults
resource_class: medium
parallelism: 5
steps:
- run-driver-integration-tests:
browser: firefox
experimentalSessionAndOrigin: true

driver-integration-tests-electron-experimentalSessionAndOrigin:
<<: *defaults
resource_class: medium
parallelism: 5
steps:
- run-driver-integration-tests:
browser: electron
experimentalSessionAndOrigin: true

reporter-integration-tests:
<<: *defaults
parallelism: 3
Expand Down Expand Up @@ -2149,6 +2196,7 @@ linux-workflow: &linux-workflow
jobs:
- node_modules_install
- build:
context: test-runner:env-canary
requires:
- node_modules_install
- check-ts:
Expand Down Expand Up @@ -2224,6 +2272,22 @@ linux-workflow: &linux-workflow
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-chrome-experimentalSessionAndOrigin:
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-chrome-beta-experimentalSessionAndOrigin:
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-firefox-experimentalSessionAndOrigin:
context: test-runner:cypress-record-key
requires:
- build
- driver-integration-tests-electron-experimentalSessionAndOrigin:
context: test-runner:cypress-record-key
requires:
- build
- run-frontend-shared-component-tests-chrome:
context: [test-runner:launchpad-tests, test-runner:percy]
percy: true
Expand Down Expand Up @@ -2324,6 +2388,10 @@ linux-workflow: &linux-workflow
- driver-integration-tests-chrome
- driver-integration-tests-chrome-beta
- driver-integration-tests-electron
- driver-integration-tests-firefox-experimentalSessionAndOrigin
- driver-integration-tests-chrome-experimentalSessionAndOrigin
- driver-integration-tests-chrome-beta-experimentalSessionAndOrigin
- driver-integration-tests-electron-experimentalSessionAndOrigin
- system-tests-non-root
- system-tests-firefox
- system-tests-electron
Expand Down Expand Up @@ -2437,6 +2505,7 @@ mac-workflow: &mac-workflow

- build:
name: darwin-build
context: test-runner:env-canary
executor: mac
resource_class: macos.x86.medium.gen2
requires:
Expand Down Expand Up @@ -2475,6 +2544,7 @@ windows-workflow: &windows-workflow

- build:
name: windows-build
context: test-runner:env-canary
executor: windows
resource_class: windows.medium
requires:
Expand Down