diff --git a/playwright-test/10_env_modal.spec.ts b/playwright-test/10_env_modal.spec.ts index 396b14932..b1c4d168d 100644 --- a/playwright-test/10_env_modal.spec.ts +++ b/playwright-test/10_env_modal.spec.ts @@ -59,7 +59,9 @@ test.describe("Environment modal", () => { try { // Expect "FLOJOY_CLOUD_WORKSPACE_SECRET" to be listed in the modal - await expect(window.getByText("FLOJOY_CLOUD_WORKSPACE_SECRET")).toBeVisible({ + await expect( + window.getByText("FLOJOY_CLOUD_WORKSPACE_SECRET"), + ).toBeVisible({ timeout: 20000, }); } catch (error) { diff --git a/src/renderer/routes/test_sequencer_panel/components/CloudPanel.tsx b/src/renderer/routes/test_sequencer_panel/components/CloudPanel.tsx index 73d53d73f..f5ff3aadb 100644 --- a/src/renderer/routes/test_sequencer_panel/components/CloudPanel.tsx +++ b/src/renderer/routes/test_sequencer_panel/components/CloudPanel.tsx @@ -44,7 +44,9 @@ export function CloudPanel() { queryKey: ["projects"], queryFn: async () => { if (envsQuery.isSuccess) { - if (envsQuery.data.some((c) => c.key === "FLOJOY_CLOUD_WORKSPACE_SECRET")) { + if ( + envsQuery.data.some((c) => c.key === "FLOJOY_CLOUD_WORKSPACE_SECRET") + ) { const res = await getCloudProjects(); return res.match( (vars) => vars,