-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hello Vasu31dev! What an awesome framework with utility methods and excellent understandability.
One unique thing about Playwright is the concept of fixtures or ability to create custom fixtures that can reduce code duplication and especially the import statements that can make a test file clunky.
Is there any way to create custom fixtures for the pages from page object folder that we can call in the tests so that statements like following can be removed or any other repeatable steps across all tests if they are stand alone - example login, import statements like below
import { click, clickAndNavigate, fill, gotoURL } from 'vasu-playwright-utils';
import { expectElementToBeVisible } from 'vasu-playwright-utils';
import { getLocator, getLocatorByPlaceholder, getLocatorByRole } from 'vasu-playwright-utils';