- added compression for screenshot pngs
- adding new step definitions
- I wait for 'LOCATOR' to exist
- I wait for 'LOCATOR' to not exist
- I wait '1' second
- I wait 'n' seconds
- IMPORTANT - cukeTags is now just tags
- @ignore fixed and now throws an error if you try and run a tag that also has a @ignore tag next to it
- now throwing errors on duplicate locator keys across the types (css selectors, xpaths deepselectors)
- adding components example to the sample
- support added for input type="file" canvaspixels#32
- Adds "extends" capability to allow you to extend another page. See example and more info here: https://github.com/canvaspixels/courgette/blob/master/testsToValidateStepDefinitions/pages/similar-simple.page
- Adding reusable .steps file which can dynamically create parameterised step definitions. See canvaspixels#29 for examples
- introduces the notion of writing Given When Thens without needing page objects for simple specification writing. See newly organised Available step definitions split into two categories. One no
- duplication in the snippets builder removed
- Officially Cuketractor has been renamed to Courgette
- Setup script is now in the postinstall so all that is needed for setup is
npm i courgette
Added support for web components
- moved to FirefoxDriver by default
- added screenshot viewer for screenshots taken by steps (not error screenshots)
- improved documentation for BDD
- renamed checkEventualUrlFromPOM to setPageObjectThenCheckUrl
- load of small fixes canvaspixels#10
- added validation to .component and .page files
- added Cucumber runner for unused steps
- added a couple of tests for set input
- Made test runs fail on duplicate locators
- Deleted snippets in repo before recreating
adding install-chromedriver script and postinstall script to your project's package.json when you run the setup script
removed the postinstall script from courgette's package.json as it causes issues if behind a proxy
Adding take a screenshot step
Windows is now supported
- Introducing .page and .component yaml files, a simpler way to define and compose your page objects, with less boilerplate.
- Making test run return 1 as exit code if any of the steps are undefined / failing
- improving README
- making camelcase folders consistent