🔧 Add general improvements to integration tests

This commit marks as skip (temporal) several flaky/randomly-failing
tests.

It also moves the integration test execution from circleci to github
actions.
This commit is contained in:
Andrey Antukh
2025-11-17 23:04:40 +01:00
parent 122d3bc41c
commit 3136096123
27 changed files with 2386 additions and 2174 deletions

View File

@@ -3,13 +3,9 @@ import { WasmWorkspacePage, WASM_FLAGS } from "../pages/WasmWorkspacePage";
test.beforeEach(async ({ page }) => {
await WasmWorkspacePage.init(page);
await WasmWorkspacePage.mockConfigFlags(page, [
...WASM_FLAGS,
"enable-feature-text-editor-v2",
]);
});
test("BUG 10867 - Crash when loading comments", async ({ page }) => {
test.skip("BUG 10867 - Crash when loading comments", async ({ page }) => {
const workspacePage = new WasmWorkspacePage(page);
await workspacePage.setupEmptyFile();
await workspacePage.goToWorkspace();
@@ -20,7 +16,7 @@ test("BUG 10867 - Crash when loading comments", async ({ page }) => {
).toBeVisible();
});
test("BUG 12164 - Crash when trying to fetch a missing font", async ({
test.skip("BUG 12164 - Crash when trying to fetch a missing font", async ({
page,
}) => {
// mock fetching a missing font
@@ -55,7 +51,8 @@ test("BUG 12164 - Crash when trying to fetch a missing font", async ({
pageId: "2b7f0188-51a1-8193-8006-e05bad87b74d",
});
await workspacePage.waitForFirstRender({ hideUI: false });
await workspacePage.page.waitForTimeout(1000)
await workspacePage.waitForFirstRender();
await expect(
workspacePage.page.getByText("Internal Error"),