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

iFrames - Full scoping capabilities not confirmed to be working when defining iFrames in Sections #22

Open
luke-hill opened this issue Sep 18, 2019 · 0 comments
Labels
Bug Fix Something isn't working Good for Newcomers Good for newcomers Needs Investigation Further information is required to act on this

Comments

@luke-hill
Copy link
Collaborator

From site_prism created by luke-hill: natritmeyer/site_prism#341

Issue to raise for SitePrism framework

Need to re-triage this on a sample page. But it appears as though all SitePrism iFrame locators are queried at a Capybara.current_session level. meaning any section scoping will be ignored.

Environment

All

Expected Behavior

If 2 iframes with same styling exist on a page at different scoping levels, you should be able to locate the relevant one within your page/section scope.

Actual Behavior

If 2 iframes with same styling exist on a page at different scoping levels, then you may get an ambiguous error or similar issues due to the code not working as intended

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Something isn't working Good for Newcomers Good for newcomers Needs Investigation Further information is required to act on this
Projects
None yet
Development

No branches or pull requests

1 participant