logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

nightwatch.conf.js (1022B)


  1. require('@babel/register')
  2. const config = require('../../config')
  3. // http://nightwatchjs.org/guide#settings-file
  4. module.exports = {
  5. src_folders: ['test/e2e/specs'],
  6. output_folder: 'test/e2e/reports',
  7. custom_assertions_path: ['test/e2e/custom-assertions'],
  8. selenium: {
  9. start_process: true,
  10. server_path: require('selenium-server').path,
  11. host: '127.0.0.1',
  12. port: 4444,
  13. cli_args: {
  14. 'webdriver.chrome.driver': require('chromedriver').path
  15. }
  16. },
  17. test_settings: {
  18. default: {
  19. selenium_port: 4444,
  20. selenium_host: 'localhost',
  21. silent: true,
  22. globals: {
  23. devServerURL: 'http://localhost:' + (process.env.PORT || config.dev.port)
  24. }
  25. },
  26. chrome: {
  27. desiredCapabilities: {
  28. browserName: 'chrome',
  29. javascriptEnabled: true,
  30. acceptSslCerts: true
  31. }
  32. },
  33. firefox: {
  34. desiredCapabilities: {
  35. browserName: 'firefox',
  36. javascriptEnabled: true,
  37. acceptSslCerts: true
  38. }
  39. }
  40. }
  41. }