diff --git a/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js b/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js index f5dc5785bdab..d09daff2f76a 100644 --- a/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js +++ b/browser/components/urlbar/tests/browser/browser_autocomplete_enter_race.js @@ -17,6 +17,8 @@ add_task(async function setup() { }); registerCleanupFunction(async function() { await PlacesUtils.bookmarks.remove(bm); + await PlacesUtils.keywords.eraseEverything(); + await PlacesUtils.history.clear(); }); await PlacesUtils.keywords.insert({ keyword: "keyword",