quoad
Version:
Serenity/JS: Next generation acceptance testing library for modern web applications.
15 lines (11 loc) • 434 B
text/typescript
import { Ensure, equals } from '@serenity-js/assertions';
import { describe, it } from '@serenity-js/playwright-test';
describe('Playwright Test reporting', () => {
describe('A screenplay scenario', () => {
it('correctly reports assertion errors', async ({ actorCalled }) => {
await actorCalled('Donald').attemptsTo(
Ensure.that(false, equals(true)),
);
});
});
});