mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Remove process from CEO onboarding adapters
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
401b241570
commit
d7a08c1db2
3 changed files with 4 additions and 50 deletions
|
|
@ -55,14 +55,7 @@ test.describe("Onboarding wizard", () => {
|
|||
).toBeVisible();
|
||||
|
||||
await page.getByRole("button", { name: "More Agent Adapter Types" }).click();
|
||||
await page.getByRole("button", { name: "Process" }).click();
|
||||
|
||||
const commandInput = page.locator('input[placeholder="e.g. node, python"]');
|
||||
await commandInput.fill("echo");
|
||||
const argsInput = page.locator(
|
||||
'input[placeholder="e.g. script.js, --flag"]'
|
||||
);
|
||||
await argsInput.fill("hello");
|
||||
await expect(page.getByRole("button", { name: "Process" })).toHaveCount(0);
|
||||
|
||||
await page.getByRole("button", { name: "Next" }).click();
|
||||
|
||||
|
|
@ -110,7 +103,7 @@ test.describe("Onboarding wizard", () => {
|
|||
);
|
||||
expect(ceoAgent).toBeTruthy();
|
||||
expect(ceoAgent.role).toBe("ceo");
|
||||
expect(ceoAgent.adapterType).toBe("process");
|
||||
expect(ceoAgent.adapterType).not.toBe("process");
|
||||
|
||||
const issuesRes = await page.request.get(
|
||||
`${baseUrl}/api/companies/${company.id}/issues`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue