@gtkx/testing 1.0.0-rc.3 → 1.0.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 (215) hide show
  1. package/README.md +8 -9
  2. package/dist/accessible-native.d.ts +16 -0
  3. package/dist/accessible-native.d.ts.map +1 -0
  4. package/dist/accessible-native.js +206 -0
  5. package/dist/accessible-native.js.map +1 -0
  6. package/dist/act.d.ts +2 -0
  7. package/dist/act.d.ts.map +1 -1
  8. package/dist/act.js.map +1 -1
  9. package/dist/build-queries.d.ts +27 -10
  10. package/dist/build-queries.d.ts.map +1 -1
  11. package/dist/build-queries.js +39 -30
  12. package/dist/build-queries.js.map +1 -1
  13. package/dist/cleanup-registry.d.ts +1 -1
  14. package/dist/cleanup-registry.d.ts.map +1 -1
  15. package/dist/cleanup-registry.js.map +1 -1
  16. package/dist/config.d.ts +1 -0
  17. package/dist/config.d.ts.map +1 -1
  18. package/dist/config.js +3 -3
  19. package/dist/config.js.map +1 -1
  20. package/dist/errors.d.ts +10 -1
  21. package/dist/errors.d.ts.map +1 -1
  22. package/dist/errors.js +12 -3
  23. package/dist/errors.js.map +1 -1
  24. package/dist/fire-event.d.ts +35 -6
  25. package/dist/fire-event.d.ts.map +1 -1
  26. package/dist/fire-event.js +23 -7
  27. package/dist/fire-event.js.map +1 -1
  28. package/dist/frame-sync.d.ts +2 -1
  29. package/dist/frame-sync.d.ts.map +1 -1
  30. package/dist/frame-sync.js +15 -5
  31. package/dist/frame-sync.js.map +1 -1
  32. package/dist/harness-window.d.ts +4 -0
  33. package/dist/harness-window.d.ts.map +1 -0
  34. package/dist/harness-window.js +6 -0
  35. package/dist/harness-window.js.map +1 -0
  36. package/dist/index.d.ts +14 -7
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +9 -5
  39. package/dist/index.js.map +1 -1
  40. package/dist/internal.d.ts +4 -0
  41. package/dist/internal.d.ts.map +1 -0
  42. package/dist/internal.js +4 -0
  43. package/dist/internal.js.map +1 -0
  44. package/dist/matchers.d.ts +125 -39
  45. package/dist/matchers.d.ts.map +1 -1
  46. package/dist/matchers.js +156 -18
  47. package/dist/matchers.js.map +1 -1
  48. package/dist/pretty-format.d.ts +2 -0
  49. package/dist/pretty-format.d.ts.map +1 -0
  50. package/dist/pretty-format.js +2 -0
  51. package/dist/pretty-format.js.map +1 -0
  52. package/dist/pretty-widget.d.ts +7 -3
  53. package/dist/pretty-widget.d.ts.map +1 -1
  54. package/dist/pretty-widget.js +74 -57
  55. package/dist/pretty-widget.js.map +1 -1
  56. package/dist/production.d.ts +8 -0
  57. package/dist/production.d.ts.map +1 -0
  58. package/dist/production.js +34 -0
  59. package/dist/production.js.map +1 -0
  60. package/dist/queries.d.ts +99 -56
  61. package/dist/queries.d.ts.map +1 -1
  62. package/dist/queries.js +123 -83
  63. package/dist/queries.js.map +1 -1
  64. package/dist/query-helpers.d.ts +44 -0
  65. package/dist/query-helpers.d.ts.map +1 -0
  66. package/dist/query-helpers.js +57 -0
  67. package/dist/query-helpers.js.map +1 -0
  68. package/dist/render-children.d.ts +9 -0
  69. package/dist/render-children.d.ts.map +1 -0
  70. package/dist/render-children.js +11 -0
  71. package/dist/render-children.js.map +1 -0
  72. package/dist/render.d.ts.map +1 -1
  73. package/dist/render.js +13 -11
  74. package/dist/render.js.map +1 -1
  75. package/dist/role-helpers.d.ts +12 -3
  76. package/dist/role-helpers.d.ts.map +1 -1
  77. package/dist/role-helpers.js +13 -4
  78. package/dist/role-helpers.js.map +1 -1
  79. package/dist/role-naming.d.ts +5 -0
  80. package/dist/role-naming.d.ts.map +1 -0
  81. package/dist/role-naming.js +96 -0
  82. package/dist/role-naming.js.map +1 -0
  83. package/dist/screenshot.d.ts +12 -20
  84. package/dist/screenshot.d.ts.map +1 -1
  85. package/dist/screenshot.js +183 -91
  86. package/dist/screenshot.js.map +1 -1
  87. package/dist/suggestions.d.ts +3 -0
  88. package/dist/suggestions.d.ts.map +1 -1
  89. package/dist/suggestions.js.map +1 -1
  90. package/dist/traversal.d.ts +9 -1
  91. package/dist/traversal.d.ts.map +1 -1
  92. package/dist/traversal.js +26 -6
  93. package/dist/traversal.js.map +1 -1
  94. package/dist/types.d.ts +67 -17
  95. package/dist/types.d.ts.map +1 -1
  96. package/dist/types.js.map +1 -1
  97. package/dist/user-event/adjustment.d.ts +16 -0
  98. package/dist/user-event/adjustment.d.ts.map +1 -1
  99. package/dist/user-event/adjustment.js +34 -2
  100. package/dist/user-event/adjustment.js.map +1 -1
  101. package/dist/user-event/click.d.ts +45 -3
  102. package/dist/user-event/click.d.ts.map +1 -1
  103. package/dist/user-event/click.js +177 -39
  104. package/dist/user-event/click.js.map +1 -1
  105. package/dist/user-event/column-header-click.d.ts +4 -0
  106. package/dist/user-event/column-header-click.d.ts.map +1 -0
  107. package/dist/user-event/column-header-click.js +65 -0
  108. package/dist/user-event/column-header-click.js.map +1 -0
  109. package/dist/user-event/controller.d.ts +29 -0
  110. package/dist/user-event/controller.d.ts.map +1 -1
  111. package/dist/user-event/controller.js +28 -0
  112. package/dist/user-event/controller.js.map +1 -1
  113. package/dist/user-event/event-wrapper.d.ts.map +1 -1
  114. package/dist/user-event/event-wrapper.js +2 -1
  115. package/dist/user-event/event-wrapper.js.map +1 -1
  116. package/dist/user-event/gesture.d.ts +51 -0
  117. package/dist/user-event/gesture.d.ts.map +1 -1
  118. package/dist/user-event/gesture.js +47 -4
  119. package/dist/user-event/gesture.js.map +1 -1
  120. package/dist/user-event/index.d.ts +70 -2
  121. package/dist/user-event/index.d.ts.map +1 -1
  122. package/dist/user-event/index.js +43 -26
  123. package/dist/user-event/index.js.map +1 -1
  124. package/dist/user-event/indexed-children.d.ts +10 -0
  125. package/dist/user-event/indexed-children.d.ts.map +1 -0
  126. package/dist/user-event/indexed-children.js +50 -0
  127. package/dist/user-event/indexed-children.js.map +1 -0
  128. package/dist/user-event/keyboard.d.ts +4 -2
  129. package/dist/user-event/keyboard.d.ts.map +1 -1
  130. package/dist/user-event/keyboard.js +46 -16
  131. package/dist/user-event/keyboard.js.map +1 -1
  132. package/dist/user-event/list-row-click.d.ts +4 -0
  133. package/dist/user-event/list-row-click.d.ts.map +1 -0
  134. package/dist/user-event/list-row-click.js +39 -0
  135. package/dist/user-event/list-row-click.js.map +1 -0
  136. package/dist/user-event/native-click.d.ts +6 -0
  137. package/dist/user-event/native-click.d.ts.map +1 -0
  138. package/dist/user-event/native-click.js +32 -0
  139. package/dist/user-event/native-click.js.map +1 -0
  140. package/dist/user-event/pointer.d.ts +1 -1
  141. package/dist/user-event/pointer.d.ts.map +1 -1
  142. package/dist/user-event/pointer.js +37 -13
  143. package/dist/user-event/pointer.js.map +1 -1
  144. package/dist/user-event/selection.d.ts +18 -0
  145. package/dist/user-event/selection.d.ts.map +1 -1
  146. package/dist/user-event/selection.js +56 -30
  147. package/dist/user-event/selection.js.map +1 -1
  148. package/dist/user-event/state.d.ts +1 -1
  149. package/dist/user-event/state.d.ts.map +1 -1
  150. package/dist/user-event/state.js +1 -1
  151. package/dist/user-event/state.js.map +1 -1
  152. package/dist/user-event/text.d.ts +34 -3
  153. package/dist/user-event/text.d.ts.map +1 -1
  154. package/dist/user-event/text.js +94 -17
  155. package/dist/user-event/text.js.map +1 -1
  156. package/dist/wait-for.d.ts +2 -0
  157. package/dist/wait-for.d.ts.map +1 -1
  158. package/dist/wait-for.js.map +1 -1
  159. package/dist/widget-accessible-properties.d.ts +14 -10
  160. package/dist/widget-accessible-properties.d.ts.map +1 -1
  161. package/dist/widget-accessible-properties.js +135 -173
  162. package/dist/widget-accessible-properties.js.map +1 -1
  163. package/dist/widget-getters.d.ts +8 -0
  164. package/dist/widget-getters.d.ts.map +1 -0
  165. package/dist/widget-getters.js +19 -0
  166. package/dist/widget-getters.js.map +1 -0
  167. package/dist/within.d.ts +3 -2
  168. package/dist/within.d.ts.map +1 -1
  169. package/dist/within.js +3 -2
  170. package/dist/within.js.map +1 -1
  171. package/package.json +13 -8
  172. package/src/accessible-native.ts +333 -0
  173. package/src/act.ts +2 -0
  174. package/src/build-queries.ts +66 -48
  175. package/src/cleanup-registry.ts +1 -1
  176. package/src/config.ts +4 -3
  177. package/src/errors.ts +14 -3
  178. package/src/fire-event.ts +61 -8
  179. package/src/frame-sync.ts +21 -5
  180. package/src/harness-window.ts +9 -0
  181. package/src/index.ts +18 -11
  182. package/src/internal.ts +11 -0
  183. package/src/matchers.ts +466 -64
  184. package/src/pretty-format.ts +1 -0
  185. package/src/pretty-widget.ts +100 -72
  186. package/src/production.ts +52 -0
  187. package/src/queries.ts +128 -89
  188. package/src/query-helpers.ts +97 -0
  189. package/src/render-children.ts +25 -0
  190. package/src/render.tsx +18 -13
  191. package/src/role-helpers.ts +14 -4
  192. package/src/role-naming.ts +99 -0
  193. package/src/screenshot.ts +272 -103
  194. package/src/suggestions.ts +3 -0
  195. package/src/traversal.ts +49 -6
  196. package/src/types.ts +69 -19
  197. package/src/user-event/adjustment.ts +42 -2
  198. package/src/user-event/click.ts +248 -46
  199. package/src/user-event/column-header-click.ts +90 -0
  200. package/src/user-event/controller.ts +29 -0
  201. package/src/user-event/event-wrapper.ts +3 -1
  202. package/src/user-event/gesture.ts +57 -6
  203. package/src/user-event/index.ts +119 -29
  204. package/src/user-event/indexed-children.ts +75 -0
  205. package/src/user-event/keyboard.ts +70 -20
  206. package/src/user-event/list-row-click.ts +57 -0
  207. package/src/user-event/native-click.ts +46 -0
  208. package/src/user-event/pointer.ts +52 -13
  209. package/src/user-event/selection.ts +74 -33
  210. package/src/user-event/state.ts +2 -2
  211. package/src/user-event/text.ts +121 -23
  212. package/src/wait-for.ts +2 -0
  213. package/src/widget-accessible-properties.ts +183 -214
  214. package/src/widget-getters.ts +32 -0
  215. package/src/within.ts +3 -2
