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

- Element explorer now launches WebDriver automatically.

This commit is contained in:
Gunther Brunner 2014-08-27 19:22:38 +09:00
parent 30bbf430d3
commit 9a8fa2dd3e
2 changed files with 94 additions and 18 deletions

View file

@ -51,18 +51,18 @@ gulp.task('karma', function (done) {
}, done)
})
if (gutil.env.multi) {
protractorConfig = './res/test/protractor-multi.conf'
}
gulp.task('webdriver-update', protractor.webdriver_update)
gulp.task('webdriver-standalone', protractor.webdriver_standalone)
gulp.task('protractor-explorer', function (callback) {
protractor.protractor_explorer({
url: 'http://yahoo.com'
url: require(protractorConfig).config.baseUrl
}, callback)
})
if (gutil.env.multi) {
protractorConfig = './res/test/protractor-multi.conf'
}
gulp.task('protractor', function (callback) {
gulp.src(["./res/test/e2e/**/*.js"])
.pipe(protractor.protractor({