Class: ChainedTemplateScenario

ChainedTemplateScenario


new ChainedTemplateScenario(sequence:, uri:, options:)

Parameters:
Name Type Description
sequence: Object

{init: {Object}, body: {Object}, close: {Object}} object containing the dataset of the tests to run. Each nested object must contain

     - _type => used for uri and options
     - (create|edit|delete) Template dataset to run
     - can use "#ID"+<_name>+"::"+<_type> to reference the ID of a previously created Object
uri: Objet

an object containing the URI information of the routes to tests, structured as {
<_type>: {
(create|edit|delete): {method, route}
}
}

options: Objet

an object containing the options of the routes to tests, structured as {
<_type>: {
(create|edit|delete): {method, route}
}
}

Source: