Skip to content

Commit c670738

Browse files
committed
fix flaky tests
1 parent b6b42d8 commit c670738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

element_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ func TestResource(t *testing.T) {
753753
func TestBackgroundImage(t *testing.T) {
754754
g := setup(t)
755755

756-
p := g.page.MustNavigate(g.srcFile("fixtures/resource.html"))
756+
p := g.page.MustNavigate(g.srcFile("fixtures/resource.html")).MustWaitStable()
757757
el := p.MustElement("div")
758758
g.Eq(len(el.MustBackgroundImage()), 22661)
759759

0 commit comments

Comments
 (0)