Files
threshold-ui/e2e-tests/desktop/playwright.config.js
T

22 lines
612 B
JavaScript
Raw Normal View History

2024-08-02 13:28:50 -04:00
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
2024-11-12 11:21:37 -05:00
import { defineConfig } from '@playwright/test';
2024-08-02 13:28:50 -04:00
/** @type {import('@playwright/test').PlaywrightTestConfig} */
2024-11-12 11:21:37 -05:00
export default defineConfig({
2024-12-03 18:51:22 -05:00
globalSetup: '../global-setup',
2024-11-12 11:21:37 -05:00
outputDir: './artifacts',
2024-08-02 13:28:50 -04:00
workers: 1, // Tests need to be run in serial, otherwise there may be conflicts when using the CLI
2024-12-03 18:51:22 -05:00
use: {
baseURL: process.env.BOUNDARY_ADDR,
extraHTTPHeaders: {
// This token is set in global-setup.js
Authorization: `Bearer ${process.env.E2E_TOKEN}`,
},
},
expect: {
timeout: 10000,
},
2024-11-12 11:21:37 -05:00
});