Skip to content

Commit 46930ed

Browse files
committed
test(platform): the skill removal confirm names the skill as it is installed
1 parent 5155b89 commit 46930ed

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/sim/platform/checks/integrations.spec.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ test('app discovery preserves editable installed skills and sends templates to t
9292
)
9393
await expect(field).toHaveValue(editedInstructions)
9494
await remove.click()
95-
await confirmation.getByRole('button', { name: 'Remove from skills', exact: true }).click()
95+
// The confirmation names the skill as it is installed now, under its new name.
96+
await page
97+
.getByRole('dialog', { name: 'Remove runtime-vault-lookup', exact: true })
98+
.getByRole('button', { name: 'Remove from skills', exact: true })
99+
.click()
96100
await expect(skill).toHaveCount(0)
97101
await suggestion.click()
98102
await expect(skill.getByRole('button', { name: 'Add to skills', exact: true })).toBeEnabled()

0 commit comments

Comments
 (0)