playwright-benchmark.config.js 541 B

123456789101112131415161718192021222324
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. var baseConfig = require('./playwright.config');
  4. module.exports = {
  5. ...baseConfig,
  6. projects: [
  7. {
  8. name: 'benchmark',
  9. testMatch: 'test/benchmark/**'
  10. }
  11. ],
  12. reporter: [
  13. [process.env.CI ? 'dot' : 'list'],
  14. [
  15. '@jupyterlab/galata/lib/benchmarkReporter',
  16. { outputFile: 'lab-benchmark.json' }
  17. ]
  18. ],
  19. use: { ...baseConfig.use, video: 'off' },
  20. preserveOutput: 'failures-only',
  21. workers: 1
  22. };