UNPKG

4.63 kBMarkdownView Raw
1# CHANGELOG
2
3### 1.2.3 (2016-05-31)
4
5
6#### Bug Fixes
7
8* **api:** correctly execute callbacks if present in API methods ([d419e4be](https://github.com/Adezandee/cucumber-mink/commit/d419e4be))
9
10
11### 1.2.2 (2016-04-14)
12
13
14#### Bug Fixes
15
16* **mink:** print error and exit inside before and after handlers ([d85bfedb](https://github.com/Adezandee/cucumber-mink/commit/d85bfedb))
17
18### 1.2.1 (2016-04-14)
19
20
21#### Bug Fixes
22
23* **cli:** cast cli inject parameter as boolean ([0e51fd55](https://github.com/Adezandee/cucumber-mink/commit/0e51fd55))
24* **mink:** catch before and after features errors ([774da3ae](https://github.com/Adezandee/cucumber-mink/commit/774da3ae))
25
26## 1.2.0 (2016-04-12)
27
28
29#### Features
30
31* **package:** update cucumber to version 0.10.2 ([eb1f01a2](https://github.com/Adezandee/cucumber-mink/commit/eb1f01a2))
32
33### 1.1.1 (2016-03-04)
34
35
36#### Bug Fixes
37
38* **mink:** es6 module - commonjs require interop ([164f6d87](https://github.com/Adezandee/cucumber-mink/commit/164f6d87))
39* **test:** add lodash as dev dependencies for tests ([7cd9340e](https://github.com/Adezandee/cucumber-mink/commit/7cd9340e))
40
41
42## v1.1.0 (2016-02-12)
43* Major dependencies version bump
44* Rewrite to ES2015 and Bluebird Promises
45* Added some mocha unit tests alongside e2e
46* Added step: `/^I send key "([^"]*)" in "([^"]*)" element$/`
47
48## v1.0.2 (2015-07-27)
49* Fix #24: Chai assertion errors are now correctly sent in the callback pipeline
50
51## v1.0.1 (2015-07-21)
52* Fix #22: Handle driver.baseUrl parameter from Mink.init() properly
53
54## v1.0.0 (2015-07-18)
55* Upgraded cucumber-js (0.5.2) and WebDriverIO (3.1.0)
56* Added `cucumber-mink` CLI tool with Mink auto-injection into cucumber-js context
57* Removed `Driver` object automatic injection in Mink's step functions
58* Exported build-prototype to standalone package.
59
60## v0.5.0 (2015-05-19)
61* BC: Unified `StepObj` blueprint between Mink's functions
62* Added new methods on Mink object: `mink.findStep()`, `mink.manyStep()`, `mink.runStep()`
63* Exported internal testing methods in spec files
64* Enabled Firefox in Travis-CI
65
66## v0.4.0 (2015-03-19)
67* BC: `cucumber.defineStep()` and siblings reverted to standard cucumber-js.
68* BC: Mink is now a less intrusive library. You should call it with `mink.init(cucumberContext, parameters)` instead of `mink.call()`.
69* BC: Mink is no longer automatically attached to cucumber context in any way. To use it in your custom files, use `mink = require('cucumber-mink')`.
70* Added: `mink.defineStep()` and siblings `mink.Given`, `mink.Then`, `mink.When`
71* Added step: `/^the "([^"]*)" current option contain "([^"]*)"$/`
72* Switched to ESLint
73
74## v0.3.0 (2015-02-09)
75* Added step: `/^I hover "([^"]*)" element$/`
76* Added step: `/^I submit "([^"]*)" form$/`
77* Added step: `/^I take a screenshot$/`
78* Added step: `/^the "([^"]*)" field should be enabled$/`
79* Added step: `/^the "([^"]*)" field should be disabled$/`
80* Removed deprecated step on status code
81* Improved code coverage
82
83## v0.2.2 (2015-01-31)
84* Improved code-climate with factorized Assert-* methods
85* Upgraded npm dependencies
86* Updated README
87
88## v0.2.1 (2015-01-16)
89* Added Link compatibility method: `/^I follow "([^"]*)"$/` now accepts CSS Selector or <a> tag text content
90* Added Press button compatibility method: `/^I press "([^"]*)"$/` now accepts CSS Selector or <button> & <input type="submit" \> tag text content
91* Refactored driver methods file structure
92
93## v0.2.0 (2015-01-15)
94* Added new step: `the viewport is <X>px width and <Y>px height`
95* Added automatic screenshot on scenario failure if `driver.options.screenshotPath` is defined
96* Default viewport size of WebDriver is : width: 1366px, height: 768px
97* BC: Dropped Zombie.js driver support
98* BC: New methods signature for `World.defineStep` and siblings methods. Direct injection of Driver object.
99* BC: MetaStep builder methods now accessible through `mink.metaStep(Driver, [] stepsArray, Fn callback)`
100
101## v0.1.0 (2015-01-08)
102* Added [WebDriverIO](https://github.com/webdriverio/webdriverio) Selenium driver support, default driver still Zombie.js
103* Created driver API between Zombie.js and WebDriverIO
104* Added parameters to cucumber-mink Constructor (mainly for driver options)
105* Added Coveralls, and Code-climate
106* BC: MetaBuilder now use `stepFunc` instead of `name`. You have to pass in a function (from this repository or custom)
107* BC: All steps now only accepts CSS Selector
108* DEPRECATED: removed step /^the response status code should be (\d+)$/
109* DEPRECATED: removed step /^the response status code should not be (\d+)$/
110* UPDATE: npm dependencies upgrade
111
112## v0.0.3 (2014-12-29)
113* initial release with Zombie.js support