Created
September 30, 2019 06:32
-
-
Save safebear/4256972bc9465599dfe16b6c23fc58c8 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 { browser, Config } from "protractor"; | |
export const config: Config = { | |
seleniumAddress: "http://127.0.0.1:4444/wd/hub", | |
baseUrl: "http://localhost:8080/", | |
framework: "custom", | |
frameworkPath: require.resolve("protractor-cucumber-framework"), | |
specs: [ | |
"../e2e/features/*.feature", | |
], | |
onPrepare: () => { | |
browser.manage().window().maximize(); | |
}, | |
cucumberOpts: { | |
compiler: "ts:ts-node/register", | |
format: "json:.tmp/results.json", | |
profile: false, | |
require: ["./step_definitions/*.steps.js", "./support/hooks.js"], | |
tags: false, | |
"no-source": true, | |
}, | |
plugins: [{ | |
options: { | |
automaticallyGenerateReport: true, | |
removeExistingJsonReportFile: true, | |
}, | |
package: "protractor-multiple-cucumber-html-reporter-plugin", | |
}], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment