Skip to content

Commit

Permalink
Fix page.TestShadowDOMAndDocumentFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed May 28, 2024
1 parent 5d2ada1 commit ab24cee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/page_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,8 @@ func TestShadowDOMAndDocumentFragment(t *testing.T) {
state: 'attached',
});
return s.innerText();
const text = await s.innerText();
return text;
`, s.URL, testBrowserStaticDir, tt.selector)
assert.Equal(t, tt.want, got.Result().String())
})
Expand Down

0 comments on commit ab24cee

Please sign in to comment.