Skip to content

Commit

Permalink
updated placeholder text in home.spec.ts test file as per the updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavgoel29 committed Nov 23, 2024
1 parent cad22e8 commit a5b77bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/home.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ test.describe('Home Page', () => {
await expect(deleteBtn).toBeVisible();
await deleteBtn.click();
await expect(page.locator('text=Delete Stream')).toBeVisible();
await page.fill('input[placeholder*="Type the name of the stream to confirm. i.e."]', 'PlaywrightStream');
await page.fill('input[placeholder*="Type the name of the stream"]', 'PlaywrightStream');
const confirmDeleteBtn = page.getByRole('button', { name: 'Delete' });
await expect(confirmDeleteBtn).toBeEnabled();
await confirmDeleteBtn.click();
Expand Down

0 comments on commit a5b77bb

Please sign in to comment.