UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (13 loc) 473 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pause = void 0; const step_1 = require("../step"); const useContext_1 = require("../useContext"); /** * Pauses the test and switches to the step-by-step execution mode. */ const pause = () => (0, step_1.step)('Pause', async () => { const page = (0, useContext_1.getPlaywrightPage)(); await page.pause(); }, { type: 5 /* LogEventType.InternalAction */ }); exports.pause = pause;