A next generation, full-stack acceptance testing framework optimised for collaboration, speed and scale!
APACHE-2.0 License
Bot releases are hidden (Show)
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak almost 4 years ago
Note: Version bump only for package serenity-js-monorepo
Published by jan-molak over 7 years ago
See
is no longer reported by default, as that polluted the report and triggere (3b7efb81)tags
parameter in cucumberOpts
is now correctly typed as a list of strin (abdeddad)TakeNotes
to assert on their contents later. (ab368276, closes #24)SerenityBDDReporter, which better handles gathering results from tests executed in parallel.
(0b93ff0d)
You can use the SerenityProtractorFramework instead of the mocha
or the protractor-cucumber-framework
modules
as it provides capabilities equivalent to those modules, and also enables an easy integration with Serenity/JS
as well as synchronisation with the WebDriver ControlFlow so that the test reports will show accurate timing.
To enable the framework, add the following configuration to your protractor.conf.js
file:
exports.config = {
framework: 'custom',
frameworkPath: require.resolve('serenity-js'),
serenity: {
dialect: 'cucumber' // or 'mocha'
},
specs: [ 'features/**/*.feature' ],
cucumberOpts: { // or 'mochaOpts'
},
Both cucumberOpts
and mochaOpts
don't need to change as SerenityProtractorFramework can act as a drop-in replacement.
Please see the todomvc-protractor-cucumber
and todomvc-protractor-mocha
example project for details.
BREAKING CHANGE: The serenity
object should be used instead of the Serenity
singleton to initialise
the stage and the actors.
Instead of:
import { Serenity } from 'serenity-js';
const stage = Serenity.callToStageFor(cast);
use:
import { serenity } from 'serenity-js';
const stage = serenity.callToStageFor(cast);
Tutorials and more documentation to follow shortly!
(6cf0197a)