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

Refactor the circular dependecies in E2E test base #6411

Open
odockal opened this issue Mar 13, 2024 · 0 comments
Open

Refactor the circular dependecies in E2E test base #6411

odockal opened this issue Mar 13, 2024 · 0 comments

Comments

@odockal
Copy link
Contributor

odockal commented Mar 13, 2024

Is your enhancement related to a problem? Please describe

In order to make the independent modules in testing base, we need to make sure the design and the code can be extracted. To achieve this we need to make sure not to have circular depndencies, ie: model modules has a dependency on utility modules, and the utility modules has deps to a model.
(containersPage imports utility/operations and the same file uses other model/pages.)

Describe the solution you'd like

Remove the circular dependencies in order to make the modules independent.

Describe alternatives you've considered

One option would be to refactor model so it contains only page definitions, ie. locators only. any functions would then end up in different files, ie. handler or controller that would combine model with its functionality.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant