Skip to content

Commit

Permalink
chore: temporarily ignore a rare test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
canstand committed Apr 12, 2023
1 parent 7dd4561 commit c990544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/browser_type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func TestBrowserTypeConnectShouldEmitDisconnectedEvent(t *testing.T) {
require.Len(t, disconnected1.Get(), 1)
require.Len(t, disconnected2.Get(), 0)
remoteServer.Close()

time.Sleep(1 * time.Millisecond) // TODO: 'title' message may appear before 'closed' causing deadlock
_, err = page.Title()
require.Error(t, err)
require.False(t, browser2.IsConnected())
Expand Down

0 comments on commit c990544

Please sign in to comment.