From da9ee5c186f528940ff0d7a3d724070ad0bec2b0 Mon Sep 17 00:00:00 2001 From: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Date: Mon, 17 Nov 2025 23:06:03 +0530 Subject: [PATCH] chore: Update test results repository to test-results-2 (#25199) --- .github/workflows/cleanup-report.yml | 2 +- .github/workflows/cleanup.yml | 2 +- .github/workflows/publish-report.yml | 4 ++-- apps/web/playwright/dynamic-booking-pages.e2e.ts | 7 +++++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cleanup-report.yml b/.github/workflows/cleanup-report.yml index 61c08dbad3..50f0716ee0 100644 --- a/.github/workflows/cleanup-report.yml +++ b/.github/workflows/cleanup-report.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout GitHub Pages Branch uses: actions/checkout@v4 with: - repository: calcom/test-results + repository: calcom/test-results-2 ref: gh-pages token: ${{ secrets.GH_ACCESS_TOKEN }} diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml index 4f9135bee5..501c88c769 100644 --- a/.github/workflows/cleanup.yml +++ b/.github/workflows/cleanup.yml @@ -25,7 +25,7 @@ jobs: - name: Checkout GitHub Pages Branch uses: actions/checkout@v2 with: - repository: calcom/test-results + repository: calcom/test-results-2 ref: gh-pages token: ${{ secrets.GH_ACCESS_TOKEN }} - name: Set Git User diff --git a/.github/workflows/publish-report.yml b/.github/workflows/publish-report.yml index 4fd70503cd..decfc26cf9 100644 --- a/.github/workflows/publish-report.yml +++ b/.github/workflows/publish-report.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout GitHub Pages Branch uses: actions/checkout@v4 with: - repository: calcom/test-results + repository: calcom/test-results-2 ref: gh-pages token: ${{ secrets.GH_ACCESS_TOKEN }} - name: Set Git User @@ -67,7 +67,7 @@ jobs: - name: Output Report URL as Workflow Annotation id: url run: | - FULL_HTML_REPORT_URL=https://calcom.github.io/test-results/$HTML_REPORT_URL_PATH + FULL_HTML_REPORT_URL=https://calcom.github.io/test-results-2/$HTML_REPORT_URL_PATH echo "::notice title=📋 Published Playwright Test Report::$FULL_HTML_REPORT_URL" echo "link=$FULL_HTML_REPORT_URL" >> $GITHUB_OUTPUT - name: Find Comment diff --git a/apps/web/playwright/dynamic-booking-pages.e2e.ts b/apps/web/playwright/dynamic-booking-pages.e2e.ts index 6bece87bf3..f15054d1b3 100644 --- a/apps/web/playwright/dynamic-booking-pages.e2e.ts +++ b/apps/web/playwright/dynamic-booking-pages.e2e.ts @@ -118,6 +118,9 @@ test("multiple duration selection updates event length correctly", async ({ page await page.goto(`/${user.username}/multiple-duration`); + // Wait for time slots to be visible and clickable + await page.locator('[data-testid="time"]').nth(0).waitFor({ state: "visible" }); + await page.locator('[data-testid="multiple-choice-30mins"]').waitFor({ state: "visible" }); await test.step("verify default 30min duration is selected", async () => { @@ -193,9 +196,9 @@ test.describe("Organization:", () => { }); await expect(page.getByTestId("success-page")).toBeVisible(); // All the teammates should be in the booking - + await expect(page.getByText(user1.name!, { exact: true })).toBeVisible(); - + await expect(page.getByText(user2.name!, { exact: true })).toBeVisible(); } );