Left file: appwork-v1_5_2/angular-starter/e2e/protractor.conf.js  
Right file: appwork-v1_6_0/angular-starter/e2e/protractor.conf.js  
1 // @ts-check = 1 // @ts-check
2 // Protractor configuration file, see link for more information   2 // Protractor configuration file, see link for more information
3 // https://github.com/angular/protractor/blob/master/lib/config.ts   3 // https://github.com/angular/protractor/blob/master/lib/config.ts
4     4  
5 const { SpecReporter } = require('jasmine-spec-reporter'); <> 5 const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter');
6   = 6  
7 /**   7 /**
8  * @type { import("protractor").Config }   8  * @type { import("protractor").Config }
9  */   9  */
10 exports.config = {   10 exports.config = {
11   allScriptsTimeout: 11000,   11   allScriptsTimeout: 11000,
12   specs: [   12   specs: [
13     './src/**/*.e2e-spec.ts'   13     './src/**/*.e2e-spec.ts'
14   ],   14   ],
15   capabilities: {   15   capabilities: {
16     'browserName': 'chrome' <> 16     browserName: 'chrome'
17   }, = 17   },
18   directConnect: true,   18   directConnect: true,
    -+ 19   SELENIUM_PROMISE_MANAGER: false,
19   baseUrl: 'http://localhost:4200/', = 20   baseUrl: 'http://localhost:4200/',
20   framework: 'jasmine',   21   framework: 'jasmine',
21   jasmineNodeOpts: {   22   jasmineNodeOpts: {
22     showColors: true,   23     showColors: true,
23     defaultTimeoutInterval: 30000,   24     defaultTimeoutInterval: 30000,
24     print: function() {}   25     print: function() {}
25   },   26   },
26   onPrepare() {   27   onPrepare() {
27     require('ts-node').register({   28     require('ts-node').register({
28       project: require('path').join(__dirname, './tsconfig.json')   29       project: require('path').join(__dirname, './tsconfig.json')
29     });   30     });
30     jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); <> 31     jasmine.getEnv().addReporter(new SpecReporter({
      32       spec: {
      33         displayStacktrace: StacktraceOption.PRETTY
      34       }
      35     }));
31   } = 36   }
32 };   37 };