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:
parent
30bbf430d3
commit
9a8fa2dd3e
2 changed files with 94 additions and 18 deletions
10
gulpfile.js
10
gulpfile.js
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue