Compare commits
No commits in common. "0b194baf554f964ecf5e010430eba3d1063741b2" and "0ed0a2d9bba0d7405068a8152523c773e4bad030" have entirely different histories.
0b194baf55
...
0ed0a2d9bb
4
.github/workflows/playwright.yml
vendored
4
.github/workflows/playwright.yml
vendored
@ -54,9 +54,9 @@ jobs:
|
||||
playwright:
|
||||
name: Web E2E
|
||||
runs-on: [self-hosted, evoo-ci, Linux]
|
||||
timeout-minutes: 60
|
||||
timeout-minutes: 30
|
||||
concurrency:
|
||||
group: ${{ inputs.publish_report && 'playwright-publication' || format('playwright-{0}', github.run_id) }}
|
||||
group: ${{ inputs.publish_report && 'playwright-publication' || 'evoo-self-hosted-heavy' }}
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
4
.github/workflows/publish-server-image.yml
vendored
4
.github/workflows/publish-server-image.yml
vendored
@ -53,6 +53,10 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
runs-on: [self-hosted, evoo-ci, Linux]
|
||||
timeout-minutes: 90
|
||||
# Same pool as Web E2E; image builds starve the dev servers Playwright needs.
|
||||
concurrency:
|
||||
group: evoo-self-hosted-heavy
|
||||
cancel-in-progress: false
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
|
||||
@ -226,16 +226,14 @@ export async function signup(
|
||||
name: string,
|
||||
testInfo?: TestInfo,
|
||||
) {
|
||||
const headingTimeout = process.env.CI ? 15_000 : 5_000;
|
||||
const retryTimeout = process.env.CI ? 120_000 : 45_000;
|
||||
await expect(async () => {
|
||||
await page.goto("/sign-up", { waitUntil: "domcontentloaded" });
|
||||
await expect(
|
||||
page.getByRole("heading", { name: /Create your evOo|Dein evOo erstellen/i }),
|
||||
).toBeVisible({
|
||||
timeout: headingTimeout,
|
||||
timeout: 5_000,
|
||||
});
|
||||
}).toPass({ timeout: retryTimeout });
|
||||
}).toPass({ timeout: 45_000 });
|
||||
if (testInfo) await captureScreenshot(page, testInfo, "01-sign-up");
|
||||
await page.getByPlaceholder(/Your name|Dein Name/i).fill(name);
|
||||
await page.getByPlaceholder(/Your email address|Deine E-Mail-Adresse/i).fill(email);
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
import { isRealSandboxProvider } from "./e2e/helpers";
|
||||
|
||||
const ci = Boolean(process.env.CI);
|
||||
const webPort = Number(process.env.WEB_PORT ?? 5173);
|
||||
const baseURL = process.env.PLAYWRIGHT_BASE_URL ?? `http://127.0.0.1:${webPort}`;
|
||||
const realSandbox = isRealSandboxProvider();
|
||||
@ -33,6 +32,6 @@ export default defineConfig({
|
||||
command: "pnpm dev",
|
||||
url: baseURL,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
timeout: ci ? 180_000 : 120_000,
|
||||
timeout: 120_000,
|
||||
},
|
||||
});
|
||||
|
||||
@ -256,7 +256,7 @@ async function main() {
|
||||
port: apiPort,
|
||||
hostname: "127.0.0.1",
|
||||
});
|
||||
await waitForHealth(`http://127.0.0.1:${apiPort}/health`, process.env.CI ? 30_000 : 15_000);
|
||||
await waitForHealth(`http://127.0.0.1:${apiPort}/health`, 15_000);
|
||||
|
||||
try {
|
||||
execSync("rm -rf apps/web/node_modules/.vite node_modules/.vite", {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user