Fix most e2e tests (#13282)

One test will continue to fail, about the Form node.
This commit is contained in:
Baptiste Devessier
2025-07-18 21:40:46 +02:00
committed by GitHub
parent 191bbb9e12
commit ae04cc9e6c
2 changed files with 8 additions and 8 deletions

View File

@ -127,7 +127,7 @@ test('Add a step to an active version', async ({
const assertEndState = async () => {
await expect(workflowVisualizer.workflowStatus).toHaveText('Active');
await expect(workflowVisualizer.triggerNode).toContainText(
'Record is Created',
'Record is created',
);
await expect(workflowVisualizer.getAllStepNodes()).toContainText([
'Create Record',
@ -177,7 +177,7 @@ test('Replace the trigger of an active version', async ({
await page.reload();
await expect(workflowVisualizer.triggerNode).toContainText(
'Record is Deleted',
'Record is deleted',
);
await expect(workflowVisualizer.getAllStepNodes()).toHaveCount(1);
await expect(workflowVisualizer.getAllStepNodes()).toContainText([