Closed ellenmobify closed 8 years ago
Lets add a test for this please
A couple pretty general questions for nightwatch-commands
:
develop
branch which we create releases from that merge into master and get NPM published)eslint
for our JS)@marlowpayne great questions.
@mobify-derrick awesome. I totally agree that a separate PR will be needed for linting + other enhancements. Should this PR follow gitflow then? We can add linting and/or other changes into the new release in develop
.
Another thing: This repo has some tests written for it + a circle.yml
file, but they're broken and CircleCI isn't integrated into PRs. We should probably look into that as an enhancement too.
@marlowpayne you are probably right, @ellenmobify lets get this PR following gitflow.
Ellen and I were discussing the tests, we need to get them working again. We'll probably engage you for next release for some help on them. Tests for assertions work however the commands do not. I would suggest that this is also a separate PR.
For now I am testing this manually
@mobify-derrick all sounds good. I'll also start looking into how easy / painful the catch-up with the eslint
standard would be.
Closing this PR so that it can migrate to one for gitflow.
Status: Ready for Review Owner: Ellen Reviewers: @RobotRogue @twangtina @gsaray @lilyzh @mobify-derrick @marlowpayne
Changes
.waitForUrlToContain('url', milliseconds, timeout, messages, callback)
that waits formilliseconds
milliseconds for the page URL to containurl
. Default is to wait 10000 ms.Todos:
Feedback:
How to Test
package.json
,"nightwatch-commands": "git://github.com/mobify/nightwatch-commands.git#waitForUrlToContain",