Skip to content

Commit 4e176ba

Browse files
committed
#232 fix tests docker
1 parent 5a598e4 commit 4e176ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

data-browser/tests/e2e.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ test.describe('data-browser', async () => {
3737
test.beforeEach(async ({ page }) => {
3838
// Open the server
3939
await page.goto(frontEndUrl);
40+
// Sometimes we run the test server on a different port, but we should
41+
// only change the drive if it is non-default.
42+
if (serverUrl !== 'http://localhost:9883') {
43+
await changeDrive(serverUrl, page);
44+
}
4045
await expect(page.locator(currentDriveTitle)).toBeVisible();
4146
});
4247

0 commit comments

Comments
 (0)