UNPKG

@nice-digital/wdio-cucumber-steps

Version:

Shared step definitions for Cucumber JS BDD tests in WebdriverIO

16 lines 608 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkIsEmpty = void 0; const checkContainsAnyText_1 = require("./checkContainsAnyText"); async function checkIsEmpty(elementType, element, falseCase) { let newFalseCase = true; if (typeof falseCase === "function") { newFalseCase = false; } else if (falseCase === " not") { newFalseCase = false; } await (0, checkContainsAnyText_1.checkContainsAnyText)(elementType, element, newFalseCase); } exports.checkIsEmpty = checkIsEmpty; //# sourceMappingURL=checkIsEmpty.js.map