@@ -0,0 +1,34 @@
1
+ import { createRoot } from "@gtkx/react";
2
+ import { createHarnessWindow } from "./harness-window.js";
3
+ const SETTLE_TURNS = 3;
4
+ const activeRenders = new Set();
5
+ const turn = () => new Promise((resolve) => setTimeout(resolve, 0));
6
+ const settle = async () => {
7
+ for (let index = 0; index < SETTLE_TURNS; index++) {
8
+ await turn();
9
+ }
10
+ };
11
+ const render = async (element) => {
12
+ const window = createHarnessWindow();
13
+ const root = createRoot(window);
14
+ activeRenders.add({ root, window });
15
+ root.render(element);
16
+ window.present();
17
+ await settle();
18
+ return {
19
+ rerender: async (next) => {
20
+ root.render(next);
21
+ await settle();
22
+ },
23
+ };
24
+ };
25
+ const cleanup = async () => {
26
+ for (const active of activeRenders) {
27
+ active.root.unmount();
28
+ active.window.destroy();
29
+ }
30
+ activeRenders.clear();
31
+ await settle();
32
+ };
33
+ export { cleanup, render };
34
+ //# sourceMappingURL=production.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"production.js","sourceRoot":"","sources":["../src/production.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAa,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAW1D,MAAM,YAAY,GAAG,CAAC,CAAC;AACvB,MAAM,aAAa,GAAsB,IAAI,GAAG,EAAE,CAAC;AAEnD,MAAM,IAAI,GAAG,GAAkB,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;AAEnF,MAAM,MAAM,GAAG,KAAK,IAAmB,EAAE;IACrC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,YAAY,EAAE,KAAK,EAAE,EAAE,CAAC;QAChD,MAAM,IAAI,EAAE,CAAC;IACjB,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,KAAK,EAAE,OAAkB,EAAmC,EAAE;IACzE,MAAM,MAAM,GAAG,mBAAmB,EAAE,CAAC;IACrC,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAChC,aAAa,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACrB,MAAM,CAAC,OAAO,EAAE,CAAC;IACjB,MAAM,MAAM,EAAE,CAAC;IAEf,OAAO;QACH,QAAQ,EAAE,KAAK,EAAE,IAAe,EAAiB,EAAE;YAC/C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YAClB,MAAM,MAAM,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,OAAO,GAAG,KAAK,IAAmB,EAAE;IACtC,KAAK,MAAM,MAAM,IAAI,aAAa,EAAE,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;QACtB,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC;IAED,aAAa,CAAC,KAAK,EAAE,CAAC;IACtB,MAAM,MAAM,EAAE,CAAC;AACnB,CAAC,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC","sourcesContent":["import type * as Gtk from \"@gtkx/gi/gtk\";\nimport type { ReactNode } from \"react\";\nimport { createRoot, type Root } from \"@gtkx/react\";\nimport { createHarnessWindow } from \"./harness-window.js\";\n\ntype ProductionRenderResult = {\n rerender: (element: ReactNode) => Promise<void>;\n};\n\ntype ActiveRender = {\n root: Root;\n window: Gtk.Window;\n};\n\nconst SETTLE_TURNS = 3;\nconst activeRenders: Set<ActiveRender> = new Set();\n\nconst turn = (): Promise<void> => new Promise((resolve) => setTimeout(resolve, 0));\n\nconst settle = async (): Promise<void> => {\n for (let index = 0; index < SETTLE_TURNS; index++) {\n await turn();\n }\n};\n\nconst render = async (element: ReactNode): Promise<ProductionRenderResult> => {\n const window = createHarnessWindow();\n const root = createRoot(window);\n activeRenders.add({ root, window });\n root.render(element);\n window.present();\n await settle();\n\n return {\n rerender: async (next: ReactNode): Promise<void> => {\n root.render(next);\n await settle();\n },\n };\n};\n\nconst cleanup = async (): Promise<void> => {\n for (const active of activeRenders) {\n active.root.unmount();\n active.window.destroy();\n }\n\n activeRenders.clear();\n await settle();\n};\n\nexport { cleanup, render };\n"]}
package/dist/queries.d.ts CHANGED
@@ -1,128 +1,171 @@
1
1
  import * as Gtk from "@gtkx/gi/gtk";
