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

Remove inheritance from e2e page models #1047

Open
2 tasks done
cquinn540 opened this issue Dec 9, 2024 · 0 comments
Open
2 tasks done

Remove inheritance from e2e page models #1047

cquinn540 opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels
design Relates to UX/UI designs help wanted Extra attention is needed

Comments

@cquinn540
Copy link
Collaborator

Terms

Description

Currently the page objects models use a combination of inheritance and pseudo-inheritance via a Proxy that make the code difficult to debug and maintain.

The page objects should be simple and just use composition with a page field and fields for components on the page that are their own objects. Also the use of key value pairs for the locators makes the tests harder to read.

Contribution

I will work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Relates to UX/UI designs help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants