simple page with news from all around the globe
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

36 lines
869B

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