Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

### From Protractor to WebdriverIO (WDIO)

Due to [Protractor ending development](https://github.com/angular/protractor/issues/5502), WDIO will now be used instead going forward.
Due to [Protractor ending development](https://github.com/angular/protractor/issues/5502), WDIO will now be used instead of Protractor going forward.

### What this means for you...

* The biggest thing is that you'll need a new config. See the [courgette-conf.js](https://github.com/canvaspixels/courgette/blob/master/courgette-conf.js) inside the Courgette repo that's used to test that Courgette itself works (it runs a small website to test against).

* The next biggest thing is that Courgette is doing away with `.js` page objects (and component objects). From now on only the YAML syntax is supported.
* The next thing is that Courgette is doing away with `.js` page objects (and component objects). From now on only the YAML syntax is supported.

* Built-in step definitions are still all the same as before however some have been removed (see below). However if you have made your own step definitions, you'll need to use WDIO methods where you've used Protractor methods. E.g. `browser.executeScript` becomes `browser.execute`. See all the methods on the WDIO site e.g. here: https://webdriver.io/docs/api/element/addValue/

Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ const startRunner = () => {
log(red, `\n------------------ Scenario Error --------------- ${el.name}`);
log(yellow, `Tags: ${el.tags.map((tag) => tag.name).join(', ')}`);
log(yellow, `Step: ${step.keyword} ${step.name}`);
// TODO WDIO - look into why location isn't in the json
// let { location } = step.match;
let stepsGroupStepsLength = 1;
if (step.embeddings) {
Expand Down
Loading