source: src/Clients/Angular/finki-chattery/e2e/protractor.conf.js@ 846cf1a

dev
Last change on this file since 846cf1a was e6a6d9a, checked in by Стојков Марко <mst@…>, 3 years ago

Initialized FinkiChattery project

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