Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #252 from LiskHQ/202_cucumber-for-e2e
Browse files Browse the repository at this point in the history
Refactor e2e tests to multitple files and use cucumber - Closes #202
  • Loading branch information
slaweet authored May 23, 2017
2 parents 89ff7bc + 0513907 commit 2b00967
Show file tree
Hide file tree
Showing 37 changed files with 521 additions and 494 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,23 @@
"func-names": "off",
"global-require": "off",
"new-cap": ["error", { "newIsCapExceptions": ["mnemonic"]}],
"new-cap": ["error", {
"newIsCapExceptions": ["mnemonic"],
"capIsNewExceptions" : [
"When",
"Then",
"Given",
"After",
"Before"
]
}],

"no-loop-func": "off",
"no-plusplus": "off",
"no-restricted-properties": "off",
"no-return-assign": "off",
"no-underscore-dangle": "off",
"import/no-extraneous-dependencies": "off",
"no-param-reassign": "off"
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ node_modules
npm-debug.log
src/.nyc_output
coverage
src/e2e-test-screenshots
e2e-test-screenshots
app/report.html
app/*.map
*.sw[pon]
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function (grunt) {
fix: false,
},
all: {
src: ['src/**/*.js', 'e2e-test/**/*.js', 'test/**/*.js', 'app/main.js', '*.js'],
src: ['src/**/*.js', 'features/**/*.js', 'test/**/*.js', 'app/main.js', '*.js'],
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ npm run dev
Run the protractor tests (replace `~/git/lisk/` with your path to lisk core):

```
./spec/setup.sh ~/git/lisk/
./e2e-test-setup.sh ~/git/lisk/
npm run e2e-test
```

Expand Down
File renamed without changes.
35 changes: 0 additions & 35 deletions e2e-test/conf.js

This file was deleted.

Loading

0 comments on commit 2b00967

Please sign in to comment.