mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-25 09:45:04 +02:00
* enhance(frontend/test): frontend e2eをVitest Browser Modeに移行
* fix
* fix unit tests
* fix
* fix
* update playwright
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* perf
* Revert "perf"
This reverts commit e60e965c3c.
* fix
33 lines
601 B
TypeScript
33 lines
601 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './test/e2e',
|
|
reporter: 'list',
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
timeout: 60_000,
|
|
expect: {
|
|
timeout: 10_000,
|
|
},
|
|
outputDir: './test/e2e/artifacts',
|
|
use: {
|
|
locale: 'en-US',
|
|
baseURL: 'http://localhost:61812',
|
|
headless: true,
|
|
screenshot: 'only-on-failure',
|
|
trace: 'retain-on-failure',
|
|
video: 'off',
|
|
},
|
|
projects: [{
|
|
name: 'chromium',
|
|
use: {
|
|
browserName: 'chromium',
|
|
},
|
|
}],
|
|
});
|