Skip to main content

@pw-codeceptjs

Declarative:

pw-codeceptjs was designed for creating more understandable tests, which can be read everyone in your team.

base.spec.ts
import { test } from '@pw-codeceptjs/test'

test.describe('Fixture', () => {
test('test #1', async ({ I }) => {
await I.amOnPage('https://playwright.dev/')
await I.waitForText('Playwright', { locator: '.navbar__inner .navbar__title' })
})
})

Configurable:

Extensions provide to expand base functionality.

extension.spec.ts
import { test } from '@pw-codeceptjs/test'

test.describe('Fixture', () => {
test('test #1', async ({ I }) => {
await I.amOnPage('https://playwright.dev/')
await I.waitForText('Playwright', { locator: '.navbar__inner .navbar__title' })
await I.use.utils.wait(3)
})
})