playwright-ts-automationframework 1.1.19 → 1.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -420,7 +420,7 @@ var Assertion = /** @class */ (function (_super) {
|
|
|
420
420
|
return __awaiter(this, void 0, void 0, function () {
|
|
421
421
|
return __generator(this, function (_a) {
|
|
422
422
|
switch (_a.label) {
|
|
423
|
-
case 0: return [4 /*yield*/, control.controlLocator.
|
|
423
|
+
case 0: return [4 /*yield*/, control.controlLocator.inputValue().then(function (value) {
|
|
424
424
|
var verificationResult = value === expectedText ? "PASSED" : "Failed";
|
|
425
425
|
(0, logs_core_1.logVerification)("VERIFICATION: ".concat(verificationResult, ". Expected: '").concat(expectedText, "' Actual: '").concat(value, "'"));
|
|
426
426
|
(0, test_1.expect)(value).toEqual(expectedText);
|