test: add a few regressed selectors (#9875)
This commit is contained in:
parent
de6e6a69a1
commit
aa7c475461
@ -374,6 +374,16 @@ describe('Query handler tests', function () {
|
||||
return element.tagName === 'BUTTON';
|
||||
})
|
||||
).toBeTruthy();
|
||||
|
||||
// Should parse more complex CSS selectors. Listing a few problematic
|
||||
// cases from bug reports.
|
||||
for (const selector of [
|
||||
'.user_row[data-user-id="\\38 "]:not(.deactivated_user)',
|
||||
`input[value='Search']:not([class='hidden'])`,
|
||||
`[data-test-id^="test-"]:not([data-test-id^="test-foo"])`,
|
||||
]) {
|
||||
await page.$$(selector);
|
||||
}
|
||||
});
|
||||
|
||||
it('should work with text selectors', async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user