Skip to content

Fix e2e tests #12783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 23, 2025
Merged

Fix e2e tests #12783

merged 3 commits into from
Jun 23, 2025

Conversation

Devessier
Copy link
Contributor

@Devessier Devessier commented Jun 23, 2025

Fixes:

  • Trigger labels have been updated in the workflows
  • Workflow runs are now opened by default in the side panel when launched manually by the user

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Updates E2E workflow tests to improve reliability and match current UI text content in packages/twenty-e2e-testing/tests/workflow-run.spec.ts.

  • Fixed test assertions to match updated UI text by changing 'record(s)' to 'record'
  • Added required 'Add Field' step during form creation workflow
  • Improved node selection reliability by using command menu locator context
  • Increased form step verification timeout to 30 seconds for better test stability
  • Streamlined test flow by removing redundant workflow list view navigation

1 file reviewed, 1 comment
Edit PR Review Bot Settings | Greptile

Comment on lines 93 to 95
const addFormFieldButton = page.getByText('Add Field', { exact: true })

await addFormFieldButton.click();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Add semicolon after addFormFieldButton declaration to maintain consistency with codebase style

Suggested change
const addFormFieldButton = page.getByText('Add Field', { exact: true })
await addFormFieldButton.click();
const addFormFieldButton = page.getByText('Add Field', { exact: true });

Comment on lines +103 to +105
{
timeout: 30_000,
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workers' updates can take time to arrive.

@Devessier Devessier merged commit 8f0c9fa into main Jun 23, 2025
41 of 43 checks passed
@Devessier Devessier deleted the fix-e2e-tests-23/06 branch June 23, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants