Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: Soft expect example + tobeAttached (#23475)
Debbie O'Brien5e0195f7c435
diff --git a/docs/src/test-assertions-js.md b/docs/src/test-assertions-js.mdindex 4714d12ae2..d0ac8d9a69 100644--- a/docs/src/test-assertions-js.md+++ b/docs/src/test-assertions-js.md@@ -24,6 +24,7 @@ By default, the timeout for assertions is set to 5 seconds. Learn more about [va| Assertion | Description || :- | :- |+| [`method: LocatorAssertions.toBeAttached`] | Element is attached || [`method: LocatorAssertions.toBeChecked`] | Checkbox is checked || [`method: LocatorAssertions.toBeDisabled`] | Element is disabled || [`method: LocatorAssertions.toBeEditable`] | Element is editable |@@ -132,6 +133,7 @@ await slowExpect(locator).toHaveText('Submit');// Always do soft assertions.const softExpect = expect.configure({ soft: true });+await softExpect(locator).toHaveText('Submit');```## expect.poll