Skip to content
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

Allow page objects to skip the definition of a container #23

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

khamusa
Copy link
Contributor

@khamusa khamusa commented Jan 14, 2025

Demanding page objects to define a container is a weird requirement, that is likely to just generate development overhead without any practical benefit.

This PR makes it optional to define a container for Page objects (not for Section objects though). If a container test id is provided, it will be used, otherwise the document body will be used as container.

Demanding page objects to define a container is a weird
requirement, that is likely to just generate development
overhead without any practical benefit.
@khamusa khamusa force-pushed the feature/pages-can-omit-container branch from 484db53 to 3e0ab31 Compare January 14, 2025 19:46
@khamusa khamusa merged commit 93e5910 into main Jan 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant