@skbkontur/playwright-react-ui-components 1.14.2 → 1.15.0

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.
Files changed (106) hide show
  1. package/build/src/assertions/AutocompleteAssertions.js +9 -9
  2. package/build/src/assertions/ButtonAssertions.js +8 -8
  3. package/build/src/assertions/CheckboxAssertions.js +11 -11
  4. package/build/src/assertions/ComboBoxAssertions.js +8 -8
  5. package/build/src/assertions/ComponentListAssertions.js +5 -5
  6. package/build/src/assertions/CurrencyInputAssertions.js +8 -8
  7. package/build/src/assertions/DateInputAssertions.js +8 -8
  8. package/build/src/assertions/DatePickerAssertions.js +8 -8
  9. package/build/src/assertions/DateRangePickerAssertions.js +2 -2
  10. package/build/src/assertions/DropdownAssertions.js +8 -8
  11. package/build/src/assertions/DropdownMenuAssertions.js +4 -4
  12. package/build/src/assertions/FileUploaderAssertions.js +2 -2
  13. package/build/src/assertions/FxInputAssertions.js +8 -8
  14. package/build/src/assertions/InputAssertions.js +9 -9
  15. package/build/src/assertions/KebabAssertions.js +2 -2
  16. package/build/src/assertions/LabelAssertions.js +6 -6
  17. package/build/src/assertions/LinkAssertions.js +8 -8
  18. package/build/src/assertions/LoaderAssertions.js +1 -1
  19. package/build/src/assertions/MenuItemAssertations.js +4 -4
  20. package/build/src/assertions/PagingAssertions.js +2 -2
  21. package/build/src/assertions/PortalAssertions.js +2 -2
  22. package/build/src/assertions/RadioAssertions.js +12 -12
  23. package/build/src/assertions/RadioGroupAssertions.js +2 -2
  24. package/build/src/assertions/SelectAssertions.js +6 -6
  25. package/build/src/assertions/SpinnerAssertions.js +1 -1
  26. package/build/src/assertions/TabAssertions.js +8 -8
  27. package/build/src/assertions/TextareaAssertions.js +8 -8
  28. package/build/src/assertions/ToastAssertions.js +1 -1
  29. package/build/src/assertions/ToggleAssertions.js +10 -10
  30. package/build/src/assertions/TokenAssertions.js +7 -7
  31. package/build/src/assertions/TokenInputAssertions.js +6 -6
  32. package/build/src/assertions/TooltipAssertions.js +4 -4
  33. package/build/src/extensions/mergedExpects.d.ts +1 -2
  34. package/build/src/extensions/mergedExpects.js +1 -2
  35. package/build/src/matchers/component/toBeChecked.d.ts +3 -0
  36. package/build/src/matchers/component/{toBeCheckedEx.js → toBeChecked.js} +2 -2
  37. package/build/src/matchers/component/toBeCheckedByIndex.js +2 -2
  38. package/build/src/matchers/component/toBeCheckedByText.js +2 -2
  39. package/build/src/matchers/component/toBeCheckedByValue.js +2 -2
  40. package/build/src/matchers/component/toBeDisabled.d.ts +3 -0
  41. package/build/src/matchers/component/{toBeDisabledEx.js → toBeDisabled.js} +5 -5
  42. package/build/src/matchers/component/toBeEmpty.d.ts +3 -0
  43. package/build/src/matchers/component/{toBeEmptyEx.js → toBeEmpty.js} +4 -4
  44. package/build/src/matchers/component/toBeEnabled.d.ts +3 -0
  45. package/build/src/matchers/component/{toBeEnabledEx.js → toBeEnabled.js} +4 -4
  46. package/build/src/matchers/component/toBeFocused.d.ts +3 -0
  47. package/build/src/matchers/component/{toBeFocusedEx.js → toBeFocused.js} +2 -2
  48. package/build/src/matchers/component/toBeHidden.d.ts +3 -0
  49. package/build/src/matchers/component/{toBeHiddenEx.js → toBeHidden.js} +2 -2
  50. package/build/src/matchers/component/toBeUnchecked.js +1 -1
  51. package/build/src/matchers/component/toBeVisible.d.ts +3 -0
  52. package/build/src/matchers/component/{toBeVisibleEx.js → toBeVisible.js} +2 -2
  53. package/build/src/matchers/component/toContainFormattedText.d.ts +3 -0
  54. package/build/src/matchers/component/toContainFormattedText.js +77 -0
  55. package/build/src/matchers/component/toContainItem.d.ts +1 -1
  56. package/build/src/matchers/component/toContainItem.js +2 -1
  57. package/build/src/matchers/component/toContainItems.js +1 -1
  58. package/build/src/matchers/component/toContainTabs.js +2 -2
  59. package/build/src/matchers/component/toContainText.d.ts +3 -0
  60. package/build/src/matchers/component/{toContainTextEx.js → toContainText.js} +2 -2
  61. package/build/src/matchers/component/toContainTokens.js +2 -2
  62. package/build/src/matchers/component/toContainUploadedFiles.js +2 -2
  63. package/build/src/matchers/component/toHaveAttribute.d.ts +3 -0
  64. package/build/src/matchers/component/{toHaveAttributeEx.js → toHaveAttribute.js} +2 -2
  65. package/build/src/matchers/component/toHaveCount.d.ts +3 -0
  66. package/build/src/matchers/component/{toHaveCountEx.js → toHaveCount.js} +2 -2
  67. package/build/src/matchers/component/toHaveError.js +1 -1
  68. package/build/src/matchers/component/toHaveFormattedText.d.ts +3 -0
  69. package/build/src/matchers/component/toHaveFormattedText.js +77 -0
  70. package/build/src/matchers/component/toHaveFormattedValue.d.ts +3 -0
  71. package/build/src/matchers/component/toHaveFormattedValue.js +77 -0
  72. package/build/src/matchers/component/toHaveItems.js +1 -1
  73. package/build/src/matchers/component/toHaveText.d.ts +3 -0
  74. package/build/src/matchers/component/{toHaveTextEx.js → toHaveText.js} +2 -2
  75. package/build/src/matchers/component/{toHaveValueEx.d.ts → toHaveValue.d.ts} +1 -1
  76. package/build/src/matchers/component/{toHaveValueEx.js → toHaveValue.js} +6 -6
  77. package/build/src/matchers/component/toHaveWarning.js +1 -1
  78. package/build/src/matchers/componentMatchers.d.ts +178 -22
  79. package/build/src/matchers/componentMatchers.js +117 -48
  80. package/build/src/matchers/createAsyncMatcher.d.ts +36 -0
  81. package/build/src/matchers/createAsyncMatcher.js +76 -0
  82. package/build/src/matchers/index.d.ts +0 -1
  83. package/build/src/matchers/index.js +0 -1
  84. package/build/src/options/AssertionOptions.d.ts +1 -1
  85. package/build/src/utils/removeSpaces.d.ts +6 -0
  86. package/build/src/utils/removeSpaces.js +10 -0
  87. package/package.json +2 -2
  88. package/build/src/matchers/component/toBeCheckedEx.d.ts +0 -3
  89. package/build/src/matchers/component/toBeDisabledEx.d.ts +0 -3
  90. package/build/src/matchers/component/toBeEmptyEx.d.ts +0 -3
  91. package/build/src/matchers/component/toBeEnabledEx.d.ts +0 -3
  92. package/build/src/matchers/component/toBeFocusedEx.d.ts +0 -3
  93. package/build/src/matchers/component/toBeHiddenEx.d.ts +0 -3
  94. package/build/src/matchers/component/toBeVisibleEx.d.ts +0 -3
  95. package/build/src/matchers/component/toContainFormattedTextEx.d.ts +0 -3
  96. package/build/src/matchers/component/toContainFormattedTextEx.js +0 -55
  97. package/build/src/matchers/component/toContainTextEx.d.ts +0 -3
  98. package/build/src/matchers/component/toHaveAttributeEx.d.ts +0 -3
  99. package/build/src/matchers/component/toHaveCountEx.d.ts +0 -3
  100. package/build/src/matchers/component/toHaveFormattedTextEx.d.ts +0 -3
  101. package/build/src/matchers/component/toHaveFormattedTextEx.js +0 -56
  102. package/build/src/matchers/component/toHaveFormattedValueEx.d.ts +0 -3
  103. package/build/src/matchers/component/toHaveFormattedValueEx.js +0 -56
  104. package/build/src/matchers/component/toHaveTextEx.d.ts +0 -3
  105. package/build/src/matchers/formattedMatchers.d.ts +0 -21
  106. package/build/src/matchers/formattedMatchers.js +0 -129
