Add jestPlaywright.debug() to e2e examples

This commit is contained in:
John Hildenbiddle
2020-07-13 18:50:00 -04:00
parent 3ce73f14ed
commit 2b7c54f1b9
+4
View File
@@ -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 () => {