Skip to content

Commit e14edbb

Browse files
committed
test: update homepage adoption link assertion
1 parent 8918ba3 commit e14edbb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎test/browser/adoption.spec.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ test('homepage directs JSON experiments to playground and exposes legal and comm
3030
await page.goto('/')
3131
await expect(page.getByLabel('JSON input', { exact: true })).toHaveCount(0)
3232
await expect(
33-
page.getByRole('link', { name: '★ Star React Data Inspector on GitHub ↗' }),
33+
page
34+
.getByRole('region', { name: 'Useful in your project?', exact: true })
35+
.getByRole('link', { name: 'Star on GitHub', exact: true }),
3436
).toHaveAttribute(
3537
'href',
3638
'https://github.com/NIPE-Solutions/react-data-inspector',

0 commit comments

Comments
 (0)