Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(addLocatorHandler): various improvements #30494

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Apr 24, 2024

  • Automatically waiting for the overlay locator to be hidden, with allowStayingVisible opt-out.
  • times: 1 option.
  • removeLocatorHandler(locator, handler) method.
  • Passing locator as first argument to handler.

Fixes #30471. Fixes #30424. Fixes #29779.

This comment has been minimized.

@dgozman dgozman force-pushed the feat-locator-handler-improvements branch from 6ff22a1 to c4c1118 Compare April 24, 2024 15:55
docs/src/api/class-page.md Outdated Show resolved Hide resolved
docs/src/api/class-page.md Show resolved Hide resolved
packages/playwright-core/src/client/page.ts Show resolved Hide resolved

This comment has been minimized.

@dgozman dgozman force-pushed the feat-locator-handler-improvements branch from c4c1118 to 6b49d24 Compare April 24, 2024 19:40
- Automatically waiting for the overlay locator to be hidden,
  with `allowStayingVisible` opt-out.
- `times: 1` option.
- `removeLocatorHandler(locator, handler)` method.
- Passing `locator` as first argument to `handler`.
@dgozman dgozman force-pushed the feat-locator-handler-improvements branch from 6b49d24 to d36fbb2 Compare April 24, 2024 21:08

This comment has been minimized.

@dgozman dgozman merged commit 59689c9 into microsoft:main Apr 24, 2024
27 of 29 checks passed
Copy link
Contributor

Test results for "tests 1"

3 failed
❌ [playwright-test] › reporter.spec.ts:127:9 › merged › should work with custom reporter
❌ [playwright-test] › runner.spec.ts:118:5 › should ignore subprocess creation error because of SIGINT
❌ [playwright-test] › reporter.spec.ts:127:9 › merged › should work with custom reporter

1 flaky ⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all

27467 passed, 672 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants