0.3.25 • Published 4 years ago

playwright-runner v0.3.25

Weekly downloads
16
License
Apache-2.0
Repository
github
Last release
4 years ago

🎭 playwright-runner

This package is not ready for use. If you want to run tests with playwright, checkout jest-playwright for Jest or karma-playwright-launcher for Karma.

A test runner for running tests with Playwright.

  1. npm i -D playwright-runner
  2. Place unit tests in files ending with .spec.*.
// src/foo.spec.ts
import 'playwright-runner';
import { it, expected } from '@playwright/test-runner';

it('is a basic test with the page', async ({page}) => {
  await page.goto('https://playwright.dev/');
  const home = await page.waitForSelector('home-navigation');
  expect(await home.evaluate(home => home.innerText)).toBe('🎭 Playwright');
});
  1. Run all of your tests with npx test-runner .
0.3.25

4 years ago

0.3.24

4 years ago

0.3.23

4 years ago

0.3.22

4 years ago

0.3.21

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.7

4 years ago

0.0.5

4 years ago

0.0.6

4 years ago

0.9.0

4 years ago