From b1398d38afd3d020e473ff2ea473dea966c3a3df Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Thu, 4 Aug 2022 14:49:22 +0200 Subject: [PATCH] use default config for login specs --- src/Umbraco.Web.UI.Client/e2e/login.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/e2e/login.spec.ts b/src/Umbraco.Web.UI.Client/e2e/login.spec.ts index 1497331509..0850631cc3 100644 --- a/src/Umbraco.Web.UI.Client/e2e/login.spec.ts +++ b/src/Umbraco.Web.UI.Client/e2e/login.spec.ts @@ -1,7 +1,5 @@ import { expect, test } from '@playwright/test'; -import config from '../playwright.config'; - test('login', async ({ page }) => { // Go to /login await page.goto('/login'); @@ -15,5 +13,5 @@ test('login', async ({ page }) => { // Click [aria-label="Login"] await page.locator('[aria-label="Login"]').click(); - await expect(page).toHaveURL(`${config.use?.baseURL}/section/content/dashboard/welcome`); + await expect(page).toHaveURL(`/section/content/dashboard/welcome`); });