Add a single login for all tests in the form of a global setup. This commit also removes the login from all tests and replaces it with navigation to landing page and revamps the popup closing logic from being applied in logging step into a separate fixture.
8 lines
296 B
TypeScript
8 lines
296 B
TypeScript
// This is a common fixture for the customizations tests
|
|
import { mergeTests } from '@playwright/test';
|
|
|
|
import { test as cleanupTest } from './cleanup';
|
|
import { test as popupTest } from './popupHandler';
|
|
|
|
// Combine the fixtures into one
|
|
export const test = mergeTests(cleanupTest, popupTest);
|