From 21123b61dcc5808e179f397782b1d8e908509be6 Mon Sep 17 00:00:00 2001 From: Asier Isayas Date: Fri, 19 Dec 2025 11:13:15 -0800 Subject: [PATCH] change all tests to run serially --- test/mongo/document.spec.ts | 4 ++-- test/sql/document.spec.ts | 4 ++-- test/sql/scaleAndSettings/scale.spec.ts | 2 +- test/sql/scaleAndSettings/settings.spec.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/mongo/document.spec.ts b/test/mongo/document.spec.ts index b6703c49a..4bd2705ff 100644 --- a/test/mongo/document.spec.ts +++ b/test/mongo/document.spec.ts @@ -9,7 +9,7 @@ let explorer: DataExplorer = null!; let documentsTab: DocumentsTab = null!; for (const { name, databaseId, containerId, documents } of documentTestCases) { - test.describe(`Test MongoRU Documents with ${name}`, () => { + test.describe.serial(`Test MongoRU Documents with ${name}`, () => { // test.skip(true, "Temporarily disabling all tests in this spec file"); test.beforeEach("Open documents tab", async ({ page }) => { await setupCORSBypass(page); @@ -33,7 +33,7 @@ for (const { name, databaseId, containerId, documents } of documentTestCases) { for (const document of documents) { const { documentId: docId, partitionKeys } = document; - test.describe(`Document ID: ${docId}`, () => { + test.describe.serial(`Document ID: ${docId}`, () => { test(`should load and view document ${docId}`, async () => { const span = documentsTab.documentsListPane.getByText(docId, { exact: true }).nth(0); await span.waitFor(); diff --git a/test/sql/document.spec.ts b/test/sql/document.spec.ts index 95cdd112a..4c017962e 100644 --- a/test/sql/document.spec.ts +++ b/test/sql/document.spec.ts @@ -8,7 +8,7 @@ let explorer: DataExplorer = null!; let documentsTab: DocumentsTab = null!; for (const { name, databaseId, containerId, documents } of documentTestCases) { - test.describe(`Test SQL Documents with ${name}`, () => { + test.describe.serial(`Test SQL Documents with ${name}`, () => { // test.skip(true, "Temporarily disabling all tests in this spec file"); test.beforeEach("Open documents tab", async ({ page }) => { explorer = await DataExplorer.open(page, TestAccount.SQLReadOnly); @@ -28,7 +28,7 @@ for (const { name, databaseId, containerId, documents } of documentTestCases) { for (const document of documents) { const { documentId: docId, partitionKeys, skipCreateDelete } = document; - test.describe(`Document ID: ${docId}`, () => { + test.describe.serial(`Document ID: ${docId}`, () => { test(`should load and view document ${docId}`, async () => { const span = documentsTab.documentsListPane.getByText(docId, { exact: true }).nth(0); await span.waitFor(); diff --git a/test/sql/scaleAndSettings/scale.spec.ts b/test/sql/scaleAndSettings/scale.spec.ts index e3035a7dc..7c4590c1f 100644 --- a/test/sql/scaleAndSettings/scale.spec.ts +++ b/test/sql/scaleAndSettings/scale.spec.ts @@ -9,7 +9,7 @@ import { } from "../../fx"; import { createTestSQLContainer, TestContainerContext } from "../../testData"; -test.describe("Autoscale and Manual throughput", () => { +test.describe.serial("Autoscale and Manual throughput", () => { let context: TestContainerContext = null!; let explorer: DataExplorer = null!; diff --git a/test/sql/scaleAndSettings/settings.spec.ts b/test/sql/scaleAndSettings/settings.spec.ts index 463cdacb7..8fbbc7850 100644 --- a/test/sql/scaleAndSettings/settings.spec.ts +++ b/test/sql/scaleAndSettings/settings.spec.ts @@ -2,7 +2,7 @@ import { expect, test } from "@playwright/test"; import { CommandBarButton, DataExplorer, ONE_MINUTE_MS, TestAccount } from "../../fx"; import { createTestSQLContainer, TestContainerContext } from "../../testData"; -test.describe("Settings under Scale & Settings", () => { +test.describe.serial("Settings under Scale & Settings", () => { let context: TestContainerContext = null!; let explorer: DataExplorer = null!;