← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1353628] [NEW] Use IDs in Selenium Tests When Possible

 

Public bug reported:

IDs are typically the most stable and fastest locators when using
Selenium.  The current Selenium integration tests are using CSS
locators, even when unique IDs are available.  We should consider using
IDs as the standard, and switching the current CSS locators to IDs where
possible.  We may also consider adding IDs to the templates where it
makes sense to help facilitate this in the testing.

** Affects: horizon
     Importance: Undecided
     Assignee: Michael Jackson (rebelagentm)
         Status: New


** Tags: integration-test

** Changed in: horizon
     Assignee: (unassigned) => Michael Jackson (rebelagentm)

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

Title:
  Use IDs in Selenium Tests When Possible

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  IDs are typically the most stable and fastest locators when using
  Selenium.  The current Selenium integration tests are using CSS
  locators, even when unique IDs are available.  We should consider
  using IDs as the standard, and switching the current CSS locators to
  IDs where possible.  We may also consider adding IDs to the templates
  where it makes sense to help facilitate this in the testing.

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


Follow ups

References