Skip to content

Commit 80b510a

Browse files
author
Piotr Gulbinowicz
committed
fix pwa pagination test
1 parent b930fea commit 80b510a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

pwa/test/integration/flush_pagination_test.go

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,7 @@ func TestFlushPagination(t *testing.T) {
4040
}
4141
els = p.MustElements(".remove-flush-buttonz-div")
4242
log.Println("number of flushes: ", len(els))
43-
if len(els) != 3 {
44-
t.Fatal("wrong number of flushes")
45-
}
46-
p.MustElement("#update-button").MustClick()
47-
err = p.WaitStable(time.Second * 2)
48-
if err != nil {
49-
log.Fatal(err)
50-
}
51-
els = p.MustElements(".remove-flush-buttonz-div")
52-
log.Println("number of flushes: ", len(els))
53-
if len(els) != 0 {
43+
if len(els) != 6 {
5444
t.Fatal("wrong number of flushes")
5545
}
5646
}

0 commit comments

Comments
 (0)