Skip to content

Commit 80229ba

Browse files
committed
test(assistant-actions): read the stale-account state as its heading
1 parent 7e3f712 commit 80229ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/scripts/test-assistant-actions-e2e.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ try {
745745
forgedUrl.searchParams.set('account', firefliesCredentialId)
746746
await page.goto(forgedUrl.toString())
747747
await expect(
748-
page.getByText('This account is no longer connected.', { exact: true })
748+
page.getByRole('heading', { name: 'This account is no longer connected.', exact: true })
749749
).toBeVisible()
750750
await expect(page.getByRole('button', { name: /^Manage / })).toHaveCount(0)
751751
await expect(page.getByRole('searchbox', { name: 'Search tools', exact: true })).toHaveCount(

0 commit comments

Comments
 (0)