refactor: replace button elements with Button component

This commit is contained in:
Anish Sarkar 2026-05-14 14:46:48 +05:30
parent da55c75e5e
commit 13b2e874f6
7 changed files with 38 additions and 16 deletions

View file

@ -372,7 +372,7 @@ test("mock iframe response", async ({ page }) => {
<html>
<body>
<h1>Mocked Widget</h1>
<button>Mocked Button</button>
<p>Mocked widget content</p>
</body>
</html>
`,

View file

@ -100,7 +100,7 @@ use: {
Usage:
```typescript
// HTML: <button data-testid="submit-btn">Submit</button>
// React: <Button data-testid="submit-btn">Submit</Button>
page.getByTestId("submit-btn");
```