Skip to content
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

Update dependency testcafe to v0.20.0 #127

Merged
merged 1 commit into from May 16, 2018
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2018

This Pull Request updates dependency testcafe from v0.19.2 to v0.20.0

Release Notes

v0.20.0

Compare Source

Request Hooks: Intercepting HTTP requests (#​1341)

TestCafe now allows you to record HTTP request data or mock responses. You can also create a custom HTTP request hook to emulate authentications like Kerberos or Client Certificate Authentication.

See Intercepting HTTP Requests for more information.

Enhancements
⚙️ Specifying resources accessed by bypassing a proxy server (#​1791)

TestCafe now allows you to bypass the proxy server when accessing specific resources.

To specify resources that require direct access, use the --proxy-bypass flag in the command line or the useProxy API method's parameters.

testcafe chrome my-tests/**/*.js --proxy proxy.corp.mycompany.com --proxy-bypass localhost:8080,internal-resource.corp.mycompany.com
runner.useProxy('172.0.10.10:8080', ['localhost:8080', 'internal-resource.corp.mycompany.com']);
⚙️ Specifying testing metadata (#​2242)

TestCafe allows you to specify additional information for tests in the form of key-value metadata and use it in reports.

You can define metadata for a fixture or a test using the meta method:

fixture `My Fixture`
    .meta('fixtureID', 'f-0001')
    .meta({ author: 'John', creationDate: '05/03/2018' });
test
    .meta('testID', 't-0005')
    .meta({ severity: 'critical', testedAPIVersion: '1.0' })
    ('MyTest', async t => { /* ... */});

To include testing metadata to reports, use the custom reporter methods.

⚙️ Passing a regular promise to t.expect is deprecated now (#​2207)

TestCafe now throws an error if you pass a regular promise to the assertion's expect method.

If you need to assert a regular promise, set the allowUnawaitedPromise option to true.

await t.expect(doSomethingAsync()).ok('check that a promise is returned', { allowUnawaitedPromise: true });
Bug Fixes
  • The session recovery bubble in Firefox is disabled (#​2341)
  • TestCafe works properly if a body element has the pointer-events: none; css style rule (#​2251)
  • Resizing Chrome in the emulation mode works correctly (#​2154)
  • The location port is used for service messages (#​2308)
  • A browser instance shuts down correctly on Unix systems (#​2226)
  • An Integrity attribute is removed from script and link tags (testcafe-hammerhead/#​235)
  • The event.preventDefault() method call changes the event.defaultPrevented property value (testcafe-hammerhead/#​1588)
  • It is possible to set the meta element's content attribute (testcafe-hammerhead/#​1586)
  • TestCafe no longer overrides attributes used in a non-standard way with null (testcafe-hammerhead/#​1583)
  • The Change event fires correctly if the target.value changes (#​2319)
  • MouseEvent.screenX and MouseEvent.screenY are added to the emulated events (#​2325)
  • Cookies on localhost are processed correctly (testcafe-hammerhead/#​1491)
  • Setting the // url for an image works correctly (#​2312)
  • shadowUI internal elements are no longer processed (#​2281)
  • typeInput event is raised correctly (#​1956)
  • Selecting text in contenteditable elements works properly (#​2301)


This PR has been generated by Renovate Bot.

@react-tether-bot
Copy link

Messages
📖

Hey @renovate[bot], thanks for submitting a pull request! 😸

📖

🤔 Hmmm, code coverage is looking low for the whole codebase.

Coverage in All Files

File Line Coverage Statement Coverage Function Coverage Branch Coverage
src/react-tether.js (0/0) 100% (0/0) 100% (0/0) 100% (0/0) 100%
src/TetherComponent.jsx (67/80) 84% (67/80) 84% (17/24) 71% (35/46) 76%
Total (67/80) 84% (67/80) 84% (17/24) 71% (35/46) 76%

Generated by 🚫 dangerJS

@coveralls
Copy link

Pull Request Test Coverage Report for Build 212

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 80.952%

Totals Coverage Status
Change from base Build 206: 0.0%
Covered Lines: 67
Relevant Lines: 80

💛 - Coveralls

@danreeves danreeves merged commit 2acf780 into master May 16, 2018
@danreeves danreeves deleted the renovate/testcafe-0.x branch May 16, 2018 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants