*ALL FREE COURSES* ►
[id82090056|*ASK] RAGHAV* ►
00:00 *Intro*
00:32 *What are Annotations & Tags*
How to use Annotations & Tags in Playwright
Step by Step hands-on demo
Hooks:
beforeAll
beforeEach
afterAll
afterEach
Groups:
describe
Annotations:
only
skip
skip with condition
fail
fixme
slow
Tags:
[id438459276|@smoke]
@reg
03:09 *will skip the test*
(’skip this test’, async ({ page }) => {
// This test will be skipped
});
05:20 *will mark test as failure*
will show error if the test does not fail
test(’not yet ready’, async ({ page }) => {
();
});
06:39 *test will be aborted*
(’test to be fixed’, async ({ page }) => {
});
07:36 [id18204|*marks] the test as slow and triples the test timeout*
test(’slow test’, async ({ pag ...
#RaghavPal #tags_in_playwright #playwright_how_to_use_annotations #how_to_use_grep_in_playwright #playwright_beginner_tutorial #playwright_hands-on_step_by_step
20221031
9dSRZ-oswlM