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

breaking: v13.0.0 #27040

Merged
merged 177 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
2e3b203
breaking: upgrade cy.readFile() to be a query command (#25595)
Feb 1, 2023
9dbb808
Merge develop --> release/13.0.0 (#25901)
Feb 21, 2023
32a73f7
chore: initial protocol api work (#26080)
ryanthemanuel Mar 13, 2023
f790fb2
Merge branch 'develop' into feat/protocol
ryanthemanuel Mar 23, 2023
bbe90ab
chore: add better-sqlite3 dependency (#26168)
ryanthemanuel Mar 23, 2023
530397f
chore: adding runnables to protocol (#26171)
mschile Mar 24, 2023
eed04d5
chore: adding beforeTest and AfterTest to protocol (#26216)
mschile Mar 27, 2023
369f3d4
Merge branch 'develop' into feat/protocol
ryanthemanuel Mar 27, 2023
c08b827
chore: add schema infrastructure and switch CDP client to be passed i…
ryanthemanuel Mar 30, 2023
19edc0e
Update cli/CHANGELOG.md
ryanthemanuel Mar 30, 2023
ac83b12
Update cli/CHANGELOG.md
ryanthemanuel Mar 30, 2023
b32d78d
Merge branch 'develop' into feat/protocol
ryanthemanuel Mar 30, 2023
e76ab0c
chore: updating v8 snapshot cache (#26296)
ryanthemanuel Mar 30, 2023
ad2981e
Merge branch 'develop' into feat/protocol
ryanthemanuel Mar 31, 2023
eeb6996
Merge branch 'develop' into release/13.0.0
emilyrohrbough Apr 4, 2023
8b305cf
re-add v13 changelog entry
emilyrohrbough Apr 4, 2023
c227362
chore: adding command log to protocol (#26387)
mschile Apr 5, 2023
a36fefb
chore: update protocol from develop (#26433)
AtofStryker Apr 5, 2023
7f639b8
chore: adding wallClockUpdatedAt to log for protocol (#26450)
mschile Apr 7, 2023
4a0210a
chore: update vm2 to 3.9.15 (#26467)
ryanthemanuel Apr 10, 2023
9c5fffb
chore: fix issue with logs without wallClockUpdatedAt (#26473)
mschile Apr 11, 2023
2d36509
chore: merge develop to feat/protocol
ryanthemanuel Apr 13, 2023
cab828d
Merge branch 'feat/protocol' into ryanm/chore/merge-develop
ryanthemanuel Apr 13, 2023
66bd182
chore: connecting to electron browser (#26471)
mschile Apr 13, 2023
b7c3e86
Merge pull request #26494 from cypress-io/ryanm/chore/merge-develop
ryanthemanuel Apr 13, 2023
5428bd0
chore: enable builds on feat/protocol branch (#26506)
ryanthemanuel Apr 14, 2023
f719d86
chore: update vm2 to 3.9.16 (#26489)
sfsepark Apr 14, 2023
d71b13c
Merge branch 'develop' into feat/protocol
ryanthemanuel Apr 17, 2023
e9e46a3
Merge branch 'develop' into feat/protocol
ryanthemanuel Apr 17, 2023
a11a376
chore: adding viewport:changed to protocol (#26508)
mschile Apr 18, 2023
c7193d0
chore: adding support for url:changed (#26519)
mschile Apr 18, 2023
a64011d
chore: tweak timing of connecting to browser for CDP (#26544)
ryanthemanuel Apr 20, 2023
a990bec
chore: update afterSpec to be async (#26562)
mschile Apr 26, 2023
fd8979d
chore: merge develop to feat/protocol
ryanthemanuel Apr 28, 2023
a21798d
Merge pull request #26626 from cypress-io/ryanm/chore/merge-develop-4-28
ryanthemanuel May 1, 2023
29025e4
Merge branch 'develop' into merge-develop-into-13
emilyrohrbough May 1, 2023
a26da9c
Merge branch 'develop' into merge-develop-into-13
emilyrohrbough May 3, 2023
b242fbf
Merge branch 'develop' into merge-develop-into-13
emilyrohrbough May 3, 2023
36810e2
lock
emilyrohrbough May 4, 2023
3a2dabd
.
emilyrohrbough May 4, 2023
9a9ecac
use https://github.com/cypress-io/cypress/compare/v13?expand=1 to ver…
emilyrohrbough May 4, 2023
b5b7626
chore: upgrade vm2 to 3.9.17 (#26641)
ryanthemanuel May 4, 2023
435556d
chore: add performance methods to protocol interface (#26679)
ryanthemanuel May 9, 2023
3c6e53f
Merge remote-tracking branch 'origin/develop' into feat/protocol
ryanthemanuel May 11, 2023
d2ef2c1
feat: capture protocol delivery (#26421)
tgriesser May 15, 2023
02f4e36
Merge branch 'develop' into feat/protocol
ryanthemanuel May 16, 2023
a097ff0
Merge remote-tracking branch 'origin/develop' into feat/protocol
ryanthemanuel May 16, 2023
e0d6416
Merge branch 'develop' into feat/protocol
mjhenkes May 17, 2023
de298a6
Merge branch 'develop' into feat/protocol
ryanthemanuel May 18, 2023
0db0387
chore: adding snapshots to the log:added/changed (#26757)
mschile May 18, 2023
4a15e83
chore: fix telemetry types (#26793)
mjhenkes May 18, 2023
569197c
chore: adding support for page:loading event (#26779)
mschile May 18, 2023
20b5bb0
chore: resetting the test when top changes (#26797)
mschile May 23, 2023
bd5a4d0
feat: enable crypto calls in protocol to enable hashing response bodi…
ryanthemanuel May 23, 2023
c4ad425
fix: Remove usage of vm2 (#26863)
mjhenkes May 25, 2023
10ae01d
chore: adding element selectors to highlight in snapshots (#26864)
mschile May 31, 2023
6809d11
chore: merge dev into feat protocol (#26909)
mjhenkes Jun 2, 2023
ae84870
chore: resolve merge conflicts with develop (#26921)
mjhenkes Jun 2, 2023
53b242b
chore: only send errors if we are not in local development mode (#26939)
ryanthemanuel Jun 5, 2023
9118929
chore: adding support for cross-origin (#26940)
mschile Jun 8, 2023
c903f3f
feat: add coords, scrollBy, and highlight attribute to command log (#…
ryanthemanuel Jun 9, 2023
458db1c
chore: merge develop -> v13 6/8/23 (#26976)
AtofStryker Jun 12, 2023
c91358e
fix: do not swallow errors on upload and handle timeouts (#26993)
ryanthemanuel Jun 12, 2023
6775d77
Merge branch 'develop' into v13
AtofStryker Jun 13, 2023
a5141a5
Merge pull request #27020 from cypress-io/v13-develop-merge
AtofStryker Jun 13, 2023
98a0f4f
Merge branch 'develop' into feat/protocol
AtofStryker Jun 13, 2023
4829f42
Merge pull request #27022 from cypress-io/chore/feat/protocol-merge-d…
AtofStryker Jun 13, 2023
0888059
Merge branch 'release/13.0.0' into chore/feat-protocol-v-13
AtofStryker Jun 13, 2023
3f6dbb3
chore: assert correct log length in readfile test
AtofStryker Jun 14, 2023
fcf98a2
chore: fix spacing in error
AtofStryker Jun 14, 2023
60aa603
Merge pull request #27024 from cypress-io/chore/feat-protocol-v-13
AtofStryker Jun 14, 2023
3ad90a6
Merge pull request #27018 from cypress-io/feat/protocol
mjhenkes Jun 14, 2023
66ad268
chore: bump tenative release date
AtofStryker Jun 14, 2023
ba5cba4
chore: remove invalid entries from changelog
AtofStryker Jun 14, 2023
75962b8
chore: remove feat/protocol references from circle config
AtofStryker Jun 14, 2023
1554858
Merge branch 'develop' of github.com:cypress-io/cypress into chore/re…
AtofStryker Jun 14, 2023
4d46845
fix: disable all aspects of protocol in non chromium browsers (#26995)
ryanthemanuel Jun 15, 2023
296c81c
Merge branch 'release/13.0.0' into chore/release_13_misc
mjhenkes Jun 15, 2023
0dedccf
feat: sync up protocol manager on after test (#27039)
ryanthemanuel Jun 15, 2023
48b7603
Merge pull request #27041 from cypress-io/chore/release_13_misc
AtofStryker Jun 15, 2023
5f93282
breaking: Remove deprecated nodeVersion configuration option (#27059)
mjhenkes Jun 16, 2023
9580dc2
breaking: default video configuration option to false (#27008)
AtofStryker Jun 20, 2023
9e698ce
breaking: set videoCompression to false by default (#27009)
AtofStryker Jun 20, 2023
8607e65
breaking: remove the shouldUploadVideoOnPass configuration (#27010)
AtofStryker Jun 21, 2023
e79801c
feat: add dummy dom events for cypress events to aid in time synchron…
ryanthemanuel Jun 21, 2023
aa8972b
Merge branch 'develop' into chore/develop-into-release-13
AtofStryker Jun 21, 2023
87842ff
empty commit
ryanthemanuel Jun 24, 2023
a31b17a
Merge branch 'release/13.0.0' of github.com:cypress-io/cypress into c…
AtofStryker Jun 26, 2023
59eded0
Merge branch 'develop' of github.com:cypress-io/cypress into chore/de…
AtofStryker Jun 26, 2023
b486632
Merge branch 'develop' into chore/develop-into-release-13
AtofStryker Jun 28, 2023
4ea09f9
Merge branch 'develop' of github.com:cypress-io/cypress into chore/de…
AtofStryker Jun 28, 2023
b587a10
empty commit
ryanthemanuel Jun 29, 2023
d68a3aa
Merge branch 'develop' into chore/develop-into-release-13
AtofStryker Jun 29, 2023
75197a5
Merge pull request #27105 from cypress-io/chore/develop-into-release-13
AtofStryker Jun 29, 2023
812e741
empty commit
ryanthemanuel Jun 30, 2023
51fa53c
Merge branch 'develop' into release/13.0.0
ryanthemanuel Jun 30, 2023
b0c63ff
chore: fix system test with trash assets before run which waits for d…
AtofStryker Jun 30, 2023
d3200df
chore: add guided error for removal of videoUploadOnPasses config opt…
AtofStryker Jun 30, 2023
d2058a3
feat: change test isolation logic to navigate to about:blank at end o…
ryanthemanuel Jul 5, 2023
3019911
chore: fix passing the correct attributes to getProtocolPropsForLog (…
mschile Jul 11, 2023
94648cc
chore: ensure that beforeTest awaits (#27274)
ryanthemanuel Jul 12, 2023
298dadc
chore: increase protocol enabled postDataSize (#27283)
dkasper-was-taken Jul 13, 2023
0e936c5
Merge branch 'develop' into mschile/v13_merge_develop
mschile Jul 14, 2023
353306f
reverting files.cy.js change
mschile Jul 17, 2023
1268c59
Merge pull request #27307 from cypress-io/mschile/v13_merge_develop
ryanthemanuel Jul 17, 2023
4e9147d
chore: performance timestamps on logs (#27171)
cacieprins Jul 18, 2023
773eb8d
chore: fix memory import (#27326)
mjhenkes Jul 18, 2023
5d1e07a
chore: merge develop into release/13.0.0 (#27336)
AtofStryker Jul 19, 2023
f0139bc
Merge branch 'develop' into chore/merge-develop-into-13
AtofStryker Jul 19, 2023
2edb4e5
Merge pull request #27341 from cypress-io/chore/merge-develop-into-13
ryanthemanuel Jul 19, 2023
8be24a1
chore: add e2e test for new test isolation events (#27222)
ryanthemanuel Jul 20, 2023
8bc3889
Merge branch 'develop' into chore/merge_develop
AtofStryker Jul 25, 2023
2513eec
chore: run binaries jobs for develop => v13 merge [run ci]
AtofStryker Jul 25, 2023
51cc5f6
run ci
AtofStryker Jul 25, 2023
fb68512
chore: add check for headed and no-exit to test isolation (#27358)
dkasper-was-taken Jul 25, 2023
cf0209d
feat: defer protocol manager initialization to after script load (#27…
ryanthemanuel Jul 26, 2023
bf3cd66
Merge pull request #27386 from cypress-io/chore/merge_develop_into_re…
AtofStryker Jul 26, 2023
48828c3
chore: fix test causing zod errors (#27401)
ryanthemanuel Jul 27, 2023
8a90c31
chore: add test replay button to debug page (#27315)
dkasper-was-taken Jul 27, 2023
069d3b3
breaking: Normalize results from module api, after:run, and after:spe…
chrisbreiding Jul 31, 2023
8102a09
Merge branch 'develop' of https://github.com/cypress-io/cypress into …
AtofStryker Aug 4, 2023
4cec5a5
Merge branch 'develop' into chore/merge_develop_into_release_13
AtofStryker Aug 7, 2023
e960f83
Merge pull request #27472 from cypress-io/chore/merge_develop_into_re…
AtofStryker Aug 8, 2023
0d17899
chore: modify highlight selector to include frameId (#27458)
dkasper-was-taken Aug 8, 2023
421c7a3
chore: update debug artifact order to display replay first (#27481)
dkasper-was-taken Aug 8, 2023
d27e249
chore: protocol/mount before async (#27511)
lmiller1990 Aug 10, 2023
fff7490
feat: protocol terminal output (#27402)
cacieprins Aug 10, 2023
fe6d327
Merge branch 'develop' into chore/merge-develop-v13
AtofStryker Aug 11, 2023
8b14bc4
fix: issue with describe level test isolation and navigating to about…
ryanthemanuel Aug 11, 2023
6ac7feb
feat: remove protocol environment variable from binary (#27506)
ryanthemanuel Aug 11, 2023
9f49d58
Merge branch 'release/13.0.0' of https://github.com/cypress-io/cypres…
AtofStryker Aug 14, 2023
b2b56cb
Merge branch 'develop' of https://github.com/cypress-io/cypress into …
AtofStryker Aug 14, 2023
a956fb4
Merge branch 'develop' of https://github.com/cypress-io/cypress into …
AtofStryker Aug 14, 2023
9bfa454
chore: updating protocol to support test isolation off (#27523)
mschile Aug 14, 2023
519aff9
Merge branch 'release/13.0.0' into chore/merge_develop_into_release_13
ryanthemanuel Aug 15, 2023
71408ac
Merge branch 'develop' of https://github.com/cypress-io/cypress into …
AtofStryker Aug 15, 2023
fb83674
Merge branch 'chore/merge_develop_into_release_13' of https://github.…
AtofStryker Aug 15, 2023
47b18d2
chore: additional metadata for protocol capture errors (#27507)
cacieprins Aug 15, 2023
bb005e0
chore: fix protocol_spec snapshot system-test to have webpack 5 sourc…
AtofStryker Aug 15, 2023
19fec25
Merge branch 'develop' of https://github.com/cypress-io/cypress into …
AtofStryker Aug 15, 2023
c5120c7
Merge branch 'release/13.0.0' of https://github.com/cypress-io/cypres…
AtofStryker Aug 15, 2023
5db296b
chore: set v13 release date to august 22nd in the changelog
AtofStryker Aug 15, 2023
462ee04
feat: enable the protocol to retrieve response bodies from the networ…
ryanthemanuel Aug 15, 2023
942e801
update snapshot
ryanthemanuel Aug 15, 2023
f1b3741
Merge pull request #27537 from cypress-io/chore/merge_develop_into_re…
AtofStryker Aug 15, 2023
87ce14a
breaking: relative resource requests in ct (#27510)
lmiller1990 Aug 16, 2023
4bbf119
Merge branch 'develop' into release/13.0.0
ryanthemanuel Aug 16, 2023
ea23836
chore: hide reporter when protocol is enabled (#27482)
mschile Aug 16, 2023
e06334d
Merge branch 'develop' into release/13.0.0
mjhenkes Aug 18, 2023
c1a8004
chore: added support for --runner-ui and --no-runner-ui cli options (…
mschile Aug 18, 2023
b0df02b
Merge branch 'develop' into release/13.0.0
ryanthemanuel Aug 21, 2023
dc931d2
chore: syncing log (#27579)
cacieprins Aug 21, 2023
b7b95e9
chore: fix artifact report schema (#27596)
cacieprins Aug 21, 2023
43821bf
feat: handle empty response bodies by communicating them to the proto…
ryanthemanuel Aug 22, 2023
f427514
test: update proxy-logging test to support log:changed (#27600)
mschile Aug 22, 2023
f9df687
test: fixing clock test that was not passing params in test:before:af…
mschile Aug 22, 2023
7f45375
breaking: Upgrade @cypress/request to 3.0.0 (#27495)
chrisbreiding Aug 23, 2023
2c8337a
chore: upgrade @cypress/request-promise to 5.0.0 (#27655)
chrisbreiding Aug 24, 2023
150b04c
chore: add v13 welcome page content (#27549)
AtofStryker Aug 24, 2023
626550e
chore: add mountVersion to props passed to protocol setup (#27645)
cacieprins Aug 25, 2023
bb7b7c0
Merge branch 'develop' into release/13.0.0
ryanthemanuel Aug 25, 2023
1c6a2e1
BREAKING: add breaking changes/deprecations to cypress dependencies, …
AtofStryker Aug 25, 2023
2c3e1ac
chore: updating log to use createdAtTimestamp and updatedAtTimestamp …
mschile Aug 25, 2023
1cbe947
fix merge
ryanthemanuel Aug 25, 2023
af12aa0
fix merge
ryanthemanuel Aug 25, 2023
9a5a899
fix TS
ryanthemanuel Aug 25, 2023
f3f7aaa
chore: better test getVideoEmbedHtml code in e2e test (#27667)
AtofStryker Aug 25, 2023
dc5ebd1
chore: fixes url validation error on artifact report (#27671)
cacieprins Aug 25, 2023
c763d85
chore: use SKIP_RELEASE_CHANGELOG_VALIDATION env var to skip release-…
chrisbreiding Aug 25, 2023
5fe9473
chore: support experimentalSingleTabRunMode in protocol (#27659)
mschile Aug 25, 2023
228a117
feat: swap websocket transport with cdp add binding/evaluate (#27592)
ryanthemanuel Aug 26, 2023
5e39da7
chore: better efficiency with acks
ryanthemanuel Aug 26, 2023
485d91d
Merge branch 'develop' into release/13.0.0
jennifer-shehane Aug 27, 2023
d75dab1
chore: remove prerequests on request failed events (#27674)
ryanthemanuel Aug 28, 2023
cc45c67
chore: update/fix v13 changelog (#27680)
chrisbreiding Aug 28, 2023
2cec262
Merge branch 'develop' into release/13.0.0
ryanthemanuel Aug 28, 2023
1c7b178
chore: exclude null highlight elements from protocol snapshot (#27685)
mschile Aug 28, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/cache-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Bump this version to force CI to re-create the cache from scratch.

08-19-23
08-19-23
32 changes: 14 additions & 18 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ mainBuildFilters: &mainBuildFilters
- /^release\/\d+\.\d+\.\d+$/
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- 'update-v8-snapshot-cache-on-develop'
- 'fix/resolve_browser_process_correctly_for_mjs'
- 'chore/bump_loaders_and_optimize_webpack'
- 'bump-circle-cache'
- 'publish-binary'
- 'cacie/chore/capture-metadata'

# usually we don't build Mac app - it takes a long time
# but sometimes we want to really confirm we are doing the right thing
Expand All @@ -43,8 +42,7 @@ macWorkflowFilters: &darwin-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'fix/resolve_browser_process_correctly_for_mjs', << pipeline.git.branch >> ]
- equal: [ 'bump-circle-cache', << pipeline.git.branch >> ]
- equal: [ cacie/chore/capture-metadata', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -55,9 +53,8 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'fix/resolve_browser_process_correctly_for_mjs', << pipeline.git.branch >> ]
- equal: [ 'chore/bump_loaders_and_optimize_webpack', << pipeline.git.branch >> ]
- equal: [ 'astone123/fix-get-published-artifacts', << pipeline.git.branch >> ]
- equal: [ 'publish-binary', << pipeline.git.branch >> ]
- equal: [ cacie/chore/capture-metadata', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand All @@ -77,8 +74,7 @@ windowsWorkflowFilters: &windows-workflow-filters
- equal: [ develop, << pipeline.git.branch >> ]
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
- equal: [ 'fix/resolve_browser_process_correctly_for_mjs', << pipeline.git.branch >> ]
- equal: [ 'bump-circle-cache', << pipeline.git.branch >> ]
- equal: [ cacie/chore/capture-metadata', << pipeline.git.branch >> ]
- matches:
pattern: /^release\/\d+\.\d+\.\d+$/
value: << pipeline.git.branch >>
Expand Down Expand Up @@ -148,7 +144,7 @@ commands:
name: Set environment variable to determine whether or not to persist artifacts
command: |
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "publish-binary" && "$CIRCLE_BRANCH" != "fix/resolve_browser_process_correctly_for_mjs" ]]; then
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "publish-binary" && "$CIRCLE_BRANCH" != "update-v8-snapshot-cache-on-develop" && "$CIRCLE_BRANCH" != "ryanm/feat/handle-304s" ]]; then
export SHOULD_PERSIST_ARTIFACTS=true
fi' >> "$BASH_ENV"
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
Expand Down Expand Up @@ -219,6 +215,7 @@ commands:
command: |
source ./scripts/ensure-node.sh
yarn gulp buildProd
yarn gulp syncCloudValidations
- run:
name: Build packages
command: |
Expand Down Expand Up @@ -511,7 +508,7 @@ commands:
# internal PR
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
CYPRESS_INTERNAL_ENABLE_TELEMETRY="true" \
yarn cypress:run --record --parallel --group 5x-driver-<<parameters.browser>> --browser <<parameters.browser>>
yarn cypress:run --record --parallel --group 5x-driver-<<parameters.browser>> --browser <<parameters.browser>> --runner-ui
else
# external PR
TESTFILES=$(circleci tests glob "cypress/e2e/**/*.cy.*" | circleci tests split --total=$CIRCLE_NODE_TOTAL)
Expand All @@ -520,7 +517,7 @@ commands:
if [[ -z "$TESTFILES" ]]; then
echo "Empty list of test files"
fi
yarn cypress:run --browser <<parameters.browser>> --spec $TESTFILES
yarn cypress:run --browser <<parameters.browser>> --spec $TESTFILES --runner-ui
fi
working_directory: packages/driver
- verify-mocha-results
Expand Down Expand Up @@ -594,7 +591,7 @@ commands:
if [[ <<parameters.type>> == 'ct' ]]; then
# component tests are located side by side with the source codes.
# for the app component tests, ignore specs that are known to cause failures on contributor PRs (see https://discuss.circleci.com/t/how-to-exclude-certain-files-from-circleci-test-globbing/41028)
TESTFILES=$(find src -regextype posix-extended -name '*.cy.*' -not -regex '.*(FileMatch|PromoAction|SelectorPlayground).cy.*' | circleci tests split --total=$CIRCLE_NODE_TOTAL)
TESTFILES=$(find src -regextype posix-extended -name '*.cy.*' -not -regex '.*(FileMatch|PromoAction|SelectorPlayground|useDurationFormat|useTestingType|SpecPatterns).cy.*' | circleci tests split --total=$CIRCLE_NODE_TOTAL)
else
GLOB="cypress/e2e/**/*cy.*"
TESTFILES=$(circleci tests glob "$GLOB" | circleci tests split --total=$CIRCLE_NODE_TOTAL)
Expand Down Expand Up @@ -1850,7 +1847,7 @@ jobs:
PERCY_ENABLE=${PERCY_TOKEN:-0} \
PERCY_PARALLEL_TOTAL=-1 \
yarn percy exec --parallel -- -- \
yarn cypress:run --record --parallel --group reporter
yarn cypress:run --record --parallel --group reporter --runner-ui
working_directory: packages/reporter
- verify-mocha-results
- store_test_results:
Expand Down Expand Up @@ -2191,7 +2188,6 @@ jobs:
CYPRESS_PROJECT_ID=$TEST_KITCHENSINK_PROJECT_ID \
CYPRESS_RECORD_KEY=$TEST_KITCHENSINK_RECORD_KEY \
CYPRESS_INTERNAL_ENV=staging \
CYPRESS_video=false \
yarn cypress:run --project /tmp/cypress-example-kitchensink --record
- store-npm-logs

Expand Down Expand Up @@ -2807,7 +2803,7 @@ linux-x64-workflow: &linux-x64-workflow
- build
- wait-for-binary-publish:
type: approval
requires:
requires:
- create-and-trigger-packaging-artifacts
- get-published-artifacts:
context:
Expand Down Expand Up @@ -2924,7 +2920,7 @@ linux-arm64-workflow: &linux-arm64-workflow
- wait-for-binary-publish:
name: linux-arm64-wait-for-binary-publish
type: approval
requires:
requires:
- linux-arm64-create-and-trigger-packaging-artifacts

- get-published-artifacts:
Expand Down
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ module.exports = {
'cli/types/**',
// these fixtures are supposed to fail linting
'npm/eslint-plugin-dev/test/fixtures/**',
// Cloud generated
'system-tests/lib/validations/**',
],
overrides: [
{
Expand Down
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

**/.eslintrc text eol=lf

packages/errors/__snapshot-html__/** linguist-generated=true
packages/errors/__snapshot-html__/** linguist-generated=true
system-tests/lib/validations/** linguist-generated=true
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
#
# Changes to the Module API, after:run, or after:spec results should be
# reviewed by Brian and/or Jennifer
/system-tests/__snapshots__/results_spec.ts.js @brian-mann @jennifer-shehane
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -395,3 +395,6 @@ tooling/v8-snapshot/cache/dev-win32
tooling/v8-snapshot/cache/prod-darwin
tooling/v8-snapshot/cache/prod-linux
tooling/v8-snapshot/cache/prod-win32

# Cloud API validations
system-tests/lib/validations
25 changes: 23 additions & 2 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
## 12.17.5
## 13.0.0

_Released 08/29/2023 (PENDING)_
_Released 08/22/2023 (PENDING)_

**Breaking Changes:**

- The [`cy.readFile()`](/api/commands/readfile) command is now retry-able as a [query command](https://on.cypress.io/retry-ability). This should not affect any tests using it; the functionality is unchanged. However, it can no longer be overwritten using [`Cypress.Commands.overwrite()`](/api/cypress-api/custom-commands#Overwrite-Existing-Commands). Addressed in [#25595](https://github.com/cypress-io/cypress/pull/25595).
- The [`video`](https://docs.cypress.io/guides/references/configuration#Videos) configuration option now defaults to `false`. Addresses [#26157](https://github.com/cypress-io/cypress/issues/26157).
- The [`videoCompression`](https://docs.cypress.io/guides/references/configuration#Videos) configuration option now defaults to `false`. Addresses [#26160](https://github.com/cypress-io/cypress/issues/26160).
- The [`videoUploadOnPasses`](https://docs.cypress.io/guides/references/configuration#Videos) configuration option has been removed. Please see our [screenshots & videos guide](https://docs.cypress.io/guides/guides/screenshots-and-videos#Delete-videos-for-specs-without-failing-or-retried-tests) on how to accomplish similar functionality. Addresses [#26899](https://github.com/cypress-io/cypress/issues/26899).
- The current spec path is now passed from the AUT iframe using a query parameter rather than a path segment. This allows for requests for assets at relative paths to be correctly forwarded to the dev server. Fixes [#26725](https://github.com/cypress-io/cypress/issues/26725).
- The deprecated configuration option, `nodeVersion` has been removed. Addresses [#27016](https://github.com/cypress-io/cypress/issues/27016).
- The properties and values returned by the [Module API](https://docs.cypress.io/guides/guides/module-api) and included in the arguments of handlers for the [`after:run`](https://docs.cypress.io/api/plugins/after-run-api) and [`after:spec`](https://docs.cypress.io/api/plugins/after-spec-api) have been changed to be more consistent. Addresses [#23805](https://github.com/cypress-io/cypress/issues/23805).
- For Cypress Cloud runs with Test Replay enabled, the Cypress Runner UI is now hidden during the run since the Runner will be visible during Test Replay. As such, if video is recorded (which is now defaulted to `false`) during the run, the Runner will not be visible. In addition, if a runner screenshot (`cy.screenshot({ capture: runner })`) is captured, it will no longer contain the Runner.
- Node 14 support has been removed and Node 16 support has been deprecated. Node 16 may continue to work with Cypress `v13`, but will not be supported moving forward to closer coincide with [Node 16's end-of-life](https://nodejs.org/en/blog/announcements/nodejs16-eol) schedule. It is recommended that users update to at least Node 18.
- The minimum supported Typescript version is `4.x`.

**Features:**

- Consolidates and improves terminal output when uploading test artifacts to Cypress Cloud. Addressed in [#27402](https://github.com/cypress-io/cypress/pull/27402)

**Bugfixes:**

Expand All @@ -11,6 +28,10 @@ _Released 08/29/2023 (PENDING)_
- Fixed an issue where the correct `pnp` process was not being discovered. Fixes [#27562](https://github.com/cypress-io/cypress/issues/27562).
- Fixed incorrect type declarations for Cypress and Chai globals that asserted them to be local variables of the global scope rather than properties on the global object. Fixes [#27539](https://github.com/cypress-io/cypress/issues/27539). Fixed in [#27540](https://github.com/cypress-io/cypress/pull/27540).

**Dependency Updates:**

- Upgraded [`@cypress/request`](https://www.npmjs.com/package/@cypress/request) from `^2.88.11` to `^3.0.0` to address the [CVE-2023-28155](https://github.com/advisories/GHSA-p8p7-x288-28g6) security vulnerability. Addresses [#27535](https://github.com/cypress-io/cypress/issues/27535). Addressed in [#27495](https://github.com/cypress-io/cypress/pull/27495).

## 12.17.4

_Released 08/15/2023_
Expand Down
2 changes: 2 additions & 0 deletions cli/__snapshots__/cli_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ exports['shows help for run --foo 1'] = `
-q, --quiet run quietly, using only the configured reporter
--record [bool] records the run. sends test results, screenshots and videos to Cypress Cloud.
-r, --reporter <reporter> runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"
--runner-ui displays the Cypress Runner UI
--no-runner-ui hides the Cypress Runner UI
-o, --reporter-options <reporter-options> options for the mocha reporter. defaults to "null"
-s, --spec <spec> runs specific spec file(s). defaults to "all"
-t, --tag <tag> named tag(s) for recorded runs in Cypress Cloud
Expand Down
4 changes: 4 additions & 0 deletions cli/lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ const descriptions = {
record: 'records the run. sends test results, screenshots and videos to Cypress Cloud.',
reporter: 'runs a specific mocha reporter. pass a path to use a custom reporter. defaults to "spec"',
reporterOptions: 'options for the mocha reporter. defaults to "null"',
runnerUi: 'displays the Cypress Runner UI',
noRunnerUi: 'hides the Cypress Runner UI',
spec: 'runs specific spec file(s). defaults to "all"',
tag: 'named tag(s) for recorded runs in Cypress Cloud',
version: 'prints Cypress version',
Expand Down Expand Up @@ -252,6 +254,8 @@ const addCypressRunCommand = (program) => {
.option('-q, --quiet', text('quiet'))
.option('--record [bool]', text('record'), coerceFalse)
.option('-r, --reporter <reporter>', text('reporter'))
.option('--runner-ui', text('runnerUi'))
.option('--no-runner-ui', text('noRunnerUi'))
.option('-o, --reporter-options <reporter-options>', text('reporterOptions'))
.option('-s, --spec <spec>', text('spec'))
.option('-t, --tag <tag>', text('tag'))
Expand Down
4 changes: 4 additions & 0 deletions cli/lib/exec/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ const processRunOptions = (options = {}) => {
args.push('--reporter-options', options.reporterOptions)
}

if (options.runnerUi != null) {
args.push('--runner-ui', options.runnerUi)
}

// if we have specific spec(s) push that into the args
if (options.spec) {
args.push('--spec', options.spec)
Expand Down
1 change: 1 addition & 0 deletions cli/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ const parseOpts = (opts) => {
'reporter',
'reporterOptions',
'record',
'runnerUi',
'runProject',
'spec',
'tag')
Expand Down
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"unit": "cross-env BLUEBIRD_DEBUG=1 NODE_ENV=test mocha --reporter mocha-multi-reporters --reporter-options configFile=../mocha-reporter-config.json"
},
"dependencies": {
"@cypress/request": "2.88.12",
"@cypress/request": "^3.0.0",
"@cypress/xvfb": "^1.2.4",
"@types/node": "^16.18.39",
"@types/sinonjs__fake-timers": "8.1.1",
Expand Down Expand Up @@ -124,7 +124,7 @@
"cypress": "bin/cypress"
},
"engines": {
"node": "^14.0.0 || ^16.0.0 || >=18.0.0"
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
},
"types": "types",
"exports": {
Expand Down
14 changes: 12 additions & 2 deletions cli/test/lib/cli_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,15 +474,25 @@ describe('cli', () => {
expect(run.start).to.be.calledWith({ ciBuildId: '123', group: 'staging' })
})

it('call run with --auto-cancel-after-failures', () => {
it('calls run with --auto-cancel-after-failures', () => {
this.exec('run --auto-cancel-after-failures 4')
expect(run.start).to.be.calledWith({ autoCancelAfterFailures: '4' })
})

it('call run with --auto-cancel-after-failures with false', () => {
it('calls run with --auto-cancel-after-failures with false', () => {
this.exec('run --auto-cancel-after-failures false')
expect(run.start).to.be.calledWith({ autoCancelAfterFailures: 'false' })
})

it('calls run with --runner-ui', () => {
this.exec('run --runner-ui')
expect(run.start).to.be.calledWith({ runnerUi: true })
})

it('calls run with --no-runner-ui', () => {
this.exec('run --no-runner-ui')
expect(run.start).to.be.calledWith({ runnerUi: false })
})
})

context('cypress open', () => {
Expand Down
1 change: 1 addition & 0 deletions cli/test/lib/cypress_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ describe('cypress', function () {
.then((args) => {
expect(args.spec).to.equal('foo')
expect(args.autoCancelAfterFailures).to.equal(4)
expect(args.runnerUi).to.be.undefined
})
})

Expand Down
9 changes: 9 additions & 0 deletions cli/test/lib/exec/run_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,5 +234,14 @@ describe('exec run', function () {
])
})
})

it('spawns with --runner-ui', function () {
return run.start({ runnerUi: true })
.then(() => {
expect(spawn.start).to.be.calledWith([
'--run-project', process.cwd(), '--runner-ui', true,
])
})
})
})
})
Loading