Skip to content

Commit 28331a9

Browse files
committed
updated
1 parent a3520b2 commit 28331a9

15 files changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* global process */
21
import { expect, test } from '@playwright/test';
32
import { HistoryTestPage } from './history.page.js';
43

@@ -48,7 +47,7 @@ test.describe('history item selections', { tag: ['@screenshots'] }, () => {
4847
test('main selecting', async ({ page }, workerInfo) => {
4948
const hp = HistoryTestPage.create(page, workerInfo).withEntries(12);
5049
await hp.openPage();
51-
await hp.didMakeNthQuery({ nth: 0, query: { term: '' } });
50+
await hp.didMakeNthQuery({ nth: 0, query: { term: '' }, source: 'initial' });
5251
await hp.selectsRowIndex(1);
5352
await hp.selectsRowIndexWithShift(3);
5453
await hp.hoversRowIndex(1);
@@ -59,7 +58,7 @@ test.describe('history item selections', { tag: ['@screenshots'] }, () => {
5958
test('main hover', async ({ page }, workerInfo) => {
6059
const hp = HistoryTestPage.create(page, workerInfo).withEntries(12);
6160
await hp.openPage();
62-
await hp.didMakeNthQuery({ nth: 0, query: { term: '' } });
61+
await hp.didMakeNthQuery({ nth: 0, query: { term: '' }, source: 'initial' });
6362
await hp.hoversRowIndex(0);
6463
await expect(hp.main()).toHaveScreenshot('main.hover.light.png', { maxDiffPixels });
6564
await hp.darkMode();
@@ -68,7 +67,7 @@ test.describe('history item selections', { tag: ['@screenshots'] }, () => {
6867
test('main selection + hover', async ({ page }, workerInfo) => {
6968
const hp = HistoryTestPage.create(page, workerInfo).withEntries(12);
7069
await hp.openPage();
71-
await hp.didMakeNthQuery({ nth: 0, query: { term: '' } });
70+
await hp.didMakeNthQuery({ nth: 0, query: { term: '' }, source: 'initial' });
7271
await hp.selectsRowIndex(1);
7372
await hp.hoversRowIndexBtn(1);
7473
await expect(hp.main()).toHaveScreenshot('main.select+hover.light.png', { maxDiffPixels });

0 commit comments

Comments
 (0)