← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533160] Re: It's not possible to click on a panel within Admin dashboard which has a homonym at Project dashboard

 

Reviewed:  https://review.openstack.org/266306
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=14ce2292597294567729cc7f7bc351e9ebeb8fc6
Submitter: Jenkins
Branch:    master

commit 14ce2292597294567729cc7f7bc351e9ebeb8fc6
Author: Timur Sufiev <tsufiev@xxxxxxxxxxxx>
Date:   Tue Jan 12 14:35:06 2016 +0300

    Eliminate ambiguity when matching panel in i9n tests
    
    To do so, an argument `src_elem` is added to _click_menu_item()
    method. Whenever dashboard or a panel group is clicked, its wrapper is
    returned to be used as `src_elem` in a subsequent call for clicking
    third-level item.  This way the set of panel labels being matched is
    restricted to the descendants of that particular dashboard or panel
    group.
    
    Change-Id: I54f3febed645b6bf2faddfbe27690ceb0944cd12
    Closes-Bug: #1533160


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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/1533160

Title:
  It's not possible to click on a panel within Admin dashboard which has
  a homonym at Project dashboard

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  XPATH selectors for matching panel in integration tests are written in
  a such way that the first panel with the name, say, 'Images' is
  matched. Since both Project and Admin dashboards has panel named
  'Images', when we test Admin->System->Images, the wrong panel is being
  matched and the test fails due to inability to click a hidden panel
  label.

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


References