Link to the Udemy tutorials (https://www.udemy.com/react-redux/)?
There are two steps for getting started.
> git clone https://github.com/AnnahGerletti/redo-tutorial.git
> cd redo-tutorial
> npm install
> npm start - there is a server and want to use localhost:8080
KEY: Don't get codecept.io mixed up with codeception DIFFERENT.
Helpful github repo
To Run your tests
Quick Start is a good reference starting point
Scenario('Can user see page title', function * (I) {
I.amOnPage(globals.pageUrl)
let title = yield I.grabTitle()
// I.seeInTitle("Video Player") wrong title
assert.equal(title, 'React Redux')
})
I.amOnPage
is one of the Codecept.io helpersyield
is an ES6 genorator function, can read about these here:
https://davidwalsh.name/es6-generators