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

inject page annotation #6

Open
jhuska opened this issue Feb 18, 2012 · 1 comment
Open

inject page annotation #6

jhuska opened this issue Feb 18, 2012 · 1 comment
Assignees

Comments

@jhuska
Copy link
Owner

jhuska commented Feb 18, 2012

ask Lukas what he meant with this one.
It should look like this:
@Inject
private Page page;

The page object should contains all components which I am going to test ?
Why I have to use DI ? Why I have to separate the content of the test page and test code ? Does not test contain too much implementation details ?

Is this for having an option to define the content of the page somewhere else than in the test ?

@jhuska
Copy link
Owner Author

jhuska commented Feb 19, 2012

So the FindBy is supposed to set that element as a root to the particular element.

@ghost ghost assigned jhuska Mar 6, 2012
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

No branches or pull requests

1 participant