Open bhushantbn opened 1 month ago
Currently all test cases are visible in UI Mode
test.describe.only('focused group', () => {
test('in the focused group', async ({ page }) => {
// This test will run
});
});
test('not in the focused group', async ({ page }) => {
// This test will not run
});
I have also suggest UI mode should work with test.describe.only
function group test as well. when user switching on UI mode for group test. If feasible.
🚀 Feature Request
if the user selects test. only test spec file and then execute a particular spec file then it should be a display test. only test case in UI mode.
Example
For example if the user selects test. only test cases and execute UI mode using the command line should display only selected cases the user selects. as per the mentioned code block below:
Motivation
It would be helpful for better understanding because the user only runs those tests that are selected by her/him.
This is my suggestion. I want to contribute more to the playwright community in the Future.
Happy Playwright Testing !!!
Thanks!!!