We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52f0b6 commit 1df597eCopy full SHA for 1df597e
tests/ignored.spec.ts
@@ -13,12 +13,15 @@ const css = `
13
content: 'A';
14
box-sizing: border-box;
15
}
16
+:is(html, body, main) {
17
+ content: 'B';
18
+}
19
@media screen and (max-width: 200px) {}
20
div {
- content: 'B';
21
+ content: 'C';
22
23
div:hover {
- content: 'C';
24
+ content: 'D';
25
26
@media screen and (max-width: 800px) {}
27
.ignored > section::-webkit-scrollbar {
@@ -38,5 +41,5 @@ test('Ignored', async ({ page }) => {
38
41
39
42
// That element should have specific text content.
40
43
const content = await element?.innerHTML();
- expect(content).toBe('B');
44
+ expect(content).toBe('C');
45
});
0 commit comments