mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
Remove stray pause and improve logging for hung e2e tests
The list reporter is the only progress a hung CI run leaves behind, and a global timeout under the job's 60 minute limit means a hung run still ends with a report instead of being cancelled by GitHub.
This commit is contained in:
@@ -39,7 +39,10 @@ export default defineConfig({
|
|||||||
/* Opt out of parallel tests on CI. */
|
/* Opt out of parallel tests on CI. */
|
||||||
workers: process.env.CI ? 1 : undefined,
|
workers: process.env.CI ? 1 : undefined,
|
||||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||||
reporter: "html",
|
// The list reporter is the only progress a hung CI run leaves behind.
|
||||||
|
reporter: process.env.CI ? [["list"], ["html"]] : "html",
|
||||||
|
// Under the job's 60 minute limit, so a hung run still ends with a report.
|
||||||
|
globalTimeout: process.env.CI ? 50 * 60 * 1000 : undefined,
|
||||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||||
use: {
|
use: {
|
||||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||||
|
|||||||
@@ -37,8 +37,6 @@ modePairs.forEach(([rtcMode1, rtcMode2]) => {
|
|||||||
|
|
||||||
await TestHelpers.acceptRoomInvite(roomName, timo.page);
|
await TestHelpers.acceptRoomInvite(roomName, timo.page);
|
||||||
|
|
||||||
await florian.page.pause();
|
|
||||||
|
|
||||||
await TestHelpers.openWidgetSetEmbeddedElementCallRtcModeCloseWidget(
|
await TestHelpers.openWidgetSetEmbeddedElementCallRtcModeCloseWidget(
|
||||||
florian.page,
|
florian.page,
|
||||||
rtcMode1,
|
rtcMode1,
|
||||||
@@ -74,8 +72,6 @@ modePairs.forEach(([rtcMode1, rtcMode2]) => {
|
|||||||
|
|
||||||
await TestHelpers.expectVisibleVideoCount(frame, 2);
|
await TestHelpers.expectVisibleVideoCount(frame, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
// await florian.page.pause();
|
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user