diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0add26966..a89fb6a85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -210,6 +210,8 @@ jobs: # MONGO_READONLY_TESTACCOUNT_TOKEN=$(az account get-access-token --scope "https://github-e2etests-mongo-readonly.documents.azure.com/.default" -o tsv --query accessToken) # echo "::add-mask::$MONGO_READONLY_TESTACCOUNT_TOKEN" # echo MONGO_READONLY_TESTACCOUNT_TOKEN=$MONGO_READONLY_TESTACCOUNT_TOKEN >> $GITHUB_ENV + - name: List tests in this shard + run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --list - name: Run test shard ${{ matrix['shardIndex'] }} of ${{ matrix['shardTotal']}} run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --workers=3 - name: Upload blob report to GitHub Actions Artifacts diff --git a/playwright.config.ts b/playwright.config.ts index b4c508464..c31d7265b 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -4,6 +4,12 @@ import { defineConfig, devices } from "@playwright/test"; */ export default defineConfig({ testDir: "test", + testIgnore: [ + "**/mongo/**", + "**/cassandra/**", + "**/gremlin/**", + "**/tables/**", + ], fullyParallel: true, forbidOnly: !!process.env.CI, retries: process.env.CI ? 3 : 0, diff --git a/test/sql/scaleAndSettings/changePartitionKey.spec.ts b/test/sql/scaleAndSettings/changePartitionKey.spec.ts index 286429b3d..4462f1803 100644 --- a/test/sql/scaleAndSettings/changePartitionKey.spec.ts +++ b/test/sql/scaleAndSettings/changePartitionKey.spec.ts @@ -20,6 +20,8 @@ test.describe("Change Partition Key", () => { // Click Scale & Settings and open Partition Key tab await explorer.openScaleAndSettings(context); const PartitionKeyTab = explorer.frame.getByTestId("settings-tab-header/PartitionKeyTab"); + + await expect(PartitionKeyTab).toBeVisible(); await PartitionKeyTab.click(); });