3.0.0 • Published 5 months ago

@qavajs/playwright v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@qavajs/playwright

qavajs implementation for playwright test runner

Installation

npm install @qavajs/playwright`

Configuration

cucumber.ts

import Memory from './memory';
import App from './page_object';

export default {
    paths: ['features/*.feature'],
    require: [
        'node_modules/@qavajs/playwright/steps.js', // package steps
        'step_definitions/*.ts' // custom step definitions
    ],
    memory: new Memory(),
    pageObject: new App()
}

playwright.config.ts

import { defineCucumber } from '@qavajs/playwright';

export default defineConfig({
    testDir: defineCucumber({
        config: 'test-e2e/config.ts',
        profile: 'smoke'
    }),
    ...
});

Development and testing

Install dependencies npm install

Install playwright browsers install:browsers

Build lib npm run build

Execute e2e browser tests npm run test:e2e

1.1.0

9 months ago

3.0.0

5 months ago

2.3.0

10 months ago

2.5.0

7 months ago

2.4.0

7 months ago

2.3.1

9 months ago

1.0.1

12 months ago

1.0.0

12 months ago

2.2.0

12 months ago

2.1.1

12 months ago

2.1.0

12 months ago

2.0.0

12 months ago

0.4.1

12 months ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago