Created
March 4, 2019 13:58
-
-
Save ksakae1216/977e151fc850346470581b6eebb968dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ProtractorBrowser, Config } from 'protractor'; | |
import myReporter = require('./jasmine_reporter'); | |
export let config: Config = { | |
seleniumAddress: 'http://localhost:4444/wd/hub', | |
capabilities: { | |
'directConnect': true, | |
'browserName': 'chrome' | |
}, | |
framework: 'jasmine', | |
specs: ['./specs/**/*.js'], | |
jasmineNodeOpts: { | |
defaultTimeoutInterval: 90000 | |
}, | |
onPrepare: () => { | |
let globals = require('protractor'); | |
jasmine.getEnv().addReporter(myReporter); | |
let browser = globals.browser; | |
browser.manage().window().maximize(); | |
browser.manage().timeouts().implicitlyWait(5000); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment