Skip to content

Commit f77da91

Browse files
committed
test: load segment group fixture directly
1 parent 7ea1122 commit f77da91

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tests/specs/segment-group-download.e2e.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
import * as path from 'path';
22
import * as fs from 'fs';
33
import { cleanuptotal } from 'wdio-cleanuptotal-service';
4-
import { waitForFileExists } from './utils';
4+
import { openUrls, waitForFileExists } from './utils';
55
import { volViewPage } from '../pageobjects/volview.page';
66
import { TEMP_DIR } from '../../wdio.shared.conf';
7+
import { PROSTATEX_DATASET } from './configTestUtils';
78

89
const SAVE_TIMEOUT = 40000;
910

1011
const loadSampleWithSegmentGroup = async (name: string) => {
11-
await volViewPage.open();
12-
await volViewPage.downloadProstateSample();
13-
await volViewPage.waitForViews();
12+
await openUrls([PROSTATEX_DATASET]);
1413
await volViewPage.createSegmentGroup(name);
1514
};
1615

0 commit comments

Comments
 (0)