Skip to content

Commit

Permalink
Cli (#5)
Browse files Browse the repository at this point in the history
* cli

* cli
  • Loading branch information
gkushang committed Aug 23, 2019
1 parent 3088851 commit 952003a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,3 @@ Feature: Search Github

When he searches for the "gkushang/codeceptjs-e2e"
Then he sees all the detailed highlighted results including description or license info and many more


## If you have more than ONE datasets, use 'Scenario Outline'
@search_repositories
Scenario Outline: Fred is able to search for correct repository

When he searches for the "<repository>"
Then he is able to see the "<repository>" in search results

Scenarios:
| repository |
| gkushang/codeceptjs-selenium |
2 changes: 1 addition & 1 deletion packages/codeceptjs-cucumber/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const run = async () => {

shell.cd(ROOT_PATH);

if (shell.exec('yarn add codeceptjs-saucelabs codeceptjs-shared @wdio/selenium-standalone-service allure-commandline codeceptjs codeceptjs-selenium debug faker protractor rimraf should webdriverio deepmerge -D' ).code !== 0) {
if (shell.exec('yarn add codeceptjs-saucelabs@latest codeceptjs-shared@latest @wdio/selenium-standalone-service allure-commandline codeceptjs debug faker protractor rimraf should webdriverio deepmerge -D' ).code !== 0) {
failure('Yarn command failed.');
}

Expand Down
1 change: 1 addition & 0 deletions packages/codeceptjs-cucumber/codecept.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ let conf = {
features: RELATIVE_PATH + 'features/**/*.feature',
steps: [
STEPS_PATH + 'search/github.steps.js',
STEPS_PATH + 'login/login.steps.js',
STEPS_PATH + 'hooks/hooks.js'
]
},
Expand Down

0 comments on commit 952003a

Please sign in to comment.