Skip to content

Commit c95923e

Browse files
BayheckBayheck
and
Bayheck
authored
update: pageLoadError url updated (#8383)
<!-- Thank you for your contribution. Before making a PR, please read our contributing guidelines at https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution We recommend creating a *draft* PR, so that you can mark it as 'ready for review' when you are done. --> ## Purpose _Describe the problem you want to address or the feature you want to implement._ ## Approach _Describe how your changes address the issue or implement the desired functionality in as much detail as possible._ ## References closes DevExpress/testcafe-private#548 ## Pre-Merge TODO - [ ] Write tests for your proposed changes - [ ] Make sure that existing tests do not fail --------- Co-authored-by: Bayheck <[email protected]>
1 parent 0ea2d20 commit c95923e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/errors/test-run/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { getConcatenatedValuesString } from '../../utils/string';
1313

1414
const EXTERNAL_LINKS = {
1515
createNewIssue: 'https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md',
16-
troubleshootNetwork: 'https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx',
16+
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',
1717
viewportSizes: 'https://github.com/DevExpress/device-specs/blob/master/viewport-sizes.json',
1818
skipJsErrorsRecipes: 'https://testcafe.io/documentation/404038/recipes/debugging/skip-javascript-errors',
1919
};

test/functional/fixtures/page-error/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ describe('Handle page error', function () {
66
.catch(function (errs) {
77
expect(errs[0]).contains('Failed to load the page at "http://some-unreachable.url/". ' +
88
'Increase the value of the "pageRequestTimeout" variable, enable the "retryTestPages" option, or use quarantine mode to perform additional attempts to execute this test. ' +
9-
'You can find troubleshooting information for this issue at "https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".');
9+
'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".');
1010

1111
expect(errs[0]).contains('Failed to find a DNS-record for the resource at "http://some-unreachable.url/"');
1212
expect(errs[0]).contains("> 5 | await t.click('#unreachable-page-link');");

test/server/data/expected-test-run-errors/page-load-error

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Failed to load the page at "http://some-url.example.com".
22
Increase the value of the "pageRequestTimeout" variable, enable the "retryTestPages" option, or use quarantine mode to perform additional attempts to execute this test.
3-
You can find troubleshooting information for this issue at "https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".
3+
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".
44

55
Error details:
66
Failed to find a DNS-record for the resource

0 commit comments

Comments
 (0)