openreplay/frontend/cypress.config.ts
Delirium 7dec39300f
feat(ui/tracker): create integrated e2e testing for tracker and player
* fix(ui): fix create note modal

* change(ui): remove tests for a moment

* change(ui): fix job name

* change(ui): fix job action

* change(ui): fix job action

* change(ui): fix job action

* change(ui): fix job action

* change(ui): add testing public dir

* change(ui): return silent server start

* change(ui): fix session url

* change(ui): fix session url

* change(ui): fix session url

* change(ui): fix mockup

* change(ui): fix mockup

* change(ui): fix snapshot images

* change(ui): fix snapshot images

* change(ui): fix testing app

* change(ui): fix testing app

* change(ui): fix testing flow and add loggs

* change(ui): add network and events

* change(ui): fix table view

* change(ui): fix table view

* change(ui): fix acc req intercept

* change(ui): fix mob req intercept

* change(ui): change jump method
2023-02-03 16:58:08 +01:00

25 lines
609 B
TypeScript

import { defineConfig } from "cypress";
import {addMatchImageSnapshotPlugin} from 'cypress-image-snapshot/plugin';
const data = {}
export default defineConfig({
e2e: {
viewportHeight: 900,
viewportWidth: 1400,
baseUrl: 'http://0.0.0.0:3333/',
setupNodeEvents(on, config) {
// implement node event listeners here
addMatchImageSnapshotPlugin(on, config)
on('task', {
setValue({key, value}) {
data[key] = value
return null
},
getValue(key) {
return data[key] || null
},
})
},
}
});