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

Lazy Loading of POs #484

Open
Githraine opened this issue Mar 25, 2019 · 1 comment
Open

Lazy Loading of POs #484

Githraine opened this issue Mar 25, 2019 · 1 comment

Comments

@Githraine
Copy link

We have a large implementation with several scores of PO's.
We also load data in the initialization of POs.
Because all POs are initialized when the test kicks off, All of these assets are loaded. This is a large time and memory suck.
We would love a way to run our tests where the POs dont actually get loaded until the 'on(pageobject)' call is made.

@jkotests
Copy link
Collaborator

Have you tried using autoload? I had been avoiding it since it was slated to be deprecated (for the past 7 years). However, Matz recently said they are keeping it (https://bugs.ruby-lang.org/issues/5653#note-46). Might be worth a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants