Last change
on this file since fbaea22 was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
757 bytes
|
Rev | Line | |
---|
[30a465f] | 1 | // Protractor configuration file, see link for more information
|
---|
| 2 | // https://github.com/angular/protractor/blob/master/lib/config.ts
|
---|
| 3 |
|
---|
| 4 | const { SpecReporter } = require("jasmine-spec-reporter");
|
---|
| 5 |
|
---|
| 6 | exports.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.