From 7bc9c3f2639ee4d184fd866bfb5276372adb0228 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sat, 3 Jul 2021 18:07:54 -0700 Subject: [PATCH] test: fix flaky test (#2060) --- tests/spec/040-shortcuts-search.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/spec/040-shortcuts-search.js b/tests/spec/040-shortcuts-search.js index d937e676..25080821 100644 --- a/tests/spec/040-shortcuts-search.js +++ b/tests/spec/040-shortcuts-search.js @@ -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)