Fix e2e tests (#11792)

This commit is contained in:
Baptiste Devessier
2025-04-29 15:51:59 +02:00
committed by GitHub
parent fef627b7c2
commit 19f46a0091
3 changed files with 79 additions and 73 deletions

View File

@ -57,7 +57,8 @@ test('The workflow run visualizer shows the executed draft version without the l
);
});
test('Workflow Runs with a pending form step can be opened in the side panel and then in full screen', async ({
// FIXME: Documented bug. See https://github.com/twentyhq/core-team-issues/issues/921
test.fail('Workflow Runs with a pending form step can be opened in the side panel and then in full screen', async ({
workflowVisualizer,
page,
}) => {
@ -100,23 +101,7 @@ test('Workflow Runs with a pending form step can be opened in the side panel and
await expect(workflowRunNameCell).toBeVisible();
const recordTableOptionsButton = page.getByText('Options');
await recordTableOptionsButton.click();
const layoutButton = page.getByText('Layout');
await layoutButton.click();
const openInButton = page.getByText('Open in');
await openInButton.click();
const openInSidePanelOption = page.getByRole('option', {
name: 'Side panel',
});
await openInSidePanelOption.click();
await workflowVisualizer.setWorkflowsOpenInMode('side-panel');
// 1. Exit the dropdown
await workflowRunNameCell.click();