File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 11import { promises as fs } from 'fs' ;
2- import { strict as assert } from 'assert' ;
32import path from 'path' ;
43import { hideBin } from 'yargs/helpers' ;
54import yargs from 'yargs/yargs' ;
@@ -19,12 +18,6 @@ import {
1918} from './helpers' ;
2019import { Driver } from './webdriver/driver' ;
2120
22- const bridgeThresholdTimings = {
23- loadPage : 300 ,
24- loadAssetPicker : 500 ,
25- searchToken : 500 ,
26- } ;
27-
2821async function loadNewAccount ( ) : Promise < number > {
2922 let loadingTimes : number = 0 ;
3023
@@ -202,22 +195,6 @@ async function main(): Promise<void> {
202195 } else {
203196 console . log ( JSON . stringify ( results , null , 2 ) ) ;
204197 }
205-
206- //Gating Bridge test results
207- assert . ok (
208- bridgeResults . loadPage <= bridgeThresholdTimings . loadPage ,
209- `Bridge load page timing exceeded threshold timing of ${ bridgeThresholdTimings . loadPage } msec` ,
210- ) ;
211-
212- assert . ok (
213- bridgeResults . loadAssetPicker <= bridgeThresholdTimings . loadAssetPicker ,
214- `Bridge load asset picker timing exceeded threshold timing of ${ bridgeThresholdTimings . loadAssetPicker } msec` ,
215- ) ;
216-
217- assert . ok (
218- bridgeResults . searchToken <= bridgeThresholdTimings . searchToken ,
219- `Bridge search token timing exceeded threshold timing of ${ bridgeThresholdTimings . searchToken } msec` ,
220- ) ;
221198}
222199
223200main ( ) . catch ( ( error ) => {
You can’t perform that action at this time.
0 commit comments