Skip to content

update: pageLoadError url updated #8383

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

Merged
merged 2 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/errors/test-run/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { getConcatenatedValuesString } from '../../utils/string';

const EXTERNAL_LINKS = {
createNewIssue: 'https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md',
troubleshootNetwork: 'https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx',
troubleshootNetwork: 'https://testcafe.io/documentation/403937/faq/working-with-testcafe#my-tests-fail-because-testcafe-cannot-resolve-a-network-request-what-are-the-possible-reasons',
viewportSizes: 'https://github.com/DevExpress/device-specs/blob/master/viewport-sizes.json',
skipJsErrorsRecipes: 'https://testcafe.io/documentation/404038/recipes/debugging/skip-javascript-errors',
};
Expand Down
2 changes: 1 addition & 1 deletion test/functional/fixtures/page-error/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Handle page error', function () {
.catch(function (errs) {
expect(errs[0]).contains('Failed to load the page at "http://some-unreachable.url/". ' +
'Increase the value of the "pageRequestTimeout" variable, enable the "retryTestPages" option, or use quarantine mode to perform additional attempts to execute this test. ' +
'You can find troubleshooting information for this issue at "https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".');
'You can find troubleshooting information for this issue at "https://testcafe.io/documentation/403937/faq/working-with-testcafe#my-tests-fail-because-testcafe-cannot-resolve-a-network-request-what-are-the-possible-reasons".');

expect(errs[0]).contains('Failed to find a DNS-record for the resource at "http://some-unreachable.url/"');
expect(errs[0]).contains("> 5 | await t.click('#unreachable-page-link');");
Expand Down
2 changes: 1 addition & 1 deletion test/server/data/expected-test-run-errors/page-load-error
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Failed to load the page at "http://some-url.example.com".
Increase the value of the "pageRequestTimeout" variable, enable the "retryTestPages" option, or use quarantine mode to perform additional attempts to execute this test.
You can find troubleshooting information for this issue at "https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".
You can find troubleshooting information for this issue at "https://testcafe.io/documentation/403937/faq/working-with-testcafe#my-tests-fail-because-testcafe-cannot-resolve-a-network-request-what-are-the-possible-reasons".

Error details:
Failed to find a DNS-record for the resource
Expand Down