Version 1.9.x
Safari support
Spectrum now supports Safari. Check the Safari section in the docs for more details.
Adding .yml extension support
From now on, you can name all the yaml files with either .yaml
or .yml
extension.
This is valid for all yamls, such as configuration
, data
, and testbook
.
Default mail template
The default mail template could already be used for either notifying about single tests or the whole suite. Now it also reports the result (success/failed) of the suite.
Check the Mail Consumer section in the docs for more details.
⚠️ Environments configuration
In order to have environments configured and activated in the same way we do for drivers, we now have two nodes in the configuration.yaml
:
environments
to configure all the environments you may needruntime.environment
to specify which one to pick
Check the Configuring the Environment section in the docs for more details.
⚠️ Changing configuration node name
To make it clear that the webDriver
node in the configuration.yaml
maps the configurations of the drivers that can be selected via the -Dspectrum.driver
property, the name of this node has changed:
webDriver
→ drivers
Check the Configuring the Driver section in the docs for more details.
The two changes above, related to drivers and environments, are meant to provide a much clearer configuration. We now have these:
Configuration Node | Selection Node | Selection Property |
---|---|---|
drivers |
runtime.driver |
-Dspectrum.driver |
environments |
runtime.environment |
-Dspectrum.environment |
Where the columns are:
- Configuration Node: name of the node in the
configuration.yaml
to map the configurations of all the possible drivers/environments - Selection Node: name of the node in the
configuration.yaml
to select the specific driver/environment to be used - Selection Property: name of the runtime property to select the specific driver/environment to be used
You can choose either to use the selection node or property.
Check the Drivers and Environments section in the docs for more details.