A plugin to run smoke tests as part of your CircleCI workflow using the n-test package.
With Tool Kit already set up, install this plugin as a dev dependency:
npm install --save-dev @dotcom-tool-kit/n-test
And add it to your repo's .toolkitrc.yml
:
plugins:
- '@dotcom-tool-kit/n-test'
Run n-test smoke tests against your application.
Property | Description | Type |
---|---|---|
browsers |
Selenium browsers to run the test against | Array<string> |
host |
Set the hostname to use for all tests. If running in an environment such as a review or staging app build that has Tool Kit state with a URL for an app to run against, that will override this option. | string |
config |
Path to config file used to test | string |
interactive |
Interactively choose which tests to run | boolean |
header |
Request headers to be sent with every request | Record<string, string> |
All properties are optional.