File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,10 @@ export const benchRemove = new (class extends CPUBenchmarkPuppeteer {
144
144
await clickElement ( page , "pierce/#run" ) ;
145
145
await checkElementExists ( page , "pierce/tbody>tr:nth-of-type(1000)>td:nth-of-type(1)" ) ;
146
146
for ( let i = 0 ; i < config . WARMUP_COUNT ; i ++ ) {
147
- const rowToClick = config . WARMUP_COUNT - i + this . rowsToSkip ;
148
- await checkElementContainsText ( page , `pierce/tbody>tr:nth-of-type(${ rowToClick } )>td:nth-of-type(1)` , rowToClick . toString ( ) ) ;
149
- await clickElement ( page , `pierce/tbody>tr:nth-of-type(${ rowToClick } )>td:nth-of-type(3)>a>span:nth-of-type(1)` ) ;
150
- await checkElementContainsText ( page , `pierce/tbody>tr:nth-of-type(${ rowToClick } )>td:nth-of-type(1)` , `${ this . rowsToSkip + config . WARMUP_COUNT + 1 } ` ) ;
147
+ const rowToClick = config . WARMUP_COUNT - i + this . rowsToSkip ;
148
+ await checkElementContainsText ( page , `pierce/tbody>tr:nth-of-type(${ rowToClick } )>td:nth-of-type(1)` , rowToClick . toString ( ) ) ;
149
+ await clickElement ( page , `pierce/tbody>tr:nth-of-type(${ rowToClick } )>td:nth-of-type(3)>a>span:nth-of-type(1)` ) ;
150
+ await checkElementContainsText ( page , `pierce/tbody>tr:nth-of-type(${ rowToClick } )>td:nth-of-type(1)` , `${ this . rowsToSkip + config . WARMUP_COUNT + 1 } ` ) ;
151
151
}
152
152
await checkElementContainsText ( page , `pierce/tbody>tr:nth-of-type(${ this . rowsToSkip + 1 } )>td:nth-of-type(1)` , `${ this . rowsToSkip + config . WARMUP_COUNT + 1 } ` ) ;
153
153
await checkElementContainsText ( page , `pierce/tbody>tr:nth-of-type(${ this . rowsToSkip } )>td:nth-of-type(1)` , `${ this . rowsToSkip } ` ) ;
You can’t perform that action at this time.
0 commit comments