This package has been deprecated

Author message:

The testcafe-once-hook package has reached end-of-life and will not receive further updates.

testcafe-once-hook

0.0.5 • Public • Published

testcafe-once-hook

This module provides TestCafe hooks executed once in a single browser even when you run tests in multiple browsers. This functionality is a workaround for the issue described in #1345.

The testcafe-once-hook module exports two functions:

  • oncePerFixture runs in the first specified browser before and after all tests in a fixture. Unlike the fixture.before and fixture.after hooks designed for server-side operations, oncePerFixture allows you to execute test actions in the browser.
  • oncePerTest runs in the first specified browser before and after each test in a fixture, while regular beforeEach and afterEach hooks run in every browser.

Readme

Keywords

none

Package Sidebar

Install

npm i testcafe-once-hook

Weekly Downloads

136

Version

0.0.5

License

MIT

Unpacked Size

6.17 kB

Total Files

4

Last publish

Collaborators

  • aleks-pro
  • aleksey_popov
  • alexkamaev
  • dmitry-ostashev
  • kirovboris
  • miherlosev