Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix create group test
  • Loading branch information
bpmct committed Jan 18, 2025
commit 6df14a6127be7d02bd47a9d80fdd2c8e217301d0
10 changes: 5 additions & 5 deletions site/e2e/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const createGroup = async (page: Page): Promise<string> => {

const name = randomName();
await page.getByLabel("Name", { exact: true }).fill(name);
await page.getByRole("button", { name: /save/i }).click();
await page.getByTestId("form-submit").click();
await expectUrl(page).toHavePathName(`/deployment/groups/${name}`);
return name;
};
Expand Down Expand Up @@ -470,10 +470,10 @@ export const waitUntilUrlIsNotResponding = async (url: string) => {
// Allows users to more easily define properties they want for agents and resources!
type RecursivePartial<T> = {
[P in keyof T]?: T[P] extends (infer U)[]
? RecursivePartial<U>[]
: T[P] extends object | undefined
? RecursivePartial<T[P]>
: T[P];
? RecursivePartial<U>[]
: T[P] extends object | undefined
? RecursivePartial<T[P]>
: T[P];
};

interface EchoProvisionerResponses {
Expand Down
Loading