2
2
  import type { ByRoleOptions, Matcher, MatcherOptions, QueryFamilies } from "./types.js";
3
3
  import { type Container } from "./traversal.js";
4
+ /** The built-in queries in their unbound form, each taking the container to search as its first argument. */
4
5
  type BuiltinQueries = QueryFamilies<[container: Container]>;
5
6
  declare const builtinQueries: BuiltinQueries;
6
7
  /**
7
- * Returns the single widget with a matching accessible role and options, or null when none match.
8
- * Throws when more than one matches.
8
+ * Returns the single mapped widget with a matching accessible role and options, or null when none
9
+ * match. Widgets that are not mapped are never matched. Throws when more than one matches.
9
10
  */
10
11
  declare const queryByRole: BuiltinQueries["queryByRole"];
11
- /** Returns every widget with a matching accessible role and options. Throws when none match. */
12
+ /**
13
+ * Returns every mapped widget with a matching accessible role and options. Widgets that are not
14
+ * mapped are never matched. Throws when none match.
15
+ */
12
16
  declare const getAllByRole: BuiltinQueries["getAllByRole"];
13
17
  /**
14
- * Returns the single widget with a matching accessible role and options.
15
- * Throws when none or more than one matches.
18
+ * Returns the single mapped widget with a matching accessible role and options. Widgets that are not
19
+ * mapped are never matched. Throws when none or more than one matches.
16
20
  */
