-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Fix e2e tests #12783
Conversation
There was a problem hiding this 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
const addFormFieldButton = page.getByText('Add Field', { exact: true }) | ||
|
||
await addFormFieldButton.click(); |
There was a problem hiding this comment.
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
const addFormFieldButton = page.getByText('Add Field', { exact: true }) | |
await addFormFieldButton.click(); | |
const addFormFieldButton = page.getByText('Add Field', { exact: true }); |
{ | ||
timeout: 30_000, | ||
}, |
There was a problem hiding this comment.
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.
Fixes: