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

[FT] create waits, wait_iframe #291

Open
9 tasks
netzulo opened this issue Dec 12, 2019 · 0 comments
Open
9 tasks

[FT] create waits, wait_iframe #291

netzulo opened this issue Dec 12, 2019 · 0 comments
Labels
Awaiting-Triage Pending of be labeled from a Collaborator Feature New functionality proposal TODO

Comments

@netzulo
Copy link
Owner

netzulo commented Dec 12, 2019

Obtained behaviour

Need to handle certain waits from ExpectedConditions default classes to use at PageBase , ControlBase throught NavBase

Expected behaviour

SPECs

  • new method for NavBase object named : wait_iframe
  • new method for NavBase object named : wait_iframe_reset
  • new method for PageBase object named : wait_iframe
  • new method for PageBase object named : wait_iframe_reset

Tests

  • At NavBase suite
    • new testcase for method named : wait_iframe
    • new testcase for method named : wait_iframe_reset
  • At PageBase suite
    • new testcase for method named : wait_iframe
    • new testcase for method named : wait_iframe_reset

Notes

  • Update CHANGELOG at finish Issue
    def __switch_to_iframe__(self):
        """Switches driver focus to the monitoring iframe"""
        locator=("css selector", ctl.selector)
        # go to iframe
        self.bot.curr_driver_wait.until(EC.frame_to_be_available_and_switch_to_it())
        # come back from iframe
        self.bot.curr_driver.switch_to_default_content(locator))`
@netzulo netzulo added the Feature New functionality proposal label Dec 12, 2019
@netzulo netzulo self-assigned this Dec 12, 2019
@netzulo netzulo removed their assignment Feb 9, 2020
@netzulo netzulo added the Awaiting-Triage Pending of be labeled from a Collaborator label Feb 9, 2020
@netzulo netzulo added the TODO label Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting-Triage Pending of be labeled from a Collaborator Feature New functionality proposal TODO
Projects
None yet
Development

No branches or pull requests

1 participant