Skip to content

Commit f62b3b6

Browse files
committed
Removed gating
1 parent 5c3b49c commit f62b3b6

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

test/e2e/user-actions-benchmark.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { promises as fs } from 'fs';
2-
import { strict as assert } from 'assert';
32
import path from 'path';
43
import { hideBin } from 'yargs/helpers';
54
import yargs from 'yargs/yargs';
@@ -19,12 +18,6 @@ import {
1918
} from './helpers';
2019
import { Driver } from './webdriver/driver';
2120

22-
const bridgeThresholdTimings = {
23-
loadPage: 300,
24-
loadAssetPicker: 500,
25-
searchToken: 500,
26-
};
27-
2821
async 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

223200
main().catch((error) => {

0 commit comments

Comments
 (0)