← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1619042] [NEW] Horizon integration tests lack support to login with a domain name

 

Public bug reported:

PROBLEM:

Currently, in horizon integration tests , there is only login performed with username/password . 
https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/pages/loginpage.py#L69
However in our mitaka based deployment, we have another login parameter that is keystone domain.  
when trying to run integration tests, we saw this lack of support in horizon tests to specify domain name as login parameter , https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/horizon.conf 

This indicates horizon integration tests are outdated , since the
tempest-horizon had already added support to login with domain
https://github.com/openstack/tempest-
horizon/blob/master/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py#L106

PROPOSED SOLUTION: add additional parameter to specify the domain in
horizon.conf and also add it to login methods.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Horizon integration tests lack support to login with a domain name

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  PROBLEM:

  Currently, in horizon integration tests , there is only login performed with username/password . 
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/pages/loginpage.py#L69
  However in our mitaka based deployment, we have another login parameter that is keystone domain.  
  when trying to run integration tests, we saw this lack of support in horizon tests to specify domain name as login parameter , https://github.com/openstack/horizon/blob/master/openstack_dashboard/test/integration_tests/horizon.conf 

  This indicates horizon integration tests are outdated , since the
  tempest-horizon had already added support to login with domain
  https://github.com/openstack/tempest-
  horizon/blob/master/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py#L106

  PROPOSED SOLUTION: add additional parameter to specify the domain in
  horizon.conf and also add it to login methods.

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


Follow ups