UNPKG

e2ed

Version:

E2E testing framework over Playwright

20 lines (19 loc) 802 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TEST_ENDED_ERROR_MESSAGE = exports.TARGET_CLOSED_ERROR_MESSAGE = exports.OBJECT_NOT_BOUND_ERROR_REGEXP = void 0; /** * Playwright error message for some connection error. * The test fails after such an error, so it cannot be completely ignored (we write it in the warning). * @internal */ exports.OBJECT_NOT_BOUND_ERROR_REGEXP = /Object with guid response@[a-zA-Z0-9]+ was not bound in the connection/; /** * Playwright error message for already closed target (`TargetClosedError`). * @internal */ exports.TARGET_CLOSED_ERROR_MESSAGE = 'Target page, context or browser has been closed'; /** * Playwright error message for already ended test. * @internal */ exports.TEST_ENDED_ERROR_MESSAGE = 'Test ended.';