File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 "@types/lodash" : " 4.17.24" ,
6969 "@types/luxon" : " 3.7.1" ,
7070 "@types/minimist" : " 1.2.5" ,
71- "@types/react" : " 19.2.16 " ,
71+ "@types/react" : " 19.2.17 " ,
7272 "@types/react-click-outside-hook" : " 1.0.3" ,
7373 "@types/react-color" : " 3.0.13" ,
7474 "@types/react-google-recaptcha" : " 2.1.9" ,
Original file line number Diff line number Diff line change @@ -24,14 +24,15 @@ class PageWeightTest < ApplicationSystemTestCase
2424 after { Intercode . overridden_virtual_host_domain = nil }
2525
2626 it "loads the home page within the initial JS/CSS payload budget" do
27- visit "/"
28-
2927 # Chrome occasionally gets stuck in a state where navigation silently fails on CI,
3028 # leaving the page at about:blank. Restarting the browser gives a clean Chrome
31- # process that can actually navigate.
32- if page . current_url . start_with? ( "about:" )
33- page . driver . browser . restart
29+ # process that can actually navigate. Retry up to 3 times since even post-restart
30+ # visits can silently fail (Ferrum swallows the TimeoutError when pending_connection_errors
31+ # is false, so no exception surfaces to signal the failure).
32+ 3 . times do |attempt |
33+ page . driver . browser . restart if attempt . positive?
3434 visit "/"
35+ break unless page . current_url . start_with? ( "about:" )
3536 end
3637
3738 # Wait for the React app to finish bootstrapping before sampling resources.
Original file line number Diff line number Diff line change @@ -7858,12 +7858,12 @@ __metadata:
78587858 languageName: node
78597859 linkType: hard
78607860
7861- "@types/react@npm:*, @types/react@npm:19.2.16 ":
7862- version: 19.2.16
7863- resolution: "@types/react@npm:19.2.16 "
7861+ "@types/react@npm:*, @types/react@npm:19.2.17 ":
7862+ version: 19.2.17
7863+ resolution: "@types/react@npm:19.2.17 "
78647864 dependencies:
78657865 csstype: "npm:^3.2.2"
7866- checksum: 10c0/96f2850b67c5aa4a695bc32eb06c7609acdda1c0c597ace21ad24a5b9e2ccbccd97c0643253579fd629789a422a3694b4bbcb26e5fc6aec5f0357820bf0ee81c
7866+ checksum: 10c0/bc2c4af96b3e480604424de70d5ebda90c5f4b485df471858c0bc2d7d70364b606ec3c4d8579f94f01aa0c6c0591f56bcf14cba5689f5eea4b74250ccdc3a232
78677867 languageName: node
78687868 linkType: hard
78697869
@@ -21322,7 +21322,7 @@ __metadata:
2132221322 "@types/punycode": "npm:2.1.4"
2132321323 "@types/qs": "npm:^6"
2132421324 "@types/rails__activestorage": "npm:8.0.1"
21325- "@types/react": "npm:19.2.16 "
21325+ "@types/react": "npm:19.2.17 "
2132621326 "@types/react-click-outside-hook": "npm:1.0.3"
2132721327 "@types/react-color": "npm:3.0.13"
2132821328 "@types/react-dom": "npm:19.2.3"
You can’t perform that action at this time.
0 commit comments