Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(control-ui): add presence assertion to Teams CLI instruction test

Jose Ramireza58216adb414
diff --git a/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx b/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx
index 4d4cda9a4..8d973e70d 100644
--- a/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx
+++ b/control-ui/components/__tests__/CreateCommunicationChannelPage.test.tsx
@@ -628,6 +628,13 @@ describe('CreateCommunicationChannelPage — Teams CLI instruction', () => {
await fillStep1AndContinue()
fireEvent.click(screen.getByRole('radio', { name: 'Microsoft Teams' }))
+ // Absence of old sentence
expect(screen.queryByText(/project directory that has the Teams CLI project/i)).toBeNull()
+ // Presence of new sentence confirms the Teams instruction panel renders
+ expect(
+ screen.getByText(
+ /Run this from any directory. The command writes CLIENT_ID, TENANT_ID and CLIENT_SECRET into/i
+ )
+ ).toBeInTheDocument()
})
})
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index 03b9ca001..fbf9c3b74 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.417",
+ "version": "0.1.418",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.417",
+ "version": "0.1.418",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index e5d1c727d..7726c4e73 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.417",
+ "version": "0.1.418",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",