@baloise/ds-testing 17.4.0-snapshot.1609-d2bcc38d3 → 17.4.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 (105) hide show
  1. package/add-custom-commands.esm.js +1 -1
  2. package/add-override-commands.esm.js +3 -541
  3. package/bal-input-stepper.command.esm.js +165 -165
  4. package/helpers.esm.js +42 -43
  5. package/index.esm.js +800 -2
  6. package/index.esm2.js +317 -0
  7. package/package.json +4 -3
  8. package/selectors.esm.js +1 -1
  9. package/src/add-custom-commands.d.ts +34 -34
  10. package/src/add-override-commands.d.ts +9 -9
  11. package/src/commands/custom/bal-accordion.command.d.ts +1 -1
  12. package/src/commands/custom/bal-accordion.types.d.ts +15 -15
  13. package/src/commands/custom/bal-field.command.d.ts +1 -1
  14. package/src/commands/custom/bal-field.types.d.ts +11 -11
  15. package/src/commands/custom/bal-hint.command.d.ts +1 -1
  16. package/src/commands/custom/bal-hint.types.d.ts +15 -15
  17. package/src/commands/custom/bal-input-stepper.command.d.ts +1 -1
  18. package/src/commands/custom/bal-input-stepper.types.d.ts +15 -15
  19. package/src/commands/custom/bal-modal.command.d.ts +1 -1
  20. package/src/commands/custom/bal-modal.types.d.ts +24 -24
  21. package/src/commands/custom/bal-pagination.command.d.ts +1 -1
  22. package/src/commands/custom/bal-pagination.types.d.ts +23 -23
  23. package/src/commands/custom/bal-popover.command.d.ts +1 -1
  24. package/src/commands/custom/bal-popover.types.d.ts +27 -27
  25. package/src/commands/custom/bal-popup.command.d.ts +1 -1
  26. package/src/commands/custom/bal-popup.types.d.ts +15 -15
  27. package/src/commands/custom/bal-select.command.d.ts +1 -1
  28. package/src/commands/custom/bal-select.types.d.ts +19 -19
  29. package/src/commands/custom/bal-snackbar.command.d.ts +1 -1
  30. package/src/commands/custom/bal-snackbar.types.d.ts +11 -11
  31. package/src/commands/custom/bal-steps.command.d.ts +1 -1
  32. package/src/commands/custom/bal-steps.types.d.ts +27 -27
  33. package/src/commands/custom/bal-tabs.command.d.ts +1 -1
  34. package/src/commands/custom/bal-tabs.types.d.ts +31 -31
  35. package/src/commands/custom/bal-toast.command.d.ts +1 -1
  36. package/src/commands/custom/bal-toast.types.d.ts +11 -11
  37. package/src/commands/custom/component.command.d.ts +1 -1
  38. package/src/commands/custom/component.types.d.ts +47 -47
  39. package/src/commands/custom/get.command.d.ts +1 -1
  40. package/src/commands/custom/get.types.d.ts +43 -43
  41. package/src/commands/custom/platform.command.d.ts +1 -1
  42. package/src/commands/custom/platform.types.d.ts +11 -11
  43. package/src/commands/custom/visit.command.d.ts +1 -1
  44. package/src/commands/custom/visit.types.d.ts +10 -10
  45. package/src/commands/helpers.d.ts +48 -48
  46. package/src/commands/overrides/blur.command.d.ts +1 -1
  47. package/src/commands/overrides/check.command.d.ts +1 -1
  48. package/src/commands/overrides/clear.command.d.ts +1 -1
  49. package/src/commands/overrides/click.command.d.ts +1 -1
  50. package/src/commands/overrides/focus.command.d.ts +1 -1
  51. package/src/commands/overrides/select.command.d.ts +1 -1
  52. package/src/commands/overrides/should.command.d.ts +1 -1
  53. package/src/commands/overrides/type.command.d.ts +1 -1
  54. package/src/commands/overrides/uncheck.command.d.ts +1 -1
  55. package/src/index.d.ts +25 -21
  56. package/src/legacy/accessors/accordion.accessor.d.ts +29 -0
  57. package/src/legacy/accessors/button.accessor.d.ts +23 -0
  58. package/src/legacy/accessors/checkbox.accessor.d.ts +25 -0
  59. package/src/legacy/accessors/drop-down.accessor.d.ts +31 -0
  60. package/src/legacy/accessors/error.accessor.d.ts +25 -0
  61. package/src/legacy/accessors/icon-accessor.d.ts +23 -0
  62. package/src/legacy/accessors/input.accessor.d.ts +30 -0
  63. package/src/legacy/accessors/link.accessor.d.ts +39 -0
  64. package/src/legacy/accessors/list.accessor.d.ts +23 -0
  65. package/src/legacy/accessors/mixins/andable.d.ts +5 -0
  66. package/src/legacy/accessors/mixins/attachable.d.ts +6 -0
  67. package/src/legacy/accessors/mixins/attributable.d.ts +7 -0
  68. package/src/legacy/accessors/mixins/blurable.d.ts +6 -0
  69. package/src/legacy/accessors/mixins/checkable.d.ts +7 -0
  70. package/src/legacy/accessors/mixins/clearable.d.ts +6 -0
  71. package/src/legacy/accessors/mixins/clickable.d.ts +7 -0
  72. package/src/legacy/accessors/mixins/containable.d.ts +5 -0
  73. package/src/legacy/accessors/mixins/disableable.d.ts +5 -0
  74. package/src/legacy/accessors/mixins/eachable.d.ts +5 -0
  75. package/src/legacy/accessors/mixins/existable.d.ts +5 -0
  76. package/src/legacy/accessors/mixins/findable.d.ts +5 -0
  77. package/src/legacy/accessors/mixins/invokable.d.ts +5 -0
  78. package/src/legacy/accessors/mixins/lengthable.d.ts +5 -0
  79. package/src/legacy/accessors/mixins/mixins.d.ts +12 -0
  80. package/src/legacy/accessors/mixins/nthSelectable.d.ts +7 -0
  81. package/src/legacy/accessors/mixins/selectable.d.ts +4 -0
  82. package/src/legacy/accessors/mixins/shouldable.d.ts +5 -0
  83. package/src/legacy/accessors/mixins/thenable.d.ts +5 -0
  84. package/src/legacy/accessors/mixins/typeable.d.ts +6 -0
  85. package/src/legacy/accessors/mixins/urlable.d.ts +6 -0
  86. package/src/legacy/accessors/mixins/visible.d.ts +5 -0
  87. package/src/legacy/accessors/mixins/waitable.d.ts +5 -0
  88. package/src/legacy/accessors/multi-select-button.accessor.d.ts +24 -0
  89. package/src/legacy/accessors/navigation.accessor.d.ts +22 -0
  90. package/src/legacy/accessors/radio.accessor.d.ts +23 -0
  91. package/src/legacy/accessors/select-button.accessor.d.ts +24 -0
  92. package/src/legacy/accessors/table.accessor.d.ts +27 -0
  93. package/src/legacy/accessors/tabs.accessor.d.ts +26 -0
  94. package/src/legacy/accessors/text.accessor.d.ts +23 -0
  95. package/src/legacy/accessors/tile.accessor.d.ts +27 -0
  96. package/src/legacy/accessors/toast.accessor.d.ts +24 -0
  97. package/src/legacy/accessors/tooltip.accessor.d.ts +23 -0
  98. package/src/legacy/accessors/typeahead.accessor.d.ts +26 -0
  99. package/src/legacy/index.d.ts +43 -0
  100. package/src/selectors/index.d.ts +354 -354
  101. package/src/selectors/selectors.util.d.ts +4 -4
  102. package/src/selectors.d.ts +1 -1
  103. package/src/viewports.d.ts +7 -7
  104. package/type.command.esm.js +541 -0
  105. package/selectors.esm2.js +0 -179
