component.ts 439 B

12345678910111213141516171819
  1. import 'cypress-plugin-tab'
  2. import '../../frontend/stylesheets/main-style.less'
  3. import './ct/window' // needs to be before i18n
  4. import '../../frontend/js/i18n'
  5. import './shared/commands'
  6. import './shared/exceptions'
  7. import './ct/commands'
  8. beforeEach(function () {
  9. cy.window().then(win => {
  10. win.metaAttributesCache = new Map()
  11. })
  12. })
  13. afterEach(function () {
  14. cy.window().then(win => {
  15. win.metaAttributesCache?.clear()
  16. })
  17. })