17
21
  declare const getByRole: BuiltinQueries["getByRole"];
18
22
  /**
19
- * Waits for and returns every widget with a matching accessible role and options, retrying until at
20
- * least one appears or the timeout elapses.
23
+ * Waits for and returns every mapped widget with a matching accessible role and options, retrying
24
+ * until at least one appears or the timeout elapses. Widgets that are not mapped are never matched.
21
25
  */
22
26
  declare const findAllByRole: BuiltinQueries["findAllByRole"];
23
27
  /**
24
- * Waits for and returns the single widget with a matching accessible role and options, retrying
25
- * until it appears or the timeout elapses. Rejects when none or more than one matches.
28
+ * Waits for and returns the single mapped widget with a matching accessible role and options,
29
+ * retrying until it appears or the timeout elapses. Widgets that are not mapped are never matched.
30
+ * Rejects when none or more than one matches.
26
31
  */
27
32
  declare const findByRole: BuiltinQueries["findByRole"];
28
33
  /**
29
- * Returns the single widget with matching associated label text, or null when none match.
30
- * Throws when more than one matches.
34
+ * Returns the single mapped widget with matching associated label text, or null when none match.
35
+ * Widgets that are not mapped are never matched. Throws when more than one matches.
31
36
  */
32
37
  declare const queryByLabelText: BuiltinQueries["queryByLabelText"];
