← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1354824] [NEW] Integration tests - switch_window method

 

Public bug reported:

All page objects should have the ability to switch focus between the webdriver windows.
There are few ways of doing so using selenium driver's methods, but ideally we want to keep the consistency and prevent a commonly used deprecated method. It is not meant for handling pop-ups.

I would suggest implement a switch_window method in pageobject.py with options to switch windows by: 
- window name
- window handle index

** Affects: horizon
     Importance: Undecided
     Assignee: Daniel Korn (dkorn)
         Status: In Progress


** Tags: integration-tests switch-window switchwindow

** Changed in: horizon
       Status: New => In Progress

** Changed in: horizon
     Assignee: (unassigned) => Daniel Korn (dkorn)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1354824

Title:
  Integration tests - switch_window method

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  All page objects should have the ability to switch focus between the webdriver windows.
  There are few ways of doing so using selenium driver's methods, but ideally we want to keep the consistency and prevent a commonly used deprecated method. It is not meant for handling pop-ups.

  I would suggest implement a switch_window method in pageobject.py with options to switch windows by: 
  - window name
  - window handle index

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1354824/+subscriptions


Follow ups

References