Files
lucia-frontend/cypress.config.js
2026-03-08 11:52:34 +08:00

27 lines
670 B
JavaScript

/* eslint-env node */
// The Lucia project.
// Copyright 2023-2026 DSP, inc. All rights reserved.
// Authors:
// chiayin.kuo@dsp.im (chiayin), 2023/1/31
// cindy.chang@dsp.im (Cindy Chang), 2024/8/12
// imacat.yang@dsp.im (imacat), 2026/3/5
/**
* @module cypress.config
* Cypress E2E test configuration with viewport
* settings and base URL.
*/
const { defineConfig } = require("cypress");
module.exports = defineConfig({
defaultCommandTimeout: 6000,
viewportWidth: 1280,
viewportHeight:720,
e2e: {
baseUrl: "http://localhost:4173",
specPattern: "cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}",
},
includeShadowDom: true,
env: {}
});