Saving more code clean up and removal
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { ae_app_local_data_defaults } from './_helpers/ae_defaults';
|
||||
import { testing_event_id, testing_account_id } from './_helpers/env';
|
||||
import { attach_minimal_v3_routes } from './_helpers/minimal_v3_mocks';
|
||||
import { attach_minimal_routes } from './_helpers/minimal_ae_api_mocks';
|
||||
|
||||
const event_id = testing_event_id;
|
||||
|
||||
@@ -12,7 +12,7 @@ test.describe('Event Presenter Page - smoke', () => {
|
||||
if (msg.type() === 'error' || msg.type() === 'warning') console.error(`BROWSER [${msg.type().toUpperCase()}]: ${msg.text()}`);
|
||||
});
|
||||
|
||||
await attach_minimal_v3_routes(page, event_id);
|
||||
await attach_minimal_routes(page, event_id);
|
||||
|
||||
await page.addInitScript(([defaults, event_id, account_id]) => {
|
||||
const test_data = { ...defaults, account_id: account_id, manager_access: true } as any;
|
||||
|
||||
Reference in New Issue
Block a user