33
- /** Returns every widget with matching associated label text. Throws when none match. */
38
+ /**
39
+ * Returns every mapped widget with matching associated label text. Widgets that are not mapped are
40
+ * never matched. Throws when none match.
41
+ */
34
42
  declare const getAllByLabelText: BuiltinQueries["getAllByLabelText"];
35
- /** Returns the single widget with matching associated label text. Throws when none or more than one matches. */
43
+ /**
44
+ * Returns the single mapped widget with matching associated label text. Widgets that are not mapped
45
+ * are never matched. Throws when none or more than one matches.
46
+ */
36
47
  declare const getByLabelText: BuiltinQueries["getByLabelText"];
37
48
  /**
38
- * Waits for and returns every widget with matching associated label text, retrying until at least
39
- * one appears or the timeout elapses.
49
+ * Waits for and returns every mapped widget with matching associated label text, retrying until at
50
+ * least one appears or the timeout elapses. Widgets that are not mapped are never matched.
40
51
  */
41
52
  declare const findAllByLabelText: BuiltinQueries["findAllByLabelText"];
42
53
  /**
43
- * Waits for and returns the single widget with matching associated label text, retrying until it
44
- * appears or the timeout elapses. Rejects when none or more than one matches.
54
+ * Waits for and returns the single mapped widget with matching associated label text, retrying until
55
+ * it appears or the timeout elapses. Widgets that are not mapped are never matched. Rejects when
56
+ * none or more than one matches.
45
57
  */
46
58
  declare const findByLabelText: BuiltinQueries["findByLabelText"];
47
59
  /**
48
- * Returns the single widget with matching rendered text content, or null when none match.
49
- * Throws when more than one matches.
60
+ * Returns the single mapped widget with matching rendered text content, or null when none match.
61
+ * Widgets that are not mapped are never matched. Throws when more than one matches.
50
62
  */
51
63
  declare const queryByText: BuiltinQueries["queryByText"];
