blob: 087686163007cb3c20a0687b759dcdcc897259c5 [file] [log] [blame]
simon26e79f72022-10-05 22:16:08 -04001/*
2 * Copyright (C) 2022 Savoir-faire Linux Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Affero General Public License as
6 * published by the Free Software Foundation; either version 3 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Affero General Public License for more details.
13 *
14 * You should have received a copy of the GNU Affero General Public
15 * License along with this program. If not, see
16 * <https://www.gnu.org/licenses/>.
17 */
simond47ef9e2022-09-28 22:24:28 -040018import { defineConfig } from 'cypress';
idillon0f8a91a2022-09-16 13:31:35 -040019
20export default defineConfig({
simond47ef9e2022-09-28 22:24:28 -040021 e2e: {
Misha Krieger-Raynauld173fbba2022-11-16 14:10:38 -050022 setupNodeEvents(_on, _config) {
simond47ef9e2022-09-28 22:24:28 -040023 // implement node event listeners here
idillon0f8a91a2022-09-16 13:31:35 -040024 },
Larbi Gharibb38e3542022-12-07 06:09:10 -050025 env: {
26 // SERVER_URL
27 CLIENT_URL: 'http://localhost:3000',
28 // TEST_USERNAME
29 // TEST_USER_PASSWORD
30 // USED_USERNAME
31 },
32 video: false,
simond47ef9e2022-09-28 22:24:28 -040033 },
34});