source: Farmatiko/ClientApp/e2e/protractor.conf.js@ 7d80751

Last change on this file since 7d80751 was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Initial commit

  • Property mode set to 100644
File size: 757 bytes
RevLine 
[30a465f]1// Protractor configuration file, see link for more information
2// https://github.com/angular/protractor/blob/master/lib/config.ts
3
4const { SpecReporter } = require("jasmine-spec-reporter");
5
6exports.config = {
7 allScriptsTimeout: 11000,
8 specs: ["./src/**/*.e2e-spec.ts"],
9 capabilities: {
10 browserName: "chrome"
11 },
12 directConnect: true,
13 baseUrl: "http://localhost:4200/",
14 framework: "jasmine",
15 jasmineNodeOpts: {
16 showColors: true,
17 defaultTimeoutInterval: 30000,
18 print: function() {}
19 },
20 onPrepare() {
21 require("ts-node").register({
22 project: require("path").join(__dirname, "./tsconfig.e2e.json")
23 });
24 jasmine
25 .getEnv()
26 .addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
27 }
28};
Note: See TracBrowser for help on using the repository browser.