forked from trent_larson/crowd-funder-for-time-pwa
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user