Skip to content

Commit efe6b12

Browse files
Refactor: Remove redundant omnibar flag from tests
The omnibar flag is no longer needed when opening pages in tests. Co-authored-by: randerson <randerson@duckduckgo.com>
1 parent 9a0ecbf commit efe6b12

File tree

2 files changed

+57
-57
lines changed

2 files changed

+57
-57
lines changed

special-pages/pages/new-tab/app/omnibar/integration-tests/omnibar.persistence.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test.describe('omnibar widget persistence', () => {
88
const ntp = NewtabPage.create(page, workerInfo);
99
const omnibar = new OmnibarPage(ntp);
1010
await ntp.reducedMotion();
11-
await ntp.openPage({ additional: { omnibar: true, tabs: true, 'tabs.debug': true } });
11+
await ntp.openPage({ additional: { tabs: true, 'tabs.debug': true } });
1212
await omnibar.ready();
1313

1414
// first fill
@@ -44,7 +44,7 @@ test.describe('omnibar widget persistence', () => {
4444
const ntp = NewtabPage.create(page, workerInfo);
4545
const omnibar = new OmnibarPage(ntp);
4646
await ntp.reducedMotion();
47-
await ntp.openPage({ additional: { omnibar: true, tabs: true, 'tabs.debug': true } });
47+
await ntp.openPage({ additional: { tabs: true, 'tabs.debug': true } });
4848
await omnibar.ready();
4949

5050
// first fill
@@ -64,7 +64,7 @@ test.describe('omnibar widget persistence', () => {
6464
const omnibar = new OmnibarPage(ntp);
6565
const customizer = new CustomizerPage(ntp);
6666
await ntp.reducedMotion();
67-
await ntp.openPage({ additional: { omnibar: true, tabs: true, 'tabs.debug': true } });
67+
await ntp.openPage({ additional: { tabs: true, 'tabs.debug': true } });
6868
await omnibar.ready();
6969

7070
// first tab, switch to ai mode
@@ -89,7 +89,7 @@ test.describe('omnibar widget persistence', () => {
8989
const omnibar = new OmnibarPage(ntp);
9090
const customizer = new CustomizerPage(ntp);
9191
await ntp.reducedMotion();
92-
await ntp.openPage({ additional: { omnibar: true, tabs: true, 'tabs.debug': true } });
92+
await ntp.openPage({ additional: { tabs: true, 'tabs.debug': true } });
9393
await omnibar.ready();
9494

9595
// first tab, switch to ai mode

0 commit comments

Comments
 (0)