@@ -1,23 +1,23 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Returns all the page buttons.
8
- */
9
- balPaginationFindPages(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Returns the current listed page button.
12
- */
13
- balPaginationFindCurrentPage(options?: Partial<Loggable>): Chainable<JQuery>;
14
- /**
15
- * Returns the next button to navigate to next page.
16
- */
17
- balPaginationFindNextButton(options?: Partial<Loggable>): Chainable<JQuery>;
18
- /**
19
- * Returns the previous button to navigate to previous page.
20
- */
21
- balPaginationFindPreviousButton(options?: Partial<Loggable>): Chainable<JQuery>;
22
- }
23
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Returns all the page buttons.
8
+ */
9
+ balPaginationFindPages(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ /**
11
+ * Returns the current listed page button.
12
+ */
13
+ balPaginationFindCurrentPage(options?: Partial<Loggable>): Chainable<JQuery>;
14
+ /**
15
+ * Returns the next button to navigate to next page.
16
+ */
17
+ balPaginationFindNextButton(options?: Partial<Loggable>): Chainable<JQuery>;
18
+ /**
19
+ * Returns the previous button to navigate to previous page.
20
+ */
21
+ balPaginationFindPreviousButton(options?: Partial<Loggable>): Chainable<JQuery>;
22
+ }
23
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,27 +1,27 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Opens and closes the popover.
8
- */
9
- balPopoverToggle(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Asserts if the popover is open.
12
- */
13
- balPopoverIsOpen(options?: Partial<Loggable>): Chainable<JQuery>;
14
- /**
15
- * Asserts if the popover is closed.
16
- */
17
- balPopoverIsClosed(options?: Partial<Loggable>): Chainable<JQuery>;
18
- /**
19
- * Asserts if the trigger button contains the given content.
20
- */
21
- balPopoverTriggerContains(content: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable & Shadow>): Chainable<JQuery>;
22
- /**
23
- * Asserts if the popover menu contains the given content.
24
- */
25
- balPopoverContentContains(content: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable & Shadow>): Chainable<JQuery>;
26
- }
27
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Opens and closes the popover.
8
+ */
9
+ balPopoverToggle(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ /**
11
+ * Asserts if the popover is open.
12
+ */
13
+ balPopoverIsOpen(options?: Partial<Loggable>): Chainable<JQuery>;
14
+ /**
15
+ * Asserts if the popover is closed.
16
+ */
17
+ balPopoverIsClosed(options?: Partial<Loggable>): Chainable<JQuery>;
18
+ /**
19
+ * Asserts if the trigger button contains the given content.
20
+ */
21
+ balPopoverTriggerContains(content: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable & Shadow>): Chainable<JQuery>;
22
+ /**
23
+ * Asserts if the popover menu contains the given content.
24
+ */
25
+ balPopoverContentContains(content: string | number | RegExp, options?: Partial<Loggable & Timeoutable & CaseMatchable & Shadow>): Chainable<JQuery>;
26
+ }
27
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,15 +1,15 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Asserts if the popover is open.
8
- */
9
- balPopupIsOpen(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Asserts if the popover is closed.
12
- */
13
- balPopupIsClosed(options?: Partial<Loggable>): Chainable<JQuery>;
14
- }
15
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Asserts if the popover is open.
8
+ */
9
+ balPopupIsOpen(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ /**
11
+ * Asserts if the popover is closed.
12
+ */
13
+ balPopupIsClosed(options?: Partial<Loggable>): Chainable<JQuery>;
14
+ }
15
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,19 +1,19 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Returns the select options.
8
- */
9
- balSelectFindOptions(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Returns the closable select chips (only with multiselect).
12
- */
13
- balSelectFindChips(options?: Partial<Loggable>): Chainable<JQuery>;
14
- /**
15
- * Asserts that the select has the given options.
16
- */
17
- balSelectShouldHaveOptions(labels: string[], dataType?: 'label' | 'value', options?: Partial<Loggable>): Chainable<JQuery>;
18
- }
19
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Returns the select options.
8
+ */
9
+ balSelectFindOptions(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ /**
11
+ * Returns the closable select chips (only with multiselect).
12
+ */
13
+ balSelectFindChips(options?: Partial<Loggable>): Chainable<JQuery>;
14
+ /**
15
+ * Asserts that the select has the given options.
16
+ */
17
+ balSelectShouldHaveOptions(labels: string[], dataType?: 'label' | 'value', options?: Partial<Loggable>): Chainable<JQuery>;
18
+ }
19
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Returns the visible snackbars.
8
- */
9
- balSnackbarFind(options?: Partial<Loggable>): Chainable<JQuery>;
10
- }
11
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Returns the visible snackbars.
8
+ */
9
+ balSnackbarFind(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ }
11
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,27 +1,27 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Returns the tab items.
8
- */
9
- balStepsFindItems(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Returns the label of the tab item.
12
- */
13
- balStepsFindLabel(options?: Partial<Loggable>): Chainable<JQuery>;
14
- /**
15
- * Assert that the tab has the given item.
16
- */
17
- balStepsShouldHaveItems(labels: string[], dataType?: 'label' | 'value', options?: Partial<Loggable>): Chainable<JQuery>;
18
- /**
19
- * Assert that the tab item has the given state.
20
- */
21
- balStepsItemShouldHaveState(state: 'done' | 'failed' | 'active' | 'disabled', options?: Partial<Loggable>): Chainable<JQuery>;
22
- /**
23
- * Assert that the tab item has not the given state.
24
- */
25
- balStepsItemShouldNotHaveState(state: 'done' | 'failed' | 'active' | 'disabled', options?: Partial<Loggable>): Chainable<JQuery>;
26
- }
27
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Returns the tab items.
8
+ */
9
+ balStepsFindItems(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ /**
11
+ * Returns the label of the tab item.
12
+ */
13
+ balStepsFindLabel(options?: Partial<Loggable>): Chainable<JQuery>;
14
+ /**
15
+ * Assert that the tab has the given item.
16
+ */
17
+ balStepsShouldHaveItems(labels: string[], dataType?: 'label' | 'value', options?: Partial<Loggable>): Chainable<JQuery>;
18
+ /**
19
+ * Assert that the tab item has the given state.
20
+ */
21
+ balStepsItemShouldHaveState(state: 'done' | 'failed' | 'active' | 'disabled', options?: Partial<Loggable>): Chainable<JQuery>;
22
+ /**
23
+ * Assert that the tab item has not the given state.
24
+ */
25
+ balStepsItemShouldNotHaveState(state: 'done' | 'failed' | 'active' | 'disabled', options?: Partial<Loggable>): Chainable<JQuery>;
26
+ }
27
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,31 +1,31 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Returns the action button element.
8
- */
9
- balTabsFindActionButton(options?: Partial<Loggable>): Chainable<JQuery>;
10
- /**
11
- * Returns the tab items.
12
- */
13
- balTabsFindItems(options?: Partial<Loggable>): Chainable<JQuery>;
14
- /**
15
- * Returns the label of the tab item.
16
- */
17
- balTabsFindLabel(options?: Partial<Loggable>): Chainable<JQuery>;
18
- /**
19
- * Assert that the tab has the given item.
20
- */
21
- balTabsShouldHaveItems(labels: string[], dataType?: 'label' | 'value', options?: Partial<Loggable>): Chainable<JQuery>;
22
- /**
23
- * Assert that the tab item has the given state.
24
- */
25
- balTabItemShouldHaveState(state: 'done' | 'failed' | 'active' | 'disabled', options?: Partial<Loggable>): Chainable<JQuery>;
26
- /**
27
- * Assert that the tab item is active or not.
28
- */
29
- balTabItemShouldBeActive(active?: boolean, options?: Partial<Loggable>): Chainable<JQuery>;
30
- }
31
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Returns the action button element.
8
+ */
9
+ balTabsFindActionButton(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ /**
11
+ * Returns the tab items.
12
+ */
13
+ balTabsFindItems(options?: Partial<Loggable>): Chainable<JQuery>;
14
+ /**
15
+ * Returns the label of the tab item.
16
+ */
17
+ balTabsFindLabel(options?: Partial<Loggable>): Chainable<JQuery>;
18
+ /**
19
+ * Assert that the tab has the given item.
20
+ */
21
+ balTabsShouldHaveItems(labels: string[], dataType?: 'label' | 'value', options?: Partial<Loggable>): Chainable<JQuery>;
22
+ /**
23
+ * Assert that the tab item has the given state.
24
+ */
25
+ balTabItemShouldHaveState(state: 'done' | 'failed' | 'active' | 'disabled', options?: Partial<Loggable>): Chainable<JQuery>;
26
+ /**
27
+ * Assert that the tab item is active or not.
28
+ */
29
+ balTabItemShouldBeActive(active?: boolean, options?: Partial<Loggable>): Chainable<JQuery>;
30
+ }
31
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Returns the visible toasts.
8
- */
9
- balToastFind(options?: Partial<Loggable>): Chainable<JQuery>;
10
- }
11
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Returns the visible toasts.
8
+ */
9
+ balToastFind(options?: Partial<Loggable>): Chainable<JQuery>;
10
+ }
11
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,47 +1,47 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface Chainable {
6
- /**
7
- * Disabled all animations for the Design System components.
8
- */
9
- disableAnimation(): Chainable<JQuery>;
10
- /**
11
- * Disabled all logs for the Design System components.
12
- */
13
- disableLogger(): Chainable<JQuery>;
14
- /**
15
- * Waits until the component is fully loaded.
16
- */
17
- waitForComponents(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery>;
18
- /**
19
- * Gets component and waits until it is ready
20
- */
21
- getComponent(selector: string, options?: Partial<Loggable>): Chainable<JQuery>;
22
- /**
23
- * Wraps component and waits until it is ready.
24
- */
25
- wrapComponent(element: any, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery>;
26
- /**
27
- * Waits until the Design System is fully loaded and rendered
28
- */
29
- waitForDesignSystem(): Chainable<JQuery>;
30
- /**
31
- * Waits until the browser goes into idle mode
32
- */
33
- waitAfterLastCallback(): Chainable<JQuery>;
34
- /**
35
- * Waits until the browser goes into idle mode
36
- */
37
- waitAfterIdleCallback(): Chainable<JQuery>;
38
- /**
39
- * Waits until the browser finished rendering
40
- */
41
- waitAfterFramePaint(): Chainable<JQuery>;
42
- /**
43
- * Waits until the browser finished rendering
44
- */
45
- waitForBrowser(): Chainable<JQuery>;
46
- }
47
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface Chainable {
6
+ /**
7
+ * Disabled all animations for the Design System components.
8
+ */
9
+ disableAnimation(): Chainable<JQuery>;
10
+ /**
11
+ * Disabled all logs for the Design System components.
12
+ */
13
+ disableLogger(): Chainable<JQuery>;
14
+ /**
15
+ * Waits until the component is fully loaded.
16
+ */
17
+ waitForComponents(options?: Partial<Loggable & Timeoutable>): Chainable<JQuery>;
18
+ /**
19
+ * Gets component and waits until it is ready
20
+ */
21
+ getComponent(selector: string, options?: Partial<Loggable>): Chainable<JQuery>;
22
+ /**
23
+ * Wraps component and waits until it is ready.
24
+ */
25
+ wrapComponent(element: any, options?: Partial<Loggable & Timeoutable>): Chainable<JQuery>;
26
+ /**
27
+ * Waits until the Design System is fully loaded and rendered
28
+ */
29
+ waitForDesignSystem(): Chainable<JQuery>;
30
+ /**
31
+ * Waits until the browser goes into idle mode
32
+ */
33
+ waitAfterLastCallback(): Chainable<JQuery>;
34
+ /**
35
+ * Waits until the browser goes into idle mode
36
+ */
37
+ waitAfterIdleCallback(): Chainable<JQuery>;
38
+ /**
39
+ * Waits until the browser finished rendering
40
+ */
41
+ waitAfterFramePaint(): Chainable<JQuery>;
42
+ /**
43
+ * Waits until the browser finished rendering
44
+ */
45
+ waitForBrowser(): Chainable<JQuery>;
46
+ }
47
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,43 +1,43 @@
1
- /// <reference types="cypress" />
2
- /// <reference types="cypress" />
3
- /// <reference types="cypress" />
4
- declare namespace Cypress {
5
- interface GetByRoleOptions {
6
- name?: string;
7
- hidden?: boolean;
8
- }
9
- interface Chainable {
10
- /**
11
- * Gets the element by data-testid or data-test.
12
- */
13
- getByTestId(testId: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery>;
14
- /**
15
- * Gets the control elements to the given subject
16
- */
17
- getControl(labelText: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
18
- /**
19
- * Gets the elements who describes the subject
20
- */
21
- getDescribingElement(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
22
- /**
23
- * Asserts if the form element is invalid
24
- */
25
- shouldBeInvalid(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
26
- /**
27
- * Asserts if the form element is valid
28
- */
29
- shouldBeValid(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
30
- /**
31
- * Gets a element by the label
32
- */
33
- getByLabelText(labelText: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
34
- /**
35
- * Gets a element by the placeholder
36
- */
37
- getByPlaceholder(placeholder: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery>;
38
- /**
39
- * Gets a element by the role
40
- */
41
- getByRole(role: 'button' | 'label' | 'option' | 'input', options: Partial<GetByRoleOptions & Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery>;
42
- }
43
- }
1
+ /// <reference types="cypress" />
2
+ /// <reference types="cypress" />
3
+ /// <reference types="cypress" />
4
+ declare namespace Cypress {
5
+ interface GetByRoleOptions {
6
+ name?: string;
7
+ hidden?: boolean;
8
+ }
9
+ interface Chainable {
10
+ /**
11
+ * Gets the element by data-testid or data-test.
12
+ */
13
+ getByTestId(testId: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery>;
14
+ /**
15
+ * Gets the control elements to the given subject
16
+ */
17
+ getControl(labelText: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
18
+ /**
19
+ * Gets the elements who describes the subject
20
+ */
21
+ getDescribingElement(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
22
+ /**
23
+ * Asserts if the form element is invalid
24
+ */
25
+ shouldBeInvalid(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
26
+ /**
27
+ * Asserts if the form element is valid
28
+ */
29
+ shouldBeValid(options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
30
+ /**
31
+ * Gets a element by the label
32
+ */
33
+ getByLabelText(labelText: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<void>;
34
+ /**
35
+ * Gets a element by the placeholder
36
+ */
37
+ getByPlaceholder(placeholder: string, options?: Partial<Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery>;
38
+ /**
39
+ * Gets a element by the role
40
+ */
41
+ getByRole(role: 'button' | 'label' | 'option' | 'input', options: Partial<GetByRoleOptions & Loggable & Timeoutable & Withinable & Shadow>): Chainable<JQuery>;
42
+ }
43
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- import { Platforms } from '../helpers';
2
- declare global {
3
- namespace Cypress {
4
- interface Chainable {
5
- /**
6
- * Custom command to set the viewport / platform.
7
- */
8
- platform(platform: Platforms): Chainable<Element>;
9
- }
10
- }
11
- }
1
+ import { Platforms } from '../helpers';
2
+ declare global {
3
+ namespace Cypress {
4
+ interface Chainable {
5
+ /**
6
+ * Custom command to set the viewport / platform.
7
+ */
8
+ platform(platform: Platforms): Chainable<Element>;
9
+ }
10
+ }
11
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,10 +1,10 @@
1
- /// <reference types="cypress" />
2
- declare namespace Cypress {
3
- interface Chainable {
4
- /**
5
- * Open an application with the Design System and waits
6
- * until the Design System has fully loaded.
7
- */
8
- visitBalApp(url: string, options?: Partial<VisitOptions>): Chainable<AUTWindow>;
9
- }
10
- }
1
+ /// <reference types="cypress" />
2
+ declare namespace Cypress {
3
+ interface Chainable {
4
+ /**
5
+ * Open an application with the Design System and waits
6
+ * until the Design System has fully loaded.
7
+ */
8
+ visitBalApp(url: string, options?: Partial<VisitOptions>): Chainable<AUTWindow>;
9
+ }
10
+ }