Selenium integration tests need methods for wait till element, text visible

Bug #1416555 reported by Amogh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Amogh

Bug Description

Selenium integration tests need method for wait till element visible, wait till till element disappears and wait until text present in the element
As elements are dynamically identified based on page format, locator is no more used explicitly. Need methods for web driver to explicitly wait:
  a. for element to be present
  b. for element to disappear
  c. for text to be present in element

Changed in horizon:
assignee: nobody → Amogh (amogh-r-mavinagidad)
summary: - Selenium integration tests need method for wait till element visible,
- wait till till element disappears and wait until text present in the
- element
+ Selenium integration tests need method for wait till element, text
+ visible
summary: - Selenium integration tests need method for wait till element, text
+ Selenium integration tests need methods for wait till element, text
visible
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/151796

Changed in horizon:
status: New → In Progress
Changed in horizon:
assignee: Amogh (amogh-r-mavinagidad) → Vlad Okhrimenko (vokhrimenko)
Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

ssory, it's happend after my rebase

Changed in horizon:
assignee: Vlad Okhrimenko (vokhrimenko) → Amogh (amogh-r-mavinagidad)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit 14b9255160ffb621b8cd65743169b912f20c2973
Author: mavinagi <email address hidden>
Date: Fri Jan 30 15:57:23 2015 -0600

    Add wait till element methods for selenium Integration tests.

    Modified basewebobject file.
    In BaseWebObject added below methods:
     * _is_element_displayed
     * _is_text_visible
     * _wait_till_element_visible
     * _wait_till_element_disappears
    Modified _wait_till_text_present_in_element

    Partially implements blueprint: selenium-integration-testing
    Closes-Bug: #1416555

    Change-Id: I054e524489ef5e8d8bdc15a219c52d8aeda9bdb4

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.