52
- /** Returns every widget with matching rendered text content. Throws when none match. */
64
+ /**
65
+ * Returns every mapped widget with matching rendered text content. Widgets that are not mapped are
66
+ * never matched. Throws when none match.
67
+ */
53
68
  declare const getAllByText: BuiltinQueries["getAllByText"];
54
- /** Returns the single widget with matching rendered text content. Throws when none or more than one matches. */
69
+ /**
70
+ * Returns the single mapped widget with matching rendered text content. Widgets that are not mapped
71
+ * are never matched. Throws when none or more than one matches.
72
+ */
55
73
  declare const getByText: BuiltinQueries["getByText"];
56
74
  /**
57
- * Waits for and returns every widget with matching rendered text content, retrying until at least
58
- * one appears or the timeout elapses.
75
+ * Waits for and returns every mapped widget with matching rendered text content, retrying until at
76
+ * least one appears or the timeout elapses. Widgets that are not mapped are never matched.
59
77
  */
60
78
  declare const findAllByText: BuiltinQueries["findAllByText"];
61
79
  /**
62
- * Waits for and returns the single widget with matching rendered text content, retrying until it
63
- * appears or the timeout elapses. Rejects when none or more than one matches.
80
+ * Waits for and returns the single mapped widget with matching rendered text content, retrying until
81
+ * it appears or the timeout elapses. Widgets that are not mapped are never matched. Rejects when
82
+ * none or more than one matches.
64
83
  */
65
84
  declare const findByText: BuiltinQueries["findByText"];
66
85
  /**
67
- * Returns the single widget with a matching widget name, or null when none match.
68
- * Throws when more than one matches.
86
+ * Returns the single mapped widget with a matching widget name, or null when none match. Widgets
87
+ * that are not mapped are never matched. Throws when more than one matches.
69
88
  */
70
89
  declare const queryByName: BuiltinQueries["queryByName"];
71
- /** Returns every widget with a matching widget name. Throws when none match. */
90
+ /**
91
+ * Returns every mapped widget with a matching widget name. Widgets that are not mapped are never
92
+ * matched. Throws when none match.
93
+ */
72
94
  declare const getAllByName: BuiltinQueries["getAllByName"];
73
- /** Returns the single widget with a matching widget name. Throws when none or more than one matches. */
95
+ /**
96
+ * Returns the single mapped widget with a matching widget name. Widgets that are not mapped are
97
+ * never matched. Throws when none or more than one matches.
98
+ */
74
99
  declare const getByName: BuiltinQueries["getByName"];
75
100
  /**
76
- * Waits for and returns every widget with a matching widget name, retrying until at least one
77
- * appears or the timeout elapses.
101
+ * Waits for and returns every mapped widget with a matching widget name, retrying until at least one
102
+ * appears or the timeout elapses. Widgets that are not mapped are never matched.
78
103
  */
79
104
  declare const findAllByName: BuiltinQueries["findAllByName"];
80
105
  /**
81
- * Waits for and returns the single widget with a matching widget name, retrying until it appears or
82
- * the timeout elapses. Rejects when none or more than one matches.
106
+ * Waits for and returns the single mapped widget with a matching widget name, retrying until it
107
+ * appears or the timeout elapses. Widgets that are not mapped are never matched. Rejects when none
108
+ * or more than one matches.
83
109
  */
84
110
  declare const findByName: BuiltinQueries["findByName"];
85
111
  /**
86
- * Returns the single widget with matching placeholder text, or null when none match.
87
- * Throws when more than one matches.
112
+ * Returns the single mapped widget with matching placeholder text, or null when none match. Widgets
113
+ * that are not mapped are never matched. Throws when more than one matches.
88
114
  */
89
115
  declare const queryByPlaceholderText: BuiltinQueries["queryByPlaceholderText"];
90
- /** Returns every widget with matching placeholder text. Throws when none match. */
116
+ /**
117
+ * Returns every mapped widget with matching placeholder text. Widgets that are not mapped are never
118
+ * matched. Throws when none match.
119
+ */
91
120
  declare const getAllByPlaceholderText: BuiltinQueries["getAllByPlaceholderText"];
92
- /** Returns the single widget with matching placeholder text. Throws when none or more than one matches. */
121
+ /**
122
+ * Returns the single mapped widget with matching placeholder text. Widgets that are not mapped are
123
+ * never matched. Throws when none or more than one matches.
124
+ */
93
125
  declare const getByPlaceholderText: BuiltinQueries["getByPlaceholderText"];