@@ -65,7 +65,7 @@ var SelectAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toBeEnabledEx(options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toBeEnabled(options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var SelectAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toBeDisabledEx(options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toBeDisabled(options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var SelectAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toHaveValueEx(value, options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toHaveValue(value, options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var SelectAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).not.toHaveValueEx(value, options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).not.toHaveValue(value, options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -137,7 +137,7 @@ var SelectAssertions = /** @class */ (function (_super) {
137
137
  return __awaiter(this, void 0, void 0, function () {
138
138
  return __generator(this, function (_a) {
139
139
  switch (_a.label) {
140
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toBeFocusedEx(options)];
140
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).toBeFocused(options)];
141
141
  case 1:
142
142
  _a.sent();
143
143
  return [2 /*return*/];
@@ -149,7 +149,7 @@ var SelectAssertions = /** @class */ (function (_super) {
149
149
  return __awaiter(this, void 0, void 0, function () {
150
150
  return __generator(this, function (_a) {
151
151
  switch (_a.label) {
152
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).not.toBeFocusedEx(options)];
152
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.select).not.toBeFocused(options)];
153
153
  case 1:
154
154
  _a.sent();
155
155
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var SpinnerAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.spinner).toHaveTextEx(text, options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.spinner).toHaveText(text, options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var TabAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toBeEnabledEx(options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toBeEnabled(options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var TabAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toBeDisabledEx(options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toBeDisabled(options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var TabAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toHaveTextEx(text, options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toHaveText(text, options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var TabAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).not.toHaveTextEx(text, options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).not.toHaveText(text, options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -113,7 +113,7 @@ var TabAssertions = /** @class */ (function (_super) {
113
113
  return __awaiter(this, void 0, void 0, function () {
114
114
  return __generator(this, function (_a) {
115
115
  switch (_a.label) {
116
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toContainTextEx(text, options)];
116
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toContainText(text, options)];
117
117
  case 1:
118
118
  _a.sent();
119
119
  return [2 /*return*/];
@@ -125,7 +125,7 @@ var TabAssertions = /** @class */ (function (_super) {
125
125
  return __awaiter(this, void 0, void 0, function () {
126
126
  return __generator(this, function (_a) {
127
127
  switch (_a.label) {
128
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).not.toContainTextEx(text, options)];
128
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).not.toContainText(text, options)];
129
129
  case 1:
130
130
  _a.sent();
131
131
  return [2 /*return*/];
@@ -161,7 +161,7 @@ var TabAssertions = /** @class */ (function (_super) {
161
161
  return __awaiter(this, void 0, void 0, function () {
162
162
  return __generator(this, function (_a) {
163
163
  switch (_a.label) {
164
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toBeFocusedEx(options)];
164
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).toBeFocused(options)];
165
165
  case 1:
166
166
  _a.sent();
167
167
  return [2 /*return*/];
@@ -173,7 +173,7 @@ var TabAssertions = /** @class */ (function (_super) {
173
173
  return __awaiter(this, void 0, void 0, function () {
174
174
  return __generator(this, function (_a) {
175
175
  switch (_a.label) {
176
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).not.toBeFocusedEx(options)];
176
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tab).not.toBeFocused(options)];
177
177
  case 1:
178
178
  _a.sent();
179
179
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeEnabledEx(options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeEnabled(options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeDisabledEx(options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeDisabled(options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toHaveValueEx(value, options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toHaveValue(value, options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).not.toHaveValueEx(value, options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).not.toHaveValue(value, options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -113,7 +113,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
113
113
  return __awaiter(this, void 0, void 0, function () {
114
114
  return __generator(this, function (_a) {
115
115
  switch (_a.label) {
116
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeEmptyEx(options)];
116
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeEmpty(options)];
117
117
  case 1:
118
118
  _a.sent();
119
119
  return [2 /*return*/];
@@ -125,7 +125,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
125
125
  return __awaiter(this, void 0, void 0, function () {
126
126
  return __generator(this, function (_a) {
127
127
  switch (_a.label) {
128
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).not.toBeEmptyEx(options)];
128
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).not.toBeEmpty(options)];
129
129
  case 1:
130
130
  _a.sent();
131
131
  return [2 /*return*/];
@@ -137,7 +137,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
137
137
  return __awaiter(this, void 0, void 0, function () {
138
138
  return __generator(this, function (_a) {
139
139
  switch (_a.label) {
140
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeFocusedEx(options)];
140
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).toBeFocused(options)];
141
141
  case 1:
142
142
  _a.sent();
143
143
  return [2 /*return*/];
@@ -149,7 +149,7 @@ var TextareaAssertions = /** @class */ (function (_super) {
149
149
  return __awaiter(this, void 0, void 0, function () {
150
150
  return __generator(this, function (_a) {
151
151
  switch (_a.label) {
152
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).not.toBeFocusedEx(options)];
152
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.textarea).not.toBeFocused(options)];
153
153
  case 1:
154
154
  _a.sent();
155
155
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var ToastAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toast).toHaveTextEx(text, options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toast).toHaveText(text, options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeEnabledEx(options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeEnabled(options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeDisabledEx(options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeDisabled(options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeCheckedEx(options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeChecked(options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toBeCheckedEx(options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toBeChecked(options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -113,7 +113,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
113
113
  return __awaiter(this, void 0, void 0, function () {
114
114
  return __generator(this, function (_a) {
115
115
  switch (_a.label) {
116
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toHaveTextEx(text, options)];
116
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toHaveText(text, options)];
117
117
  case 1:
118
118
  _a.sent();
119
119
  return [2 /*return*/];
@@ -125,7 +125,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
125
125
  return __awaiter(this, void 0, void 0, function () {
126
126
  return __generator(this, function (_a) {
127
127
  switch (_a.label) {
128
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toHaveTextEx(text, options)];
128
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toHaveText(text, options)];
129
129
  case 1:
130
130
  _a.sent();
131
131
  return [2 /*return*/];
@@ -137,7 +137,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
137
137
  return __awaiter(this, void 0, void 0, function () {
138
138
  return __generator(this, function (_a) {
139
139
  switch (_a.label) {
140
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toContainTextEx(text, options)];
140
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toContainText(text, options)];
141
141
  case 1:
142
142
  _a.sent();
143
143
  return [2 /*return*/];
@@ -149,7 +149,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
149
149
  return __awaiter(this, void 0, void 0, function () {
150
150
  return __generator(this, function (_a) {
151
151
  switch (_a.label) {
152
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toContainTextEx(text, options)];
152
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toContainText(text, options)];
153
153
  case 1:
154
154
  _a.sent();
155
155
  return [2 /*return*/];
@@ -161,7 +161,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
161
161
  return __awaiter(this, void 0, void 0, function () {
162
162
  return __generator(this, function (_a) {
163
163
  switch (_a.label) {
164
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeFocusedEx(options)];
164
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).toBeFocused(options)];
165
165
  case 1:
166
166
  _a.sent();
167
167
  return [2 /*return*/];
@@ -173,7 +173,7 @@ var ToggleAssertions = /** @class */ (function (_super) {
173
173
  return __awaiter(this, void 0, void 0, function () {
174
174
  return __generator(this, function (_a) {
175
175
  switch (_a.label) {
176
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toBeFocusedEx(options)];
176
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.toggle).not.toBeFocused(options)];
177
177
  case 1:
178
178
  _a.sent();
179
179
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var TokenAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toBeEnabledEx(options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toBeEnabled(options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var TokenAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toBeDisabledEx(options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toBeDisabled(options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var TokenAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toHaveTextEx(text, options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toHaveText(text, options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var TokenAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).not.toHaveTextEx(text, options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).not.toHaveText(text, options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -116,7 +116,7 @@ var TokenAssertions = /** @class */ (function (_super) {
116
116
  return __awaiter(this, void 0, void 0, function () {
117
117
  return __generator(this, function (_a) {
118
118
  switch (_a.label) {
119
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toHaveFormattedTextEx(text, options)];
119
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toHaveFormattedText(text, options)];
120
120
  case 1:
121
121
  _a.sent();
122
122
  return [2 /*return*/];
@@ -128,7 +128,7 @@ var TokenAssertions = /** @class */ (function (_super) {
128
128
  return __awaiter(this, void 0, void 0, function () {
129
129
  return __generator(this, function (_a) {
130
130
  switch (_a.label) {
131
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toContainTextEx(text, options)];
131
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).toContainText(text, options)];
132
132
  case 1:
133
133
  _a.sent();
134
134
  return [2 /*return*/];
@@ -140,7 +140,7 @@ var TokenAssertions = /** @class */ (function (_super) {
140
140
  return __awaiter(this, void 0, void 0, function () {
141
141
  return __generator(this, function (_a) {
142
142
  switch (_a.label) {
143
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).not.toContainTextEx(text, options)];
143
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.token).not.toContainText(text, options)];
144
144
  case 1:
145
145
  _a.sent();
146
146
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var TokenInputAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeEnabledEx(options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeEnabled(options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var TokenInputAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeDisabledEx(options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeDisabled(options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var TokenInputAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeEmptyEx(options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeEmpty(options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var TokenInputAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).not.toBeEmptyEx(options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).not.toBeEmpty(options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -113,7 +113,7 @@ var TokenInputAssertions = /** @class */ (function (_super) {
113
113
  return __awaiter(this, void 0, void 0, function () {
114
114
  return __generator(this, function (_a) {
115
115
  switch (_a.label) {
116
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeFocusedEx(options)];
116
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).toBeFocused(options)];
117
117
  case 1:
118
118
  _a.sent();
119
119
  return [2 /*return*/];
@@ -125,7 +125,7 @@ var TokenInputAssertions = /** @class */ (function (_super) {
125
125
  return __awaiter(this, void 0, void 0, function () {
126
126
  return __generator(this, function (_a) {
127
127
  switch (_a.label) {
128
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).not.toBeFocusedEx(options)];
128
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tokenInput).not.toBeFocused(options)];
129
129
  case 1:
130
130
  _a.sent();
131
131
  return [2 /*return*/];
@@ -65,7 +65,7 @@ var TooltipAssertions = /** @class */ (function (_super) {
65
65
  return __awaiter(this, void 0, void 0, function () {
66
66
  return __generator(this, function (_a) {
67
67
  switch (_a.label) {
68
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).toHaveTextEx(text, options)];
68
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).toHaveText(text, options)];
69
69
  case 1:
70
70
  _a.sent();
71
71
  return [2 /*return*/];
@@ -77,7 +77,7 @@ var TooltipAssertions = /** @class */ (function (_super) {
77
77
  return __awaiter(this, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
79
  switch (_a.label) {
80
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).not.toHaveTextEx(text, options)];
80
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).not.toHaveText(text, options)];
81
81
  case 1:
82
82
  _a.sent();
83
83
  return [2 /*return*/];
@@ -89,7 +89,7 @@ var TooltipAssertions = /** @class */ (function (_super) {
89
89
  return __awaiter(this, void 0, void 0, function () {
90
90
  return __generator(this, function (_a) {
91
91
  switch (_a.label) {
92
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).toContainTextEx(text, options)];
92
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).toContainText(text, options)];
93
93
  case 1:
94
94
  _a.sent();
95
95
  return [2 /*return*/];
@@ -101,7 +101,7 @@ var TooltipAssertions = /** @class */ (function (_super) {
101
101
  return __awaiter(this, void 0, void 0, function () {
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
104
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).not.toContainTextEx(text, options)];
104
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(this.tooltip).not.toContainText(text, options)];
105
105
  case 1:
106
106
  _a.sent();
107
107
  return [2 /*return*/];
@@ -1,5 +1,4 @@
1
1
  import type { Expect } from '@playwright/test';
2
- import { type FormattedMatchers } from '../matchers';
3
2
  import { type ComponentMatchers } from '../matchers';
4
- export type ExtendedExpect = Expect<FormattedMatchers & ComponentMatchers>;
3
+ export type ExtendedExpect = Expect<ComponentMatchers>;
5
4
  export declare const expect: ExtendedExpect;
@@ -3,5 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.expect = void 0;
4
4
  var test_1 = require("@playwright/test");
5
5
  var matchers_1 = require("../matchers");
6
- var matchers_2 = require("../matchers");
7
- exports.expect = (0, test_1.mergeExpects)(test_1.expect, matchers_1.formattedMatchers, matchers_2.componentMatchers);
6
+ exports.expect = (0, test_1.mergeExpects)(test_1.expect, matchers_1.componentMatchers);
@@ -0,0 +1,3 @@
1
+ import { type ToBeCheckableElementLocator } from './LocatorSymbols';
2
+ import type { CheckedOptions } from '../../options';
3
+ export declare const toBeChecked: (this: import("@playwright/test").ExpectMatcherState, component: ToBeCheckableElementLocator, args_0?: CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
@@ -36,11 +36,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toBeCheckedEx = void 0;
39
+ exports.toBeChecked = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var LocatorSymbols_1 = require("./LocatorSymbols");
42
42
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
43
- exports.toBeCheckedEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toBeCheckedEx', function (component) { return component[LocatorSymbols_1.toCheckableElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
43
+ exports.toBeChecked = (0, createAsyncMatcher_1.createSymbolMatcher)('toBeChecked', LocatorSymbols_1.toCheckableElementLocator, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
44
44
  var expectation;
45
45
  var isNot = _b.isNot, locator = _b.locator;
46
46
  return __generator(this, function (_c) {
@@ -48,11 +48,11 @@ exports.toBeCheckedByIndex = (0, createAsyncMatcher_1.createComponentAsyncMatche
48
48
  case 1:
49
49
  radio = _c.sent();
50
50
  if (!isNot) return [3 /*break*/, 3];
51
- return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeCheckedEx(options)];
51
+ return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeChecked(options)];
52
52
  case 2:
53
53
  _c.sent();
54
54
  return [3 /*break*/, 5];
55
- case 3: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeCheckedEx(options)];
55
+ case 3: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeChecked(options)];
56
56
  case 4:
57
57
  _c.sent();
58
58
  _c.label = 5;
@@ -48,11 +48,11 @@ exports.toBeCheckedByText = (0, createAsyncMatcher_1.createComponentAsyncMatcher
48
48
  case 1:
49
49
  radio = _c.sent();
50
50
  if (!isNot) return [3 /*break*/, 3];
51
- return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeCheckedEx(options)];
51
+ return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeChecked(options)];
52
52
  case 2:
53
53
  _c.sent();
54
54
  return [3 /*break*/, 5];
55
- case 3: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeCheckedEx(options)];
55
+ case 3: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeChecked(options)];
56
56
  case 4:
57
57
  _c.sent();
58
58
  _c.label = 5;
@@ -48,11 +48,11 @@ exports.toBeCheckedByValue = (0, createAsyncMatcher_1.createComponentAsyncMatche
48
48
  case 1:
49
49
  radio = _c.sent();
50
50
  if (!isNot) return [3 /*break*/, 3];
51
- return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeCheckedEx(options)];
51
+ return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeChecked(options)];
52
52
  case 2:
53
53
  _c.sent();
54
54
  return [3 /*break*/, 5];
55
- case 3: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeCheckedEx(options)];
55
+ case 3: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeChecked(options)];
56
56
  case 4:
57
57
  _c.sent();
58
58
  _c.label = 5;
@@ -0,0 +1,3 @@
1
+ import type { AttributeOptions, EnabledOptions } from '../../options';
2
+ import type { ControlElementLocator } from './LocatorSymbols';
3
+ export declare const toBeDisabled: (this: import("@playwright/test").ExpectMatcherState, component: ControlElementLocator, args_0?: EnabledOptions | AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
@@ -36,14 +36,14 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toBeDisabledEx = void 0;
39
+ exports.toBeDisabled = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var components_1 = require("../../components");
42
42
  var utils_1 = require("../../utils");
43
43
  var extensions_1 = require("../../extensions");
44
44
  var LocatorSymbols_1 = require("./LocatorSymbols");
45
45
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
46
- exports.toBeDisabledEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toBeDisabledEx', function (component) { return component[LocatorSymbols_1.toControlElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
46
+ exports.toBeDisabled = (0, createAsyncMatcher_1.createSymbolMatcher)('toBeDisabled', LocatorSymbols_1.toControlElementLocator, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
47
47
  var _c, expectation;
48
48
  var isNot = _b.isNot, locator = _b.locator, component = _b.component;
49
49
  return __generator(this, function (_d) {
@@ -138,11 +138,11 @@ function checkRadioGroup(component, isNot, options) {
138
138
  if (!(_i < radios_1.length)) return [3 /*break*/, 7];
139
139
  radio = radios_1[_i];
140
140
  if (!isNot) return [3 /*break*/, 4];
141
- return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeDisabledEx(options)];
141
+ return [4 /*yield*/, (0, extensions_1.expect)(radio).not.toBeDisabled(options)];
142
142
  case 3:
143
143
  _a.sent();
144
144
  return [3 /*break*/, 6];
145
- case 4: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeDisabledEx(options)];
145
+ case 4: return [4 /*yield*/, (0, extensions_1.expect)(radio).toBeDisabled(options)];
146
146
  case 5:
147
147
  _a.sent();
148
148
  _a.label = 6;
@@ -161,7 +161,7 @@ function checkAttribute(component, isNot, options) {
161
161
  switch (_a.label) {
162
162
  case 0:
163
163
  expectation = isNot ? (0, extensions_1.expect)(component).not : (0, extensions_1.expect)(component);
164
- return [4 /*yield*/, expectation.toHaveAttributeEx(utils_1.DataVisualState.Disabled, undefined, options)];
164
+ return [4 /*yield*/, expectation.toHaveAttribute(utils_1.DataVisualState.Disabled, undefined, options)];
165
165
  case 1:
166
166
  _a.sent();
167
167
  return [2 /*return*/];
@@ -0,0 +1,3 @@
1
+ import type { EmptyOptions } from '../../options';
2
+ import type { ToWithValueElementLocator } from './LocatorSymbols';
3
+ export declare const toBeEmpty: (this: import("@playwright/test").ExpectMatcherState, component: ToWithValueElementLocator, args_0?: EmptyOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
@@ -36,13 +36,13 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toBeEmptyEx = void 0;
39
+ exports.toBeEmpty = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var components_1 = require("../../components");
42
42
  var extensions_1 = require("../../extensions");
43
43
  var LocatorSymbols_1 = require("./LocatorSymbols");
44
44
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
45
- exports.toBeEmptyEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toBeEmptyEx', function (component) { return component[LocatorSymbols_1.toValueElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
45
+ exports.toBeEmpty = (0, createAsyncMatcher_1.createSymbolMatcher)('toBeEmpty', LocatorSymbols_1.toValueElementLocator, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
46
46
  var _c, expectation;
47
47
  var isNot = _b.isNot, locator = _b.locator, component = _b.component;
48
48
  return __generator(this, function (_d) {
@@ -108,10 +108,10 @@ function checkDateRangePicker(component) {
108
108
  return __awaiter(this, void 0, void 0, function () {
109
109
  return __generator(this, function (_a) {
110
110
  switch (_a.label) {
111
- case 0: return [4 /*yield*/, (0, extensions_1.expect)(component.datePickerStart).toBeEmptyEx()];
111
+ case 0: return [4 /*yield*/, (0, extensions_1.expect)(component.datePickerStart).toBeEmpty()];
112
112
  case 1:
113
113
  _a.sent();
114
- return [4 /*yield*/, (0, extensions_1.expect)(component.datePickerEnd).toBeEmptyEx()];
114
+ return [4 /*yield*/, (0, extensions_1.expect)(component.datePickerEnd).toBeEmpty()];
115
115
  case 2:
116
116
  _a.sent();
117
117
  return [2 /*return*/];
@@ -0,0 +1,3 @@
1
+ import type { EnabledOptions } from '../../options';
2
+ import type { ControlElementLocator } from './LocatorSymbols';
3
+ export declare const toBeEnabled: (this: import("@playwright/test").ExpectMatcherState, component: ControlElementLocator, args_0?: EnabledOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;