File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as path from 'path' ;
2
2
import * as fs from 'fs-extra' ;
3
- import { BasePage } from '../pageObjects' ;
4
3
import { syncFeaturesApi } from './api/api-info' ;
5
4
import { DatabaseScripts , DbTableParameters } from './database-scripts' ;
5
+ import { t } from 'testcafe' ;
6
6
7
- const basePage = new BasePage ( ) ;
8
7
const dbTableParams : DbTableParameters = {
9
8
tableName : 'features_config' ,
10
9
columnName : 'controlNumber' ,
@@ -41,7 +40,7 @@ export async function updateControlNumber(controlNumber: number): Promise<void>
41
40
await syncFeaturesApi ( ) ;
42
41
await DatabaseScripts . updateColumnValueInDBTable ( { ...dbTableParams , rowValue : controlNumber } ) ;
43
42
await syncFeaturesApi ( ) ;
44
- await basePage . reloadPage ( ) ;
43
+ await t . eval ( ( ) => location . reload ( ) ) ;
45
44
}
46
45
47
46
/**
You can’t perform that action at this time.
0 commit comments