Fix e2e tests (#11565)

Fixing the e2e tests
This commit is contained in:
Baptiste Devessier
2025-04-14 17:47:57 +02:00
committed by GitHub
parent 8a3f8ef324
commit 0be700f376
5 changed files with 49 additions and 41 deletions

View File

@ -10,7 +10,9 @@ test('Create workflow', async ({ page }) => {
const workflowsLink = page.getByRole('link', { name: 'Workflows' });
await workflowsLink.click();
const createWorkflowButton = page.getByRole('button', { name: 'New record' });
const createWorkflowButton = page.getByRole('button', {
name: 'Create new workflow',
});
const [createWorkflowResponse] = await Promise.all([
page.waitForResponse(async (response) => {