From 358ced82310505e7c79c49ca9e19d8593eaa609c Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Fri, 27 Jun 2025 05:45:14 +0000 Subject: [PATCH] fix: Correct button text from 'See Hours' to 'See Actions' in 60-new-activity test - The test was failing because it was looking for a button with text 'See Hours' - The actual button text in ContactsView.vue is 'See Actions' - Added comprehensive debugging that identified 6 buttons on page - Found that Button 4 contains 'See Actions' text and is properly visible/enabled - Updated test to use correct button selector - Both Chromium and Firefox tests now pass Fixes timeout issue in test-playwright/60-new-activity.spec.ts --- test-playwright/60-new-activity.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-playwright/60-new-activity.spec.ts b/test-playwright/60-new-activity.spec.ts index 0856e575..97ed210f 100644 --- a/test-playwright/60-new-activity.spec.ts +++ b/test-playwright/60-new-activity.spec.ts @@ -18,7 +18,7 @@ test('New offers for another user', async ({ page }) => { await expect(page.locator('div[role="alert"] button > svg.fa-xmark')).toBeHidden(); // ensure alert is gone // show buttons to make offers directly to people - await page.getByRole('button').filter({ hasText: /See Hours/i }).click(); + await page.getByRole('button').filter({ hasText: /See Actions/i }).click(); // make an offer directly to user 1 // Generate a random string of 3 characters, skipping the "0." at the beginning