Changing selector in TestClick
This commit is contained in:
parent
a2966fde60
commit
092361d170
|
@ -601,7 +601,7 @@ func TestClick(t *testing.T) {
|
||||||
t.Fatalf("got error: %v", err)
|
t.Fatalf("got error: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = c.Run(defaultContext, WaitVisible("#logo > img", ByQuery))
|
err = c.Run(defaultContext, WaitVisible("#logo", ByID))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("got error: %v", err)
|
t.Fatalf("got error: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user