quoad
Version:
Serenity/JS: Next generation acceptance testing library for modern web applications.
24 lines (18 loc) • 668 B
JavaScript
const
{ actorCalled } = require('@serenity-js/core'),
{ Navigate } = require('@serenity-js/web'),
{ UseAngular } = require('@serenity-js/protractor');
describe('Jasmine', () => {
describe('A screenplay scenario', () => {
beforeEach(() => actorCalled('Jasmine').attemptsTo(
UseAngular.disableSynchronisation(),
Navigate.to('chrome://version/'),
));
it('passes', () => actorCalled('Jasmine').attemptsTo(
Navigate.to('chrome://accessibility/'),
));
afterEach(() => actorCalled('Jasmine').attemptsTo(
Navigate.to('chrome://chrome-urls/'),
));
});
});