1- /* global process */
21import { expect , test } from '@playwright/test' ;
32import { 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