kopia lustrzana https://github.com/nolanlawson/pinafore
test: fix flaky test (#2060)
rodzic
f13e5be3a0
commit
7bc9c3f263
|
@ -1,6 +1,5 @@
|
|||
import {
|
||||
getActiveElementTagName,
|
||||
getNthStatus,
|
||||
getUrl,
|
||||
searchButton, searchInput, searchNavButton
|
||||
} from '../utils'
|
||||
|
@ -13,7 +12,6 @@ fixture`040-shortcuts-search.js`
|
|||
test('Pressing / goes to search and focuses input but does not prevent left/right hotkeys afterwards', async t => {
|
||||
await loginAsFoobar(t)
|
||||
await t
|
||||
.expect(getNthStatus(1).exists).ok()
|
||||
.pressKey('/')
|
||||
.expect(getUrl()).contains('/search')
|
||||
.expect(getActiveElementTagName()).match(/input/i)
|
||||
|
|
Ładowanie…
Reference in New Issue