playwright.config.js 569 B

12345678910111213141516171819202122
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. var baseConfig = require('@jupyterlab/galata/lib/playwright-config');
  4. module.exports = {
  5. ...baseConfig,
  6. projects: [
  7. {
  8. name: 'galata',
  9. testMatch: 'test/galata/**'
  10. },
  11. {
  12. name: 'jupyterlab',
  13. testMatch: 'test/jupyterlab/**'
  14. }
  15. ],
  16. // Switch to 'always' to keep raw assets for all tests
  17. preserveOutput: 'failures-only', // Breaks HTML report if use.video == 'on'
  18. // Try one retry as some tests are flaky
  19. retries: 1
  20. };