quoad
Version:
Serenity/JS: Next generation acceptance testing library for modern web applications.
13 lines (9 loc) • 344 B
text/typescript
import { AssertionError } from '@serenity-js/core';
import { describe, it } from '@serenity-js/playwright-test';
describe('Playwright Test reporting', () => {
describe('A scenario', () => {
it('fails when the assertion fails', () => {
throw new AssertionError('Expected true to equal false');
});
});
});