playwright/tests
Max Schmitt f48861ddee
fix(inspector): highlight xpath/css locators without engine prefix (#27742)
Motivation: As of today when a user inspects a Locator which is a xpath,
it won't work if the user has not prefixed it with `xpath=` because we
internally compare the given with the generated locator.

Works: `locator('xpath=//div[contains(@class, "foo")]')`
Does not work: `locator('//div[contains(@class, "foo")]')`

Relates
https://github.com/microsoft/playwright/issues/27707#issue-1952360264
Fixes
https://github.com/microsoft/playwright-dotnet/issues/2718#issuecomment-1771073816

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-10-23 18:23:28 +02:00
..
android chore: follow up to target close message 2023-10-12 14:58:19 -07:00
assets Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
components fix(ct): solid render array as child (#27715) 2023-10-20 11:44:30 -07:00
config feat(chromium-tip-of-tree): roll to r1159 (#27605) 2023-10-17 22:41:23 +02:00
electron feat(electron): support tracesDir option (#23947) 2023-06-28 16:32:16 -07:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation chore: composed->merge (#27555) 2023-10-11 13:56:27 -07:00
library fix(inspector): highlight xpath/css locators without engine prefix (#27742) 2023-10-23 18:23:28 +02:00
page fix(inspector): highlight xpath/css locators without engine prefix (#27742) 2023-10-23 18:23:28 +02:00
playwright-test chore(test runner): simplify some dispatcher logic (#27732) 2023-10-23 09:15:13 -07:00
stress chore: dispose stale handles to prevent oom, 1000 of a kind max (#27315) 2023-09-26 15:54:33 -07:00
webview2 devops: do not upload test-results artifacts (#23168) 2023-05-19 13:06:42 -07:00
.eslintrc.js chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json test: add installation tests for supposed plugin story (#27331) 2023-09-28 17:18:22 -07:00