Testcafe fails on starting #8389
Labels
STATE: Need clarification
An issue lacks information for further research.
STATE: Need response
An issue that requires a response or attention from the team.
TYPE: bug
The described behavior is considered as wrong (bug).
What is your Scenario?
We have a set of tests which executes every 30 mins 24/7
What is the Current behavior?
We have around 50 executions per day, but approximately 30% of the executions fail randomly. The test code is exactly the same. We started to face this issue more frequently since February 26, 2025 10:52 GMT. Exactly after the update in Ubuntu 22.04 actions/runner-images@78d6387
Before this date the following issue occurred only 1-3 times per 1-3 weeks.
We hypothesized that it might be due to a chrome version update, and tried running the tests on the previous version, but they fail with the same frequency on both Google Chrome 133.0.6943.53 and 133.0.6943.126 versions
The issue seems to be absolutely the same as it was there #8292
And according to the comments under this issue it still reproduces for many people.
Tests are running in GH hosted agents (runs-on: ubuntu-22.04) with concurrency 2. browserInitTimeout is already huge, no issue with app under test.
We also have similar configuration of executions with playwright, no similar issues there. So we don't think the reason in GH hosted agent.
What is the Expected behavior?
Should work as other ~45 executions
What is the public URL of the test page? (attach your complete example)
N/A
What is your TestCafe test code?
N/A
Your complete configuration file
module.exports = {
screenshots: {
path: "./artifacts/screenshots",
takeOnFails: false,
pathPattern: "${DATE}${TIME}/${TEST}/${FILE_INDEX}${QUARANTINE_ATTEMPT}.png",
thumbnails: false
},
disableMultipleWindows: true,
browsers: "chrome:headless",
concurrency: 2,
skipJsErrors: true,
browserInitTimeout: 120000,
pageLoadTimeout: 60000,
pageRequestTimeout: 65000,
selectorTimeout: 20000,
testExecutionTimeout: 900000,
quarantineMode: false,
disableNativeAutomation: false,
testResults,
}
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
N/A
TestCafe version
3.7.0
Node.js version
v20
Command-line arguments
yarn testcafe
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
testcafe logs GH.log
The text was updated successfully, but these errors were encountered: