26 lines
650 B
JavaScript
26 lines
650 B
JavaScript
// 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: {},
|
|
});
|