Skip to content

Commit beb7952

Browse files
committed
screens
1 parent 6741241 commit beb7952

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

special-pages/pages/history/integration-tests/history.screenshots.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ test.describe('history header', { tag: ['@screenshots'] }, () => {
8181
test('idle header', async ({ page }, workerInfo) => {
8282
const hp = HistoryTestPage.create(page, workerInfo).withEntries(12);
8383
await hp.openPage();
84-
await hp.didMakeNthQuery({ nth: 0, query: { term: '' } });
84+
await hp.didMakeNthQuery({ nth: 0, query: { term: '' }, source: 'initial' });
8585
await expect(hp.header()).toHaveScreenshot('header.idle.light.png', { maxDiffPixels });
8686
await hp.darkMode();
8787
await expect(hp.header()).toHaveScreenshot('header.idle.dark.png', { maxDiffPixels });
8888
});
8989
test('search', async ({ page }, workerInfo) => {
9090
const hp = HistoryTestPage.create(page, workerInfo).withEntries(12);
9191
await hp.openPage();
92-
await hp.didMakeNthQuery({ nth: 0, query: { term: '' } });
92+
await hp.didMakeNthQuery({ nth: 0, query: { term: '' }, source: 'initial' });
9393
await hp.types('example.com');
9494
await expect(hp.header()).toHaveScreenshot('header.search.light.png', { maxDiffPixels });
9595
await hp.darkMode();
@@ -98,7 +98,7 @@ test.describe('history header', { tag: ['@screenshots'] }, () => {
9898
test('delete button', async ({ page }, workerInfo) => {
9999
const hp = HistoryTestPage.create(page, workerInfo).withEntries(12);
100100
await hp.openPage();
101-
await hp.didMakeNthQuery({ nth: 0, query: { term: '' } });
101+
await hp.didMakeNthQuery({ nth: 0, query: { term: '' }, source: 'initial' });
102102
await hp.hoversDeleteAllBtn();
103103
await expect(hp.header()).toHaveScreenshot('header.delete.light.png', { maxDiffPixels });
104104
await hp.darkMode();

0 commit comments

Comments
 (0)