We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
configure
1 parent 36c23dc commit cd25797Copy full SHA for cd25797
lib/index.ts
@@ -176,6 +176,19 @@ export function wait(
176
177
export const waitFor = wait
178
179
+/**
180
+ * Configuration API for legacy queries that return `ElementHandle` instances.
181
+ * Only `testIdAttribute` and `asyncUtilTimeout` are currently supported.
182
+
183
+ * @see {@link https://testing-library.com/docs/dom-testing-library/api-configuration}
184
+ *
185
+ * ⚠️ This API has no effect on the queries that return `Locator` instances. Use
186
+ * `test.use` instead to configure the `Locator` queries.
187
188
+ * @see {@link https://github.com/testing-library/playwright-testing-library/releases/tag/v4.4.0-beta.2}
189
190
+ * @param config
191
+ */
192
export function configure(config: Partial<Config>): void {
193
if (!config) {
194
return
0 commit comments