Skip to content

Commit b7c8bce

Browse files
committed
Debug
1 parent 482c0f7 commit b7c8bce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/e2e/app-dir/app-inline-css/index.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@ describe('app dir - css - experimental inline css', () => {
4545
await browser.waitForElementByCss('#link-b').click()
4646
await browser.waitForElementByCss('#page-b')
4747

48-
const styleTags = await browser.elementsByCss('style')
48+
const styleTags = (await browser.elementsByCss('style')).map((style) => {
49+
return {
50+
text: style.textContent,
51+
id: style.getAttribute('id'),
52+
}
53+
})
4954
const linkTags = await browser.elementsByCss('link[rel="stylesheet"]')
5055

5156
expect(styleTags).toHaveLength(1)

0 commit comments

Comments
 (0)