@skbkontur/playwright-react-ui-components 1.14.0-beta.1 → 1.14.0-beta.2

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 (117) hide show
  1. package/build/src/assertions/AutocompleteAssertions.js +1 -1
  2. package/build/src/assertions/CheckboxAssertions.js +1 -1
  3. package/build/src/assertions/ComboBoxAssertions.js +4 -4
  4. package/build/src/assertions/DropdownAssertions.js +4 -4
  5. package/build/src/assertions/DropdownMenuAssertions.js +4 -4
  6. package/build/src/assertions/FileUploaderAssertions.js +1 -1
  7. package/build/src/assertions/FxInputAssertions.js +2 -2
  8. package/build/src/assertions/InputAssertions.js +1 -1
  9. package/build/src/assertions/KebabAssertions.js +4 -4
  10. package/build/src/assertions/LabelAssertions.js +2 -2
  11. package/build/src/assertions/LinkAssertions.js +2 -2
  12. package/build/src/assertions/PagingAssertions.js +2 -2
  13. package/build/src/assertions/RadioGroupAssertions.js +6 -6
  14. package/build/src/assertions/SelectAssertions.js +2 -2
  15. package/build/src/assertions/TabAssertions.js +2 -2
  16. package/build/src/assertions/TabsAssertions.js +3 -3
  17. package/build/src/assertions/TokenAssertions.js +1 -1
  18. package/build/src/assertions/TokenInputAssertions.js +1 -1
  19. package/build/src/components/ComboBox.d.ts +1 -2
  20. package/build/src/components/ComboBox.js +53 -54
  21. package/build/src/components/Dropdown.d.ts +1 -2
  22. package/build/src/components/Dropdown.js +61 -62
  23. package/build/src/components/DropdownMenu.d.ts +1 -2
  24. package/build/src/components/DropdownMenu.js +61 -62
  25. package/build/src/components/Kebab.d.ts +1 -2
  26. package/build/src/components/Kebab.js +43 -44
  27. package/build/src/components/MenuComponent.d.ts +2 -1
  28. package/build/src/components/MenuComponent.js +6 -5
  29. package/build/src/matchers/component/toBeActiveTab.d.ts +3 -0
  30. package/build/src/matchers/component/{toBeActiveEx.js → toBeActiveTab.js} +2 -2
  31. package/build/src/matchers/component/toBeAutoMode.d.ts +3 -0
  32. package/build/src/matchers/component/{toBeAutoEx.js → toBeAutoMode.js} +2 -2
  33. package/build/src/matchers/component/toBeCheckedByIndex.d.ts +3 -0
  34. package/build/src/matchers/component/{toBeUncheckedByIndexEx.js → toBeCheckedByIndex.js} +4 -4
  35. package/build/src/matchers/component/toBeCheckedByText.d.ts +3 -0
  36. package/build/src/matchers/component/{toBeCheckedByTextEx.js → toBeCheckedByText.js} +2 -2
  37. package/build/src/matchers/component/toBeCheckedByValue.d.ts +3 -0
  38. package/build/src/matchers/component/{toBeCheckedByValueEx.js → toBeCheckedByValue.js} +2 -2
  39. package/build/src/matchers/component/toBeDisabledEx.d.ts +1 -1
  40. package/build/src/matchers/component/toBeDisabledEx.js +7 -8
  41. package/build/src/matchers/component/toBeEmptyEx.d.ts +1 -1
  42. package/build/src/matchers/component/toBeEmptyEx.js +4 -5
  43. package/build/src/matchers/component/toBeEnabledEx.js +15 -25
  44. package/build/src/matchers/component/toBeHiddenEx.js +1 -2
  45. package/build/src/matchers/component/toBeInactiveTab.d.ts +3 -0
  46. package/build/src/matchers/component/{toBeInactiveEx.js → toBeInactiveTab.js} +2 -2
  47. package/build/src/matchers/component/toBeUnchecked.d.ts +3 -0
  48. package/build/src/matchers/component/{toBeUncheckedEx.js → toBeUnchecked.js} +2 -2
  49. package/build/src/matchers/component/{toBeCheckedByIndexEx.d.ts → toBeUncheckedByIndex.d.ts} +2 -2
  50. package/build/src/matchers/component/{toBeCheckedByIndexEx.js → toBeUncheckedByIndex.js} +4 -4
  51. package/build/src/matchers/component/{toBeCheckedByTextEx.d.ts → toBeUncheckedByText.d.ts} +2 -2
  52. package/build/src/matchers/component/{toBeUncheckedByTextEx.js → toBeUncheckedByText.js} +3 -3
  53. package/build/src/matchers/component/{toBeCheckedByValueEx.d.ts → toBeUncheckedByValue.d.ts} +2 -2
  54. package/build/src/matchers/component/{toBeUncheckedByValueEx.js → toBeUncheckedByValue.js} +3 -3
  55. package/build/src/matchers/component/toBeVisibleEx.js +1 -2
  56. package/build/src/matchers/component/toContainFormattedText.d.ts +3 -0
  57. package/build/src/matchers/component/{toContainFormattedTextEx.js → toContainFormattedText.js} +2 -2
  58. package/build/src/matchers/component/toContainItem.d.ts +4 -0
  59. package/build/src/matchers/component/{toContainItemEx.js → toContainItem.js} +2 -3
  60. package/build/src/matchers/component/toContainItems.d.ts +3 -0
  61. package/build/src/matchers/component/{toContainItemsEx.js → toContainItems.js} +4 -4
  62. package/build/src/matchers/component/toContainSelectValue.d.ts +3 -0
  63. package/build/src/matchers/component/{toContainValueEx.js → toContainSelectValue.js} +2 -2
  64. package/build/src/matchers/component/toContainTabs.d.ts +3 -0
  65. package/build/src/matchers/component/{toContainTabsEx.js → toContainTabs.js} +2 -2
  66. package/build/src/matchers/component/{toContainTokensEx.d.ts → toContainTokens.d.ts} +1 -1
  67. package/build/src/matchers/component/{toContainTokensEx.js → toContainTokens.js} +2 -2
  68. package/build/src/matchers/component/toContainUploadedFiles.d.ts +4 -0
  69. package/build/src/matchers/component/{toContainUploadedFilesEx.js → toContainUploadedFiles.js} +2 -2
  70. package/build/src/matchers/component/{toHavePageCountEx.d.ts → toHaveActivePage.d.ts} +1 -1
  71. package/build/src/matchers/component/{toHaveActivePageEx.js → toHaveActivePage.js} +2 -2
  72. package/build/src/matchers/component/toHaveActiveTab.d.ts +2 -0
  73. package/build/src/matchers/component/{toHaveActiveTabEx.js → toHaveActiveTab.js} +4 -4
  74. package/build/src/matchers/component/toHaveError.d.ts +3 -0
  75. package/build/src/matchers/component/{toHaveWarningEx.js → toHaveError.js} +3 -3
  76. package/build/src/matchers/component/toHaveFormattedText.d.ts +3 -0
  77. package/build/src/matchers/component/{toHaveFormattedTextEx.js → toHaveFormattedText.js} +2 -2
  78. package/build/src/matchers/component/toHaveFormattedValue.d.ts +3 -0
  79. package/build/src/matchers/component/{toHaveFormattedValueEx.js → toHaveFormattedValue.js} +2 -2
  80. package/build/src/matchers/component/toHaveHref.d.ts +3 -0
  81. package/build/src/matchers/component/{toHaveHrefEx.js → toHaveHref.js} +2 -2
  82. package/build/src/matchers/component/toHaveItems.d.ts +3 -0
  83. package/build/src/matchers/component/{toHaveItemsEx.js → toHaveItems.js} +4 -4
  84. package/build/src/matchers/component/{toHaveActivePageEx.d.ts → toHavePageCount.d.ts} +1 -1
  85. package/build/src/matchers/component/{toHavePageCountEx.js → toHavePageCount.js} +2 -2
  86. package/build/src/matchers/component/toHaveValueEx.d.ts +1 -1
  87. package/build/src/matchers/component/toHaveValueEx.js +4 -5
  88. package/build/src/matchers/component/{toHaveErrorEx.d.ts → toHaveWarning.d.ts} +2 -2
  89. package/build/src/matchers/component/{toHaveErrorEx.js → toHaveWarning.js} +3 -3
  90. package/build/src/matchers/componentMatchers.d.ts +76 -76
  91. package/build/src/matchers/componentMatchers.js +61 -55
  92. package/build/src/matchers/createAsyncMatcher.d.ts +35 -10
  93. package/build/src/matchers/createAsyncMatcher.js +38 -13
  94. package/build/src/utils/toMatchMessage.d.ts +11 -0
  95. package/build/src/utils/toMatchMessage.js +11 -0
  96. package/package.json +1 -1
  97. package/build/src/matchers/component/toBeActiveEx.d.ts +0 -3
  98. package/build/src/matchers/component/toBeAutoEx.d.ts +0 -3
  99. package/build/src/matchers/component/toBeInactiveEx.d.ts +0 -3
  100. package/build/src/matchers/component/toBeUncheckedByIndexEx.d.ts +0 -3
  101. package/build/src/matchers/component/toBeUncheckedByTextEx.d.ts +0 -3
  102. package/build/src/matchers/component/toBeUncheckedByValueEx.d.ts +0 -3
  103. package/build/src/matchers/component/toBeUncheckedEx.d.ts +0 -3
  104. package/build/src/matchers/component/toContainFormattedTextEx.d.ts +0 -3
  105. package/build/src/matchers/component/toContainItemEx.d.ts +0 -4
  106. package/build/src/matchers/component/toContainItemsEx.d.ts +0 -3
  107. package/build/src/matchers/component/toContainTabsEx.d.ts +0 -3
  108. package/build/src/matchers/component/toContainUploadedFilesEx.d.ts +0 -4
  109. package/build/src/matchers/component/toContainValueEx.d.ts +0 -3
  110. package/build/src/matchers/component/toHaveActiveTabEx.d.ts +0 -2
  111. package/build/src/matchers/component/toHaveFormattedTextEx.d.ts +0 -3
  112. package/build/src/matchers/component/toHaveFormattedValueEx.d.ts +0 -3
  113. package/build/src/matchers/component/toHaveHrefEx.d.ts +0 -3
  114. package/build/src/matchers/component/toHaveItemsEx.d.ts +0 -3
  115. package/build/src/matchers/component/toHaveWarningEx.d.ts +0 -3
  116. package/build/src/utils/is.d.ts +0 -3
  117. package/build/src/utils/is.js +0 -5
@@ -36,19 +36,19 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toHaveWarningEx = void 0;
39
+ exports.toHaveError = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var constants_1 = require("../../utils/constants");
42
42
  var LocatorSymbols_1 = require("./LocatorSymbols");
43
43
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
44
- exports.toHaveWarningEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveWarningEx', function (component) { return component[LocatorSymbols_1.toRootElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
44
+ exports.toHaveError = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveError', function (component) { return component[LocatorSymbols_1.toRootElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
45
45
  var expectation;
46
46
  var isNot = _b.isNot, locator = _b.locator;
47
47
  return __generator(this, function (_c) {
48
48
  switch (_c.label) {
49
49
  case 0:
50
50
  expectation = isNot ? (0, test_1.expect)(locator).not : (0, test_1.expect)(locator);
51
- return [4 /*yield*/, expectation.toHaveAttribute(constants_1.DataVisualState.Warning, options)];
51
+ return [4 /*yield*/, expectation.toHaveAttribute(constants_1.DataVisualState.Error, options)];
52
52
  case 1:
53
53
  _c.sent();
54
54
  return [2 /*return*/];
@@ -0,0 +1,3 @@
1
+ import type { TransformOptions } from '../../options';
2
+ import type { ToTextElementLocator } from './LocatorSymbols';
3
+ export declare const toHaveFormattedText: (this: import("playwright/test").ExpectMatcherState, component: ToTextElementLocator, args_0: string, args_1?: TransformOptions | 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.toHaveFormattedTextEx = void 0;
39
+ exports.toHaveFormattedText = void 0;
40
40
  var extensions_1 = require("../../extensions");
41
41
  var LocatorSymbols_1 = require("./LocatorSymbols");
42
42
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
43
- exports.toHaveFormattedTextEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveFormattedTextEx', function (component) { return component[LocatorSymbols_1.toTextElementLocator](); }, function (_a, expected_1, options_1) { return __awaiter(void 0, [_a, expected_1, options_1], void 0, function (_b, expected, options) {
43
+ exports.toHaveFormattedText = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveFormattedText', function (component) { return component[LocatorSymbols_1.toTextElementLocator](); }, function (_a, expected_1, options_1) { return __awaiter(void 0, [_a, expected_1, options_1], void 0, function (_b, expected, options) {
44
44
  var expectation;
45
45
  var isNot = _b.isNot, locator = _b.locator;
46
46
  return __generator(this, function (_c) {
@@ -0,0 +1,3 @@
1
+ import type { TransformOptions } from '../../options';
2
+ import { type ToWithValueElementLocator } from './LocatorSymbols';
3
+ export declare const toHaveFormattedValue: (this: import("playwright/test").ExpectMatcherState, component: ToWithValueElementLocator, args_0: string, args_1?: TransformOptions | 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.toHaveFormattedValueEx = void 0;
39
+ exports.toHaveFormattedValue = void 0;
40
40
  var extensions_1 = require("../../extensions");
41
41
  var LocatorSymbols_1 = require("./LocatorSymbols");
42
42
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
43
- exports.toHaveFormattedValueEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveFormattedValueEx', function (component) { return component[LocatorSymbols_1.toValueElementLocator](); }, function (_a, expected_1, options_1) { return __awaiter(void 0, [_a, expected_1, options_1], void 0, function (_b, expected, options) {
43
+ exports.toHaveFormattedValue = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveFormattedValue', function (component) { return component[LocatorSymbols_1.toValueElementLocator](); }, function (_a, expected_1, options_1) { return __awaiter(void 0, [_a, expected_1, options_1], void 0, function (_b, expected, options) {
44
44
  var expectation;
45
45
  var isNot = _b.isNot, locator = _b.locator;
46
46
  return __generator(this, function (_c) {
@@ -0,0 +1,3 @@
1
+ import type { AttributeOptions } from '../../options';
2
+ import type { Link } from '../../components';
3
+ export declare const toHaveHref: (this: import("@playwright/test").ExpectMatcherState, component: Link, args_0: string | RegExp, args_1?: AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
@@ -36,10 +36,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toHaveHrefEx = void 0;
39
+ exports.toHaveHref = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
42
- exports.toHaveHrefEx = (0, createAsyncMatcher_1.createComponentAsyncMatcher)('toHaveHrefEx', function (component) { return component.rootLocator; }, function (_a, href_1, options_1) { return __awaiter(void 0, [_a, href_1, options_1], void 0, function (_b, href, options) {
42
+ exports.toHaveHref = (0, createAsyncMatcher_1.createComponentAsyncMatcher)('toHaveHref', function (component) { return component.rootLocator; }, function (_a, href_1, options_1) { return __awaiter(void 0, [_a, href_1, options_1], void 0, function (_b, href, options) {
43
43
  var expectation;
44
44
  var isNot = _b.isNot, locator = _b.locator;
45
45
  return __generator(this, function (_c) {
@@ -0,0 +1,3 @@
1
+ import type { ToHaveItemsElementLocator } from './LocatorSymbols';
2
+ import type { TextOptions } from '../../options';
3
+ export declare const toHaveItems: (this: import("@playwright/test").ExpectMatcherState, component: ToHaveItemsElementLocator, args_0: string[], args_1?: TextOptions | 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.toHaveItemsEx = void 0;
39
+ exports.toHaveItems = 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.toHaveItemsEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveItemsEx', function (component) { return component[LocatorSymbols_1.toItemsElementLocator](); }, function (_a, itemsText_1, options_1) { return __awaiter(void 0, [_a, itemsText_1, options_1], void 0, function (_b, itemsText, options) {
43
+ exports.toHaveItems = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveItems', function (component) { return component[LocatorSymbols_1.toItemsElementLocator](); }, function (_a, itemsText_1, options_1) { return __awaiter(void 0, [_a, itemsText_1, options_1], void 0, function (_b, itemsText, options) {
44
44
  var isNot = _b.isNot, locator = _b.locator;
45
45
  return __generator(this, function (_c) {
46
46
  switch (_c.label) {
@@ -48,11 +48,11 @@ exports.toHaveItemsEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveItem
48
48
  if (isNot) {
49
49
  /** NOTE:
50
50
  * Пример: в items лежит массив ['1', '2', '3']
51
- * При проверке await expect(combobox).not.toHaveItemsEx(['1']); проверка пройдет.
51
+ * При проверке await expect(combobox).not.toHaveItems(['1']); проверка пройдет.
52
52
  * Потому что действительно, такого массива нету в items, есть массив ['1', '2', '3'], но должен быть массив ['1']
53
53
  * Поэтому нельзя использовать not assertion
54
54
  */
55
- throw new Error('not implemented toHaveItemsEx not assertion');
55
+ throw new Error('not implemented toHaveItems not assertion');
56
56
  }
57
57
  return [4 /*yield*/, (0, test_1.expect)(locator).toHaveText(itemsText, options)];
58
58
  case 1:
@@ -1,4 +1,4 @@
1
1
  import type { Paging } from '../../components';
2
- export declare const toHaveActivePageEx: (this: import("@playwright/test").ExpectMatcherState, component: Paging, args_0: number, args_1?: {
2
+ export declare const toHavePageCount: (this: import("@playwright/test").ExpectMatcherState, component: Paging, args_0: number, args_1?: {
3
3
  timeout?: number;
4
4
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
@@ -36,10 +36,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toHavePageCountEx = void 0;
39
+ exports.toHavePageCount = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
42
- exports.toHavePageCountEx = (0, createAsyncMatcher_1.createComponentAsyncMatcher)('toHavePageCountEx', function (component) { return component.rootLocator; }, function (_a, expectedCount_1, options_1) { return __awaiter(void 0, [_a, expectedCount_1, options_1], void 0, function (_b, expectedCount, options) {
42
+ exports.toHavePageCount = (0, createAsyncMatcher_1.createComponentAsyncMatcher)('toHavePageCount', function (component) { return component.rootLocator; }, function (_a, expectedCount_1, options_1) { return __awaiter(void 0, [_a, expectedCount_1, options_1], void 0, function (_b, expectedCount, options) {
43
43
  var expectation;
44
44
  var isNot = _b.isNot, component = _b.component;
45
45
  return __generator(this, function (_c) {
@@ -1,4 +1,4 @@
1
- import type { ValueOptions } from '../../options/AssertionOptions';
1
+ import type { ValueOptions } from '../../options';
2
2
  import type { ToWithValueElementLocator } from './LocatorSymbols';
3
3
  export declare const toHaveValueEx: (this: import("@playwright/test").ExpectMatcherState, component: ToWithValueElementLocator, args_0: string | number | RegExp | readonly (string | RegExp)[] | {
4
4
  start?: string;
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.toHaveValueEx = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var components_1 = require("../../components");
42
- var is_1 = require("../../utils/is");
43
42
  var extensions_1 = require("../../extensions");
44
43
  var LocatorSymbols_1 = require("./LocatorSymbols");
45
44
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
@@ -52,10 +51,10 @@ exports.toHaveValueEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveValu
52
51
  expectation = isNot ? (0, test_1.expect)(locator).not : (0, test_1.expect)(locator);
53
52
  _c = true;
54
53
  switch (_c) {
55
- case (0, is_1.isComponent)(component, components_1.Select): return [3 /*break*/, 1];
56
- case (0, is_1.isComponent)(component, components_1.CurrencyInput): return [3 /*break*/, 3];
57
- case (0, is_1.isComponent)(component, components_1.ComboBox): return [3 /*break*/, 5];
58
- case (0, is_1.isComponent)(component, components_1.DateRangePicker): return [3 /*break*/, 7];
54
+ case component instanceof components_1.Select: return [3 /*break*/, 1];
55
+ case component instanceof components_1.CurrencyInput: return [3 /*break*/, 3];
56
+ case component instanceof components_1.ComboBox: return [3 /*break*/, 5];
57
+ case component instanceof components_1.DateRangePicker: return [3 /*break*/, 7];
59
58
  }
60
59
  return [3 /*break*/, 9];
61
60
  case 1: return [4 /*yield*/, checkSelect(isNot, locator, expected, options)];
@@ -1,3 +1,3 @@
1
- import type { RootSymbolLocator } from './LocatorSymbols';
2
1
  import type { AttributeOptions } from '../../options';
3
- export declare const toHaveErrorEx: (this: import("@playwright/test").ExpectMatcherState, component: RootSymbolLocator, args_0?: AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
2
+ import type { RootSymbolLocator } from './LocatorSymbols';
3
+ export declare const toHaveWarning: (this: import("@playwright/test").ExpectMatcherState, component: RootSymbolLocator, args_0?: AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
@@ -36,19 +36,19 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  }
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.toHaveErrorEx = void 0;
39
+ exports.toHaveWarning = void 0;
40
40
  var test_1 = require("@playwright/test");
41
41
  var constants_1 = require("../../utils/constants");
42
42
  var LocatorSymbols_1 = require("./LocatorSymbols");
43
43
  var createAsyncMatcher_1 = require("../createAsyncMatcher");
44
- exports.toHaveErrorEx = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveErrorEx', function (component) { return component[LocatorSymbols_1.toRootElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
44
+ exports.toHaveWarning = (0, createAsyncMatcher_1.createAsyncMatcher)('toHaveWarning', function (component) { return component[LocatorSymbols_1.toRootElementLocator](); }, function (_a, options_1) { return __awaiter(void 0, [_a, options_1], void 0, function (_b, options) {
45
45
  var expectation;
46
46
  var isNot = _b.isNot, locator = _b.locator;
47
47
  return __generator(this, function (_c) {
48
48
  switch (_c.label) {
49
49
  case 0:
50
50
  expectation = isNot ? (0, test_1.expect)(locator).not : (0, test_1.expect)(locator);
51
- return [4 /*yield*/, expectation.toHaveAttribute(constants_1.DataVisualState.Error, options)];
51
+ return [4 /*yield*/, expectation.toHaveAttribute(constants_1.DataVisualState.Warning, options)];
52
52
  case 1:
53
53
  _c.sent();
54
54
  return [2 /*return*/];
@@ -1,104 +1,104 @@
1
1
  declare const matchers: {
2
- toBeEmptyEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0?: import("..").EmptyOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
3
- toBeVisibleEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
4
- toBeHiddenEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").HiddenOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
5
- toBeEnabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
6
- toBeDisabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
7
- toHaveErrorEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
8
- toHaveWarningEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
9
- toHaveAttributeEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveAttributeElementLocator, args_0: string, args_1?: string | RegExp | undefined, args_2?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
10
- toHaveValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string | number | RegExp | readonly (string | RegExp)[] | {
2
+ readonly toBeEmptyEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0?: import("..").EmptyOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
3
+ readonly toBeVisibleEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
4
+ readonly toBeHiddenEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").HiddenOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
5
+ readonly toBeEnabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
6
+ readonly toBeDisabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
7
+ readonly toBeFocusedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeFocusableElementLocator, args_0?: import("..").FocusedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
8
+ readonly toBeCheckedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
9
+ readonly toHaveAttributeEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveAttributeElementLocator, args_0: string, args_1?: string | RegExp | undefined, args_2?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
10
+ readonly toHaveValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string | number | RegExp | readonly (string | RegExp)[] | {
11
11
  start?: string;
12
12
  end?: string;
13
13
  }, args_1?: import("..").ValueOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
14
- toBeFocusedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeFocusableElementLocator, args_0?: import("..").FocusedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
15
- toContainUploadedFilesEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FileUploader, args_0: string[], args_1?: {
14
+ readonly toHaveTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
15
+ readonly toHaveCountEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").ComponentList<any>, args_0: number, args_1?: import("..").CountOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
16
+ readonly toContainTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
17
+ readonly toBeAutoMode: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FxInput, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
18
+ readonly toBeUnchecked: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
19
+ readonly toBeActiveTab: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
20
+ readonly toBeInactiveTab: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
21
+ readonly toBeCheckedByValue: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
22
+ readonly toBeCheckedByIndex: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
23
+ readonly toBeUncheckedByValue: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
24
+ readonly toBeUncheckedByIndex: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
25
+ readonly toBeCheckedByText: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
26
+ readonly toBeUncheckedByText: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
27
+ readonly toHaveHref: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Link, args_0: string | RegExp, args_1?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
28
+ readonly toHaveItems: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
29
+ readonly toHaveError: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
30
+ readonly toHaveWarning: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
31
+ readonly toHaveActiveTab: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string | RegExp) => Promise<import("@playwright/test").MatcherReturnType>;
32
+ readonly toHavePageCount: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
16
33
  timeout?: number;
17
34
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
18
- toBeCheckedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
19
- toBeUncheckedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
20
- toHaveTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
21
- toContainTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
22
- toHaveItemsEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
23
- toContainItemsEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
24
- toContainItemEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").MenuComponent & import("./component/LocatorSymbols").ToContainItemElementLocator, args_0: string, args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
25
- toHaveCountEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").ComponentList<any>, args_0: number, args_1?: import("..").CountOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
26
- toBeActiveEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
27
- toBeInactiveEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
28
- toContainTokensEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").TokenInput, args_0: string[], args_1?: {
35
+ readonly toHaveActivePage: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
29
36
  timeout?: number;
30
37
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
31
- toHaveActiveTabEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string | RegExp) => Promise<import("@playwright/test").MatcherReturnType>;
32
- toContainTabsEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
33
- toBeAutoEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FxInput, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
34
- toHaveHrefEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Link, args_0: string | RegExp, args_1?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
35
- toHavePageCountEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
38
+ readonly toHaveFormattedValue: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
39
+ readonly toHaveFormattedText: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
40
+ readonly toContainItems: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
41
+ readonly toContainItem: (this: import("@playwright/test").ExpectMatcherState, component: import("..").MenuComponent & import("./component/LocatorSymbols").ToContainItemElementLocator, args_0: string, args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
42
+ readonly toContainTokens: (this: import("@playwright/test").ExpectMatcherState, component: import("..").TokenInput, args_0: string[], args_1?: {
36
43
  timeout?: number;
37
44
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
38
- toBeCheckedByValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
39
- toBeCheckedByIndexEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
40
- toBeUncheckedByValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
41
- toBeUncheckedByIndexEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
42
- toContainValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Select, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
43
- toBeCheckedByTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
44
- toBeUncheckedByTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
45
- toHaveActivePageEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
45
+ readonly toContainTabs: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
46
+ readonly toContainSelectValue: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Select, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
47
+ readonly toContainFormattedText: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Label, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
48
+ readonly toContainUploadedFiles: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FileUploader, args_0: string[], args_1?: {
46
49
  timeout?: number;
47
50
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
48
- toHaveFormattedValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
49
- toHaveFormattedTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
50
- toContainFormattedTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Label, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
51
51
  };
52
52
  export type ComponentMatchers = typeof matchers;
53
53
  export declare const componentMatchers: import("@playwright/test").Expect<{
54
- toBeEmptyEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0?: import("..").EmptyOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
55
- toBeVisibleEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
56
- toBeHiddenEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").HiddenOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
57
- toBeEnabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
58
- toBeDisabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
59
- toHaveErrorEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
60
- toHaveWarningEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
61
- toHaveAttributeEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveAttributeElementLocator, args_0: string, args_1?: string | RegExp | undefined, args_2?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
62
- toHaveValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string | number | RegExp | readonly (string | RegExp)[] | {
54
+ readonly toBeEmptyEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0?: import("..").EmptyOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
55
+ readonly toBeVisibleEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
56
+ readonly toBeHiddenEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").VisibleElementLocator, args_0?: import("..").HiddenOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
57
+ readonly toBeEnabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
58
+ readonly toBeDisabledEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ControlElementLocator, args_0?: import("..").EnabledOptions | import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
59
+ readonly toBeFocusedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeFocusableElementLocator, args_0?: import("..").FocusedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
60
+ readonly toBeCheckedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
61
+ readonly toHaveAttributeEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveAttributeElementLocator, args_0: string, args_1?: string | RegExp | undefined, args_2?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
62
+ readonly toHaveValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string | number | RegExp | readonly (string | RegExp)[] | {
63
63
  start?: string;
64
64
  end?: string;
65
65
  }, args_1?: import("..").ValueOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
66
- toBeFocusedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeFocusableElementLocator, args_0?: import("..").FocusedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
67
- toContainUploadedFilesEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FileUploader, args_0: string[], args_1?: {
66
+ readonly toHaveTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
67
+ readonly toHaveCountEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").ComponentList<any>, args_0: number, args_1?: import("..").CountOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
68
+ readonly toContainTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
69
+ readonly toBeAutoMode: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FxInput, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
70
+ readonly toBeUnchecked: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
71
+ readonly toBeActiveTab: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
72
+ readonly toBeInactiveTab: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
73
+ readonly toBeCheckedByValue: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
74
+ readonly toBeCheckedByIndex: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
75
+ readonly toBeUncheckedByValue: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
76
+ readonly toBeUncheckedByIndex: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
77
+ readonly toBeCheckedByText: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
78
+ readonly toBeUncheckedByText: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
79
+ readonly toHaveHref: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Link, args_0: string | RegExp, args_1?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
80
+ readonly toHaveItems: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
81
+ readonly toHaveError: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
82
+ readonly toHaveWarning: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").RootSymbolLocator, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
83
+ readonly toHaveActiveTab: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string | RegExp) => Promise<import("@playwright/test").MatcherReturnType>;
84
+ readonly toHavePageCount: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
68
85
  timeout?: number;
69
86
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
70
- toBeCheckedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
71
- toBeUncheckedEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToBeCheckableElementLocator, args_0?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
72
- toHaveTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
73
- toContainTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
74
- toHaveItemsEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
75
- toContainItemsEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
76
- toContainItemEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").MenuComponent & import("./component/LocatorSymbols").ToContainItemElementLocator, args_0: string, args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
77
- toHaveCountEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").ComponentList<any>, args_0: number, args_1?: import("..").CountOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
78
- toBeActiveEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
79
- toBeInactiveEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tab, args_0?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
80
- toContainTokensEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").TokenInput, args_0: string[], args_1?: {
87
+ readonly toHaveActivePage: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
81
88
  timeout?: number;
82
89
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
83
- toHaveActiveTabEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string | RegExp) => Promise<import("@playwright/test").MatcherReturnType>;
84
- toContainTabsEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
85
- toBeAutoEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FxInput, args_0?: import("..").VisibleOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
86
- toHaveHrefEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Link, args_0: string | RegExp, args_1?: import("..").AttributeOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
87
- toHavePageCountEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
90
+ readonly toHaveFormattedValue: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
91
+ readonly toHaveFormattedText: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
92
+ readonly toContainItems: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToHaveItemsElementLocator, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
93
+ readonly toContainItem: (this: import("@playwright/test").ExpectMatcherState, component: import("..").MenuComponent & import("./component/LocatorSymbols").ToContainItemElementLocator, args_0: string, args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
94
+ readonly toContainTokens: (this: import("@playwright/test").ExpectMatcherState, component: import("..").TokenInput, args_0: string[], args_1?: {
88
95
  timeout?: number;
89
96
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
90
- toBeCheckedByValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
91
- toBeCheckedByIndexEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
92
- toBeUncheckedByValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
93
- toBeUncheckedByIndexEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: number, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
94
- toContainValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Select, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
95
- toBeCheckedByTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
96
- toBeUncheckedByTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").RadioGroup, args_0: string | RegExp, args_1?: import("..").CheckedOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
97
- toHaveActivePageEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Paging, args_0: number, args_1?: {
97
+ readonly toContainTabs: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Tabs, args_0: string[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
98
+ readonly toContainSelectValue: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Select, args_0: string | RegExp | readonly (string | RegExp)[], args_1?: import("..").TextOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
99
+ readonly toContainFormattedText: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Label, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
100
+ readonly toContainUploadedFiles: (this: import("@playwright/test").ExpectMatcherState, component: import("..").FileUploader, args_0: string[], args_1?: {
98
101
  timeout?: number;
99
102
  } | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
100
- toHaveFormattedValueEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToWithValueElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
101
- toHaveFormattedTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("./component/LocatorSymbols").ToTextElementLocator, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
102
- toContainFormattedTextEx: (this: import("@playwright/test").ExpectMatcherState, component: import("..").Label, args_0: string, args_1?: import("..").TransformOptions | undefined) => Promise<import("@playwright/test").MatcherReturnType>;
103
103
  }>;
104
104
  export {};