94
126
  /**
95
- * Waits for and returns every widget with matching placeholder text, retrying until at least one
96
- * appears or the timeout elapses.
127
+ * Waits for and returns every mapped widget with matching placeholder text, retrying until at least
128
+ * one appears or the timeout elapses. Widgets that are not mapped are never matched.
97
129
  */
98
130
  declare const findAllByPlaceholderText: BuiltinQueries["findAllByPlaceholderText"];
99
131
  /**
100
- * Waits for and returns the single widget with matching placeholder text, retrying until it appears
101
- * or the timeout elapses. Rejects when none or more than one matches.
132
+ * Waits for and returns the single mapped widget with matching placeholder text, retrying until it
133
+ * appears or the timeout elapses. Widgets that are not mapped are never matched. Rejects when none
134
+ * or more than one matches.
102
135
  */
103
136
  declare const findByPlaceholderText: BuiltinQueries["findByPlaceholderText"];
104
137
  /**
105
- * Returns the single widget with a matching display value, or null when none match.
106
- * Throws when more than one matches.
138
+ * Returns the single mapped widget with a matching display value, or null when none match. Widgets
139
+ * that are not mapped are never matched. Throws when more than one matches.
107
140
  */
108
141
  declare const queryByDisplayValue: BuiltinQueries["queryByDisplayValue"];
109
- /** Returns every widget with a matching display value. Throws when none match. */
142
+ /**
143
+ * Returns every mapped widget with a matching display value. Widgets that are not mapped are never
144
+ * matched. Throws when none match.
145
+ */
110
146
  declare const getAllByDisplayValue: BuiltinQueries["getAllByDisplayValue"];
111
- /** Returns the single widget with a matching display value. Throws when none or more than one matches. */
147
+ /**
148
+ * Returns the single mapped widget with a matching display value. Widgets that are not mapped are
149
+ * never matched. Throws when none or more than one matches.
150
+ */
112
151
  declare const getByDisplayValue: BuiltinQueries["getByDisplayValue"];
113
152
  /**
114
- * Waits for and returns every widget with a matching display value, retrying until at least one
115
- * appears or the timeout elapses.
153
+ * Waits for and returns every mapped widget with a matching display value, retrying until at least
154
+ * one appears or the timeout elapses. Widgets that are not mapped are never matched.
116
155
  */
117
156
  declare const findAllByDisplayValue: BuiltinQueries["findAllByDisplayValue"];
118
157
  /**
119
- * Waits for and returns the single widget with a matching display value, retrying until it appears
120
- * or the timeout elapses. Rejects when none or more than one matches.
158
+ * Waits for and returns the single mapped widget with a matching display value, retrying until it
159
+ * appears or the timeout elapses. Widgets that are not mapped are never matched. Rejects when none
160
+ * or more than one matches.
121
161
  */
122
162
  declare const findByDisplayValue: BuiltinQueries["findByDisplayValue"];
163
+ declare const isTextMatch: (actual: string | null, expected: Matcher, widget: Gtk.Widget, options?: MatcherOptions) => boolean;
164
+ declare const isMatchingWidgetType: (widget: Gtk.Widget, options?: MatcherOptions) => boolean;
123
165
  /**
124
166
  * Finds every widget under the container whose accessible role matches `role` and that satisfies the given options.
125
- * Widgets excluded from the accessibility tree are skipped unless `options.hidden` is set.
167
+ * Widgets that are not mapped are never matched, and widgets excluded from the accessibility tree are
168
+ * skipped unless `options.hidden` is set.
126
169
  * @param container Widget subtree to search.
127
170
  * @param role Accessible role to match.
128
171
  * @param options Additional accessible name, state, and value constraints.
@@ -131,7 +174,7 @@ declare const findByDisplayValue: BuiltinQueries["findByDisplayValue"];
131
174
  declare function queryAllByRole(container: Container, role: Gtk.AccessibleRole, options?: ByRoleOptions): Gtk.Widget[];
132
175
  /**
133
176
  * Finds every widget associated with a label whose text matches: a Gtk.Label mnemonic target, the
134
- * widget's own accessible label, or its labelled-by relation.
177
+ * widget's own accessible label, or its labelled-by relation. Widgets that are not mapped are never matched.
135
178
  * @param container Widget subtree to search.
136
179
  * @param text Matcher for the label text.
137
180
  * @param options Text matching options.
@@ -139,7 +182,7 @@ declare function queryAllByRole(container: Container, role: Gtk.AccessibleRole,
139
182
  */
140
183
  declare function queryAllByLabelText(container: Container, text: Matcher, options?: MatcherOptions): Gtk.Widget[];
141
184
  /**
142
- * Finds every widget whose rendered text content matches.
185
+ * Finds every widget whose rendered text content matches. Widgets that are not mapped are never matched.
143
186
  * @param container Widget subtree to search.
144
187
  * @param text Matcher for the widget text.
145
188
  * @param options Text matching options.
@@ -147,7 +190,7 @@ declare function queryAllByLabelText(container: Container, text: Matcher, option
147
190
  */
148
191
  declare function queryAllByText(container: Container, text: Matcher, options?: MatcherOptions): Gtk.Widget[];
149
192
  /**
150
- * Finds every widget whose widget name matches.
193
+ * Finds every widget whose widget name matches. Widgets that are not mapped are never matched.
151
194
  * @param container Widget subtree to search.
152
195
  * @param name Matcher for the widget name.
153
196
  * @param options Text matching options.
@@ -155,7 +198,7 @@ declare function queryAllByText(container: Container, text: Matcher, options?: M
155
198
  */
156
199
  declare function queryAllByName(container: Container, name: Matcher, options?: MatcherOptions): Gtk.Widget[];
157
200
  /**
158
- * Finds every widget whose placeholder text matches.
201
+ * Finds every widget whose placeholder text matches. Widgets that are not mapped are never matched.
159
202
  * @param container Widget subtree to search.
160
203
  * @param text Matcher for the placeholder text.
161
204
  * @param options Text matching options.
@@ -163,12 +206,12 @@ declare function queryAllByName(container: Container, name: Matcher, options?: M
163
206
  */
164
207
  declare function queryAllByPlaceholderText(container: Container, text: Matcher, options?: MatcherOptions): Gtk.Widget[];
165
208
  /**
166
- * Finds every widget whose current display value matches.
209
+ * Finds every widget whose current display value matches. Widgets that are not mapped are never matched.
167
210
  * @param container Widget subtree to search.
168
211
  * @param value Matcher for the display value.
169
212
  * @param options Text matching options.
170
213
  * @returns Every matching widget, or an empty array when none match.
171
214
  */
172
215
  declare function queryAllByDisplayValue(container: Container, value: Matcher, options?: MatcherOptions): Gtk.Widget[];
173
- export { builtinQueries, queryByRole, getAllByRole, getByRole, findAllByRole, findByRole, queryByLabelText, getAllByLabelText, getByLabelText, findAllByLabelText, findByLabelText, queryByText, getAllByText, getByText, findAllByText, findByText, queryByName, getAllByName, getByName, findAllByName, findByName, queryByPlaceholderText, getAllByPlaceholderText, getByPlaceholderText, findAllByPlaceholderText, findByPlaceholderText, queryByDisplayValue, getAllByDisplayValue, getByDisplayValue, findAllByDisplayValue, findByDisplayValue, queryAllByRole, queryAllByLabelText, queryAllByText, queryAllByName, queryAllByPlaceholderText, queryAllByDisplayValue, type BuiltinQueries, };
216
+ export { builtinQueries, isMatchingWidgetType, isTextMatch, queryByRole, getAllByRole, getByRole, findAllByRole, findByRole, queryByLabelText, getAllByLabelText, getByLabelText, findAllByLabelText, findByLabelText, queryByText, getAllByText, getByText, findAllByText, findByText, queryByName, getAllByName, getByName, findAllByName, findByName, queryByPlaceholderText, getAllByPlaceholderText, getByPlaceholderText, findAllByPlaceholderText, findByPlaceholderText, queryByDisplayValue, getAllByDisplayValue, getByDisplayValue, findAllByDisplayValue, findByDisplayValue, queryAllByRole, queryAllByLabelText, queryAllByText, queryAllByName, queryAllByPlaceholderText, queryAllByDisplayValue, };
174
217
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @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