Skip to content

Commit 0e47795

Browse files
committed
Update cascading.spec.ts
1 parent fed2005 commit 0e47795

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/cascading.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ test('Cascading', async ({ page }) => {
2929
return element
3030
&& element.href === 'https://example.com/page'
3131
&& element.innerHTML === ''
32-
&& window.getComputedStyle(element).borderRadius === '10px';
32+
&& window.getComputedStyle(element).borderRadius === '10px'
33+
&& element.previousSibling === null
34+
&& element.nextSibling === null;
3335
}, css);
3436

3537
expect(result).toBeDefined();

0 commit comments

Comments
 (0)