You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 years ago
1234567891011121314151617181920212223242526272829
  1. // ***********************************************************
  2. // This example support/index.js is processed and
  3. // loaded automatically before your test files.
  4. //
  5. // This is a great place to put global configuration and
  6. // behavior that modifies Cypress.
  7. //
  8. // You can change the location of this file or turn off
  9. // automatically serving support files with the
  10. // 'supportFile' configuration option.
  11. //
  12. // You can read more here:
  13. // https://on.cypress.io/configuration
  14. // ***********************************************************
  15. // Import commands.js using ES2015 syntax:
  16. import "./commands";
  17. import "@cypress/code-coverage/support";
  18. Cypress.on("uncaught:exception", (err, runnable) => {
  19. return false;
  20. });
  21. // Alternatively you can use CommonJS syntax:
  22. // require('./commands')
  23. Cypress.Cookies.defaults({
  24. preserve: "sid",
  25. });