Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 15, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
testcafe (source) 1.10.1 -> 1.11.0 age adoption passing confidence

Release Notes

DevExpress/testcafe

v1.11.0

Compare Source

Enhancements
⚙️ Set Request Timeouts (PR #​5692)

TestCafe now enables you to set request timeouts. If TestCafe receives no response within the specified period, it throws an error.

CLI

testcafe chrome my-tests --ajax-request-timeout 40000 --page-request-timeout 8000

Configuration file

{
    "pageRequestTimeout": 8000,
    "ajaxRequestTimeout": 40000
}

JavaScript API

These options are available in the runner.run Method.

const createTestCafe = require('testcafe');

const testcafe = await createTestCafe('localhost', 1337, 1338);

try {
    const runner = testcafe.createRunner();

    const failed = await runner.run({
        pageRequestTimeout: 8000,
        ajaxRequestTimeout: 40000
    });

    console.log('Tests failed: ' + failed);
}
finally {
    await testcafe.close();
}
⚙️ Set Browser Initialization Timeout (PR #​5720)

This release introduces an option to control browser initialization timeout. This timeout controls the time browsers have to connect to TestCafe before an error is thrown. You can control this timeout in one of the following ways:

testcafe chrome my-tests --browser-init-timeout 180000
{
    "browserInitTimeout": 180000
}
runner.run({ "browserInitTimeout": 180000 })

This setting sets an equal timeout for local and remote browsers.

Improved Unable To Establish Browser Connection Error Message (PR #​5720)

TestCafe raises this error when at least one local or remote browser was not able to connect. The error message now includes the number of browsers that have not established a connection.

TestCafe raises a warning if low system performance is causing the connectivity issue.

⚙️ An Option to Retry Requests for the Test Page (PR #​5738)

If a tested webpage was not served after the first request, TestCafe can now retry the request.

You can enable this functionality with a command line, API, or configuration file option:

  • the --retry-test-pages command line argument

    testcafe chrome test.js --retry-test-pages
  • the runner.run option

    runner.run({
        retryTestPages: true
    });
  • the retryTestPages configuration file property

    {
        "retryTestPages": true
    }
Bug Fixes
Vulnerability Fix (PR #​5843, PR testcafe-hammerhead#​2531)

We have fixed a vulnerability found in the debug module we use for debugging.
The vulnerability was a ReDos Vulnerability Regression that affected all TestCafe users. TestCafe now uses debug@4.3.1, where the issue is fixed.


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot added automerge dependencies Pull requests that update a dependency file labels Feb 15, 2021
@codecov-io
Copy link

Codecov Report

Merging #96 (dcb9b16) into master (b34d1a2) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #96   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines           30        30           
  Branches         1         1           
=========================================
  Hits            30        30           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b34d1a2...dcb9b16. Read the comment docs.

@Meemaw Meemaw merged commit ec7fc37 into master Feb 15, 2021
@renovate renovate bot deleted the renovate/monorepo-testcafe branch February 15, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants