forked from cardosofelipe/fast-next-template
test(forms): add unit tests for FormTextarea and FormSelect components
- Add comprehensive test coverage for FormTextarea and FormSelect components to validate rendering, accessibility, props forwarding, error handling, and behavior. - Introduced function-scoped fixtures in e2e tests to ensure test isolation and address event loop issues with pytest-asyncio and SQLAlchemy.
This commit is contained in:
@@ -368,3 +368,9 @@ async def e2e_org_with_members(e2e_client, e2e_superuser):
|
||||
"user_id": member_id,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
# NOTE: Class-scoped fixtures for E2E tests were attempted but have fundamental
|
||||
# issues with pytest-asyncio + SQLAlchemy/asyncpg event loop management.
|
||||
# The function-scoped fixtures above provide proper test isolation.
|
||||
# Performance optimization would require significant infrastructure changes.
|
||||
|
||||
Reference in New Issue
Block a user