Skip to content

Commit 8c3566b

Browse files
renemadsenclaude
andcommitted
Fix Playwright test import paths for Login.page and Plugin.page
Update imports to use 'Page objects/' subdirectory matching the new eform-angular-frontend Playwright structure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0145068 commit 8c3566b

33 files changed

Lines changed: 54 additions & 54 deletions

eform-client/playwright/e2e/plugins/time-planning-pn/a/time-planning-enabled.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44

55
test.describe('Enable Time Planning plugin', () => {
66
test.describe.configure({ timeout: 240000 });

eform-client/playwright/e2e/plugins/time-planning-pn/a/time-planning-working-hours.export.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
33
import { TimePlanningWorkingHoursPage } from '../TimePlanningWorkingHours.page';
44
import { selectDateRangeOnNewDatePicker, selectValueInNgSelector } from '../../../helper-functions';
55
import * as XLSX from 'xlsx';

eform-client/playwright/e2e/plugins/time-planning-pn/b/activate-plugin.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44

55
test.describe('Enable Backend Config plugin', () => {
66
test.beforeEach(async ({ page }) => {

eform-client/playwright/e2e/plugins/time-planning-pn/b/dashboard-assert.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44
import { TimePlanningWorkingHoursPage } from '../TimePlanningWorkingHours.page';
55
import { selectDateRangeOnNewDatePicker } from '../../../helper-functions';
66

eform-client/playwright/e2e/plugins/time-planning-pn/b/dashboard-edit-a.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44
import { TimePlanningWorkingHoursPage } from '../TimePlanningWorkingHours.page';
55
import { selectDateRangeOnNewDatePicker } from '../../../helper-functions';
66

eform-client/playwright/e2e/plugins/time-planning-pn/b/dashboard-edit-b.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
33

44
const formatDate = (date: Date): string => {
55
const day = date.getDate();

eform-client/playwright/e2e/plugins/time-planning-pn/b/time-planning-settings.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect, Page } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44

55
async function clickTimepickerValue(page: Page, inputId: string, timeStr: string): Promise<void> {
66
const [hourStr, minuteStr] = timeStr.split(':');

eform-client/playwright/e2e/plugins/time-planning-pn/c/activate-plugin.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44

55
test.describe('Enable Backend Config plugin', () => {
66
test.beforeEach(async ({ page }) => {

eform-client/playwright/e2e/plugins/time-planning-pn/c/dashboard-edit-a.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44
import { TimePlanningWorkingHoursPage } from '../TimePlanningWorkingHours.page';
55
import { selectDateRangeOnNewDatePicker } from '../../../helper-functions';
66

eform-client/playwright/e2e/plugins/time-planning-pn/d/activate-plugin.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { test, expect } from '@playwright/test';
2-
import { LoginPage } from '../../../Login.page';
3-
import { PluginPage } from '../../../Plugin.page';
2+
import { LoginPage } from '../../../Page objects/Login.page';
3+
import { PluginPage } from '../../../Page objects/Plugin.page';
44

55
test.describe('Enable Backend Config plugin', () => {
66
test.beforeEach(async ({ page }) => {

0 commit comments

Comments
 (0)