0.0.5 • Published 2 years ago

testcafe-once-hook v0.0.5

Weekly downloads
516
License
MIT
Repository
github
Last release
2 years ago

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.
0.0.5

2 years ago

0.0.4

4 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago