Integration tests support code is included into production codebase while it shouldn't

Bug #1560467 reported by Timur Sufiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Timur Sufiev

Bug Description

To make it possible for integration tests to navigate freely through Horizon pages, tables and forms an additional code is included into Horizon - JS files (see https://github.com/openstack/horizon/blob/master/horizon/static/horizon/js/horizon.selenium.js), some additional CSS classes etc.

These things do not affect User-centric Horizon, yet they add a small overhead to a production Horizon codebase. It would be nice to have a way of excluding all these assets using one switch.

Timur Sufiev (tsufiev-x)
Changed in horizon:
importance: Undecided → Wishlist
assignee: nobody → Timur Sufiev (tsufiev-x)
Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/287793
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=408e358f791956e1c39e4ec2c254926ee48a8014
Submitter: Jenkins
Branch: master

commit 408e358f791956e1c39e4ec2c254926ee48a8014
Author: Timur Sufiev <email address hidden>
Date: Thu Mar 3 16:27:10 2016 +0300

    Move out integration tests scaffolds from Horizon production code

    The main idea of this change is to not include into Horizon production
    code little helper features we need Horizon to have in gating so
    Selenium integration tests could easily navigate through it.

    Closes-Bug: #1560467
    Change-Id: Ib0c973932260ddfe7f1d2cf9fdab7bbbfe298bea

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/horizon 10.0.0.0b1

This issue was fixed in the openstack/horizon 10.0.0.0b1 development milestone.

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.