From 2b7c54f1b93c2bf8629532e47e26baaef50ccacf Mon Sep 17 00:00:00 2001 From: John Hildenbiddle Date: Mon, 13 Jul 2020 18:50:00 -0400 Subject: [PATCH] Add jestPlaywright.debug() to e2e examples --- tests/e2e/example.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/e2e/example.test.js b/tests/e2e/example.test.js index 77671025..691fc158 100644 --- a/tests/e2e/example.test.js +++ b/tests/e2e/example.test.js @@ -49,6 +49,10 @@ describe(`Example Tests`, function() { await page.waitForSelector('p'); expect(await page.textContent('p')).toEqual(testText); await page.waitForSelector('table', { state: 'detached' }); + + // Debug mode + // https://github.com/playwright-community/jest-playwright#put-in-debug-mode + // await jestPlaywright.debug(); }); test('javascript in the browser context', async () => {