Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Azure/LogicAppsUX into ccas…
Browse files Browse the repository at this point in the history
…trotrejo/fixError
  • Loading branch information
ccastrotrejo committed Jan 23, 2025
2 parents 854c61c + 0ec40fd commit 7362c99
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions e2e/designer/editors/condition.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { test, expect } from '@playwright/test';
import { GoToMockWorkflow } from '../utils/GoToWorkflow';

test(
'condition editor',
{
tag: '@mock',
},
async ({ page }) => {
await page.goto('/');

await GoToMockWorkflow(page, 'Conditionals');
await expect(page.getByLabel('Condition operation')).toBeVisible();

await page.getByLabel('Condition operation').click();

await page.getByText('OR', { exact: true }).click();
await page.getByRole('option', { name: 'AND' }).click();

await expect(page.getByRole('alert')).toContainText('Enter a valid condition statement.');
}
);
1 change: 1 addition & 0 deletions libs/designer/src/lib/ui/CustomNodes/ScopeCardNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const ScopeCardNode = ({ data, targetPosition = Position.Top, sourcePosition = P
return data;
},
{
initialData: null,
refetchOnWindowFocus: false,
refetchOnReconnect: false,
refetchOnMount: false,
Expand Down

0 comments on commit 7362c99

Please sign in to comment.