Skip to content

Commit 8eb40d0

Browse files
committed
update docker image to chrome 128 and firefox 130 [run ci]
1 parent 095b3da commit 8eb40d0

File tree

10 files changed

+103
-81
lines changed

10 files changed

+103
-81
lines changed

.circleci/cache-version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Bump this version to force CI to re-create the cache from scratch.
22

3-
08-13-24
3+
09-12-24

.circleci/workflows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ executors:
8686
# the Docker image with Cypress dependencies and Chrome browser
8787
cy-doc:
8888
docker:
89-
- image: cypress/browsers-internal:node18.17.1-chrome124-ff125
89+
- image: cypress/browsers-internal:node18.17.1-chrome128-ff130
9090
# by default, we use "medium" to balance performance + CI costs. bump or reduce on a per-job basis if needed.
9191
resource_class: medium
9292
environment:
@@ -105,7 +105,7 @@ executors:
105105
# Docker image with non-root "node" user
106106
non-root-docker-user:
107107
docker:
108-
- image: cypress/browsers-internal:node18.17.1-chrome124-ff125
108+
- image: cypress/browsers-internal:node18.17.1-chrome128-ff130
109109
user: node
110110
environment:
111111
PLATFORM: linux

packages/driver/src/cy/commands/actions/type.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export default function (Commands, Cypress, cy, state, config) {
192192
const isFirefoxBefore91 = Cypress.isBrowser('firefox') && Cypress.browserMajorVersion() < 91
193193
const isFirefoxBefore98 = Cypress.isBrowser('firefox') && Cypress.browserMajorVersion() < 98
194194
const isFirefox106OrLater = Cypress.isBrowser('firefox') && Cypress.browserMajorVersion() >= 106
195+
const isFirefox130OrLater = Cypress.isBrowser('firefox') && Cypress.browserMajorVersion() >= 130
195196

196197
const simulateSubmitHandler = function () {
197198
const form = options.$el.parents('form')
@@ -385,9 +386,10 @@ export default function (Commands, Cypress, cy, state, config) {
385386

386387
keydownEvents = []
387388

388-
// After Firefox 98,
389+
// After Firefox 98 and before 130
389390
// Firefox doesn't update checkbox automatically even if the click event is sent.
390-
if (Cypress.isBrowser('firefox')) {
391+
// TODO: verify firefox version this starts happening
392+
if (Cypress.isBrowser('firefox') && !isFirefox130OrLater) {
391393
if (event.target.type === 'checkbox') {
392394
event.target.checked = !event.target.checked
393395
} else if (event.target.type === 'radio') { // when checked is false, here cannot be reached because of the above condition

system-tests/__snapshots__/component_testing_spec.ts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,9 @@ exports['experimentalSingleTabRunMode / executes all specs in a single tab'] = `
786786
787787
(Screenshots)
788788
789-
- /XXX/XXX/XXX/cypress/screenshots/1_fails.cy.js/simple failing spec -- fails (fai (1280x633)
789+
- /XXX/XXX/XXX/cypress/screenshots/1_fails.cy.js/simple failing spec -- fails (fai (1280x581)
790790
led).png
791-
- /XXX/XXX/XXX/cypress/screenshots/1_fails.cy.js/simple failing spec -- fails agai (1280x633)
791+
- /XXX/XXX/XXX/cypress/screenshots/1_fails.cy.js/simple failing spec -- fails agai (1280x581)
792792
n (failed).png
793793
794794

system-tests/__snapshots__/retries_spec.ts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ exports['retries / supports retries (chrome)'] = `
164164
165165
(Screenshots)
166166
167-
- /XXX/XXX/XXX/cypress/screenshots/fail-twice.cy.js/fail twice (failed).png (1280x633)
168-
- /XXX/XXX/XXX/cypress/screenshots/fail-twice.cy.js/fail twice (failed) (attempt 2 (1280x633)
167+
- /XXX/XXX/XXX/cypress/screenshots/fail-twice.cy.js/fail twice (failed).png (1280x581)
168+
- /XXX/XXX/XXX/cypress/screenshots/fail-twice.cy.js/fail twice (failed) (attempt 2 (1280x581)
169169
).png
170170
171171

system-tests/__snapshots__/vite_dev_server_fresh_spec.ts.js

+35-35
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ We dynamically generated a new test to display this failure.
8282
8383
(Screenshots)
8484
85-
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x633)
85+
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x581)
8686
s detected outside of a test (failed).png
8787
8888
@@ -165,12 +165,12 @@ https://on.cypress.io/uncaught-exception-from-application
165165
166166
(Screenshots)
167167
168-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x633)
168+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x581)
169169
.png
170-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x633)
171-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x633)
170+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x581)
171+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x581)
172172
g
173-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x633)
173+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x581)
174174
).png
175175
176176
@@ -216,7 +216,7 @@ https://on.cypress.io/uncaught-exception-from-application
216216
217217
(Screenshots)
218218
219-
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x633)
219+
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x581)
220220
ng
221221
222222
@@ -254,7 +254,7 @@ https://on.cypress.io/uncaught-exception-from-application
254254
255255
(Screenshots)
256256
257-
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x633)
257+
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x581)
258258
his file (failed).png
259259
260260
@@ -485,7 +485,7 @@ We dynamically generated a new test to display this failure.
485485
486486
(Screenshots)
487487
488-
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x633)
488+
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x581)
489489
s detected outside of a test (failed).png
490490
491491
@@ -568,12 +568,12 @@ https://on.cypress.io/uncaught-exception-from-application
568568
569569
(Screenshots)
570570
571-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x633)
571+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x581)
572572
.png
573-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x633)
574-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x633)
573+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x581)
574+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x581)
575575
g
576-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x633)
576+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x581)
577577
).png
578578
579579
@@ -619,7 +619,7 @@ https://on.cypress.io/uncaught-exception-from-application
619619
620620
(Screenshots)
621621
622-
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x633)
622+
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x581)
623623
ng
624624
625625
@@ -657,7 +657,7 @@ https://on.cypress.io/uncaught-exception-from-application
657657
658658
(Screenshots)
659659
660-
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x633)
660+
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x581)
661661
his file (failed).png
662662
663663
@@ -888,7 +888,7 @@ We dynamically generated a new test to display this failure.
888888
889889
(Screenshots)
890890
891-
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x633)
891+
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x581)
892892
s detected outside of a test (failed).png
893893
894894
@@ -971,12 +971,12 @@ https://on.cypress.io/uncaught-exception-from-application
971971
972972
(Screenshots)
973973
974-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x633)
974+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x581)
975975
.png
976-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x633)
977-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x633)
976+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x581)
977+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x581)
978978
g
979-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x633)
979+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x581)
980980
).png
981981
982982
@@ -1022,7 +1022,7 @@ https://on.cypress.io/uncaught-exception-from-application
10221022
10231023
(Screenshots)
10241024
1025-
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x633)
1025+
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x581)
10261026
ng
10271027
10281028
@@ -1060,7 +1060,7 @@ https://on.cypress.io/uncaught-exception-from-application
10601060
10611061
(Screenshots)
10621062
1063-
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x633)
1063+
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x581)
10641064
his file (failed).png
10651065
10661066
@@ -1291,7 +1291,7 @@ We dynamically generated a new test to display this failure.
12911291
12921292
(Screenshots)
12931293
1294-
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x633)
1294+
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x581)
12951295
s detected outside of a test (failed).png
12961296
12971297
@@ -1374,12 +1374,12 @@ https://on.cypress.io/uncaught-exception-from-application
13741374
13751375
(Screenshots)
13761376
1377-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x633)
1377+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x581)
13781378
.png
1379-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x633)
1380-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x633)
1379+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x581)
1380+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x581)
13811381
g
1382-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x633)
1382+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x581)
13831383
).png
13841384
13851385
@@ -1425,7 +1425,7 @@ https://on.cypress.io/uncaught-exception-from-application
14251425
14261426
(Screenshots)
14271427
1428-
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x633)
1428+
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x581)
14291429
ng
14301430
14311431
@@ -1463,7 +1463,7 @@ https://on.cypress.io/uncaught-exception-from-application
14631463
14641464
(Screenshots)
14651465
1466-
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x633)
1466+
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x581)
14671467
his file (failed).png
14681468
14691469
@@ -1906,7 +1906,7 @@ We dynamically generated a new test to display this failure.
19061906
19071907
(Screenshots)
19081908
1909-
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x633)
1909+
- /XXX/XXX/XXX/cypress/screenshots/AppCompilationError.cy.jsx/An uncaught error wa (1280x581)
19101910
s detected outside of a test (failed).png
19111911
19121912
@@ -1989,12 +1989,12 @@ https://on.cypress.io/uncaught-exception-from-application
19891989
19901990
(Screenshots)
19911991
1992-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x633)
1992+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- error on mount (failed) (1280x581)
19931993
.png
1994-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x633)
1995-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x633)
1994+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- sync error (failed).png (1280x581)
1995+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- async error (failed).pn (1280x581)
19961996
g
1997-
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x633)
1997+
- /XXX/XXX/XXX/cypress/screenshots/Errors.cy.jsx/Errors -- command failure (failed (1280x581)
19981998
).png
19991999
20002000
@@ -2040,7 +2040,7 @@ https://on.cypress.io/uncaught-exception-from-application
20402040
20412041
(Screenshots)
20422042
2043-
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x633)
2043+
- /XXX/XXX/XXX/cypress/screenshots/MissingReact.cy.jsx/is missing React (failed).p (1280x581)
20442044
ng
20452045
20462046
@@ -2078,7 +2078,7 @@ https://on.cypress.io/uncaught-exception-from-application
20782078
20792079
(Screenshots)
20802080
2081-
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x633)
2081+
- /XXX/XXX/XXX/cypress/screenshots/MissingReactInSpec.cy.jsx/is missing React in t (1280x581)
20822082
his file (failed).png
20832083
20842084

0 commit comments

Comments
 (0)