Describe the bug
"Navigation took more than 30000ms. Please increase the navigationTimeout" - working locally but issue in GitLab pipeline
To Reproduce
Steps (or script) to reproduce the behavior:
- Open the browser (chrome) in headless mode
await openBrowser({
headless: headless,
args: ["--no-sandbox"]
});
console.log('Browser opened.');
gauge.message('Browser opened.');
- Goto url
await goto(url);
tried all the below solutions, but none is working -
- goto(url, {waitForEvents:['firstMeaningfulPaint']});
- goto(url,{timeout:90000});
- goto(url,{timeout:120000});
- goto(url,{waitForEvents:['loadEventFired']});
- goto(url,{navigationTimeout:90000});
- goto(url,{navigationTimeout:120000});
- goto(url,{ waitForStart: 0 });
-
Script is working locally but issue in GitLab pipeline
-
See error
"Navigation took more than 30000ms. Please increase the navigationTimeout"
Logs
Paste any log or error messages here
Error Message: Error: Navigation took more than 30000ms. Please increase the navigationTimeout.
Stacktrace:
Error: Navigation took more than 30000ms. Please increase the navigationTimeout.
at doActionAwaitingNavigation (node_modules/taiko/lib/doActionAwaitingNavigation.js:66:13)
at async module.exports.goto (node_modules/taiko/lib/taiko.js:744:3)
at async module.exports.<computed> (node_modules/taiko/lib/taiko.js:2620:14)
at async Object.<anonymous> (tests/step_implementation.js:36:5)

Expected behavior
The script should run in the CI/CD pipeline as it is running locally
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
- Taiko: Version: 1.3.9 (Chromium: 110.0.5478.0) RELEASE
- OS: MacOS Version 13.3.1 (22E261)
- Node.js: v16.14.0
Gauge version: 1.4.3
Plugins
-------
html-report (4.2.0)
js (2.4.0)
python (0.3.17)
screenshot (0.1.0)
Additional context
.gitlab-ci.yml file

Describe the bug
"Navigation took more than 30000ms. Please increase the navigationTimeout" - working locally but issue in GitLab pipeline
To Reproduce
Steps (or script) to reproduce the behavior:
await goto(url);tried all the below solutions, but none is working -
Script is working locally but issue in GitLab pipeline
See error
"Navigation took more than 30000ms. Please increase the navigationTimeout"
Logs
Expected behavior
The script should run in the CI/CD pipeline as it is running locally
Screenshots
If applicable, add screenshots to help explain your problem.
Versions:
Additional context

.gitlab-ci.yml file