No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

123456789101112131415161718192021222324252627
  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. // Alternatively you can use CommonJS syntax:
  18. // require('./commands')
  19. // Remove fetch, so Cypress can intercept XHRs
  20. // see https://github.com/cypress-io/cypress/issues/95
  21. Cypress.on("window:before:load", win => {
  22. win.fetch = null
  23. })