testimio / root-cause

🔍 [DEPRECATED] Root Cause is a tool for troubleshooting Puppeteer and Playwright tests. 🔎
GNU Affero General Public License v3.0
266 stars 17 forks source link

Document use with playwright-test #108

Open rattrayalex opened 3 years ago

rattrayalex commented 3 years ago

jest-playwright is now telling people to just use @playwright/test instead of Jest, eg:

import { test, expect } from '@playwright/test';

test.describe('headed block', () => {
  test.use({ headless: false });

  test('my headed test', async ({ page }) => {
    // ...
  });
});
$ npx playwright test

Currently there don't seem to be docs or examples on how to use root-cause with this test runner.