Skip to content

Commit ca7094d

Browse files
committed
Fix hostname test
1 parent 05c4972 commit ca7094d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

browser/e2e/tests/e2e.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ test.describe('data-browser', async () => {
330330
test('configure drive page', async ({ page }) => {
331331
await signIn(page);
332332
await openConfigureDrive(page);
333-
await expect(currentDriveTitle(page)).toHaveText('localhost');
333+
const expectedTitle = new URL(SERVER_URL);
334+
await expect(currentDriveTitle(page)).toContainText(expectedTitle.hostname);
334335

335336
// temp disable this, because of trailing slash in base URL
336337
// await page.click(':text("https://atomicdata.dev") + button:text("Select")');

0 commit comments

Comments
 (0)