1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

- e2e tests should work with production now also by exporting STF_URL, STF_USERNAME and STF_PASSWORD.

- Added BrowerLogs, a Protractor helper which redirects browser logs to the console, with an additional expectNoLogs option.
- Refactored Login model names to work seamlessly.
This commit is contained in:
Gunther Brunner 2014-08-26 20:57:26 +09:00
parent a08d9e26f0
commit e87dc45fb9
8 changed files with 104 additions and 30 deletions

View file

@ -56,14 +56,18 @@ gulp.task('karma', function (done) {
}, done)
})
gulp.task('webdriver_update', protractor.webdriver_update)
gulp.task('webdriver_standalone', protractor.webdriver_standalone)
gulp.task('webdriver-update', protractor.webdriver_update)
gulp.task('webdriver-standalone', protractor.webdriver_standalone)
gulp.task('protractor', function (callback) {
var args
var suite = gutil.env.suite
if (typeof suite === 'string') {
args = ['--suite', suite]
var args = []
if (typeof gutil.env.suite === 'string') {
args.push('--suite')
args.push(gutil.env.suite)
}
if (gutil.env.debug) {
args.push('debug')
}
gulp.src(["./res/test/e2e/**/*.js"])