Need a Selenium javascript sanity test

Bug #1187576 reported by David Lyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
George Peristerakis

Bug Description

There have been more than one occasion where javascript python-compression has been broken when new libraries are included. There needs to be a better javascript sanity test to verify that core behavior still works.

Julie Pichon (jpichon)
Changed in horizon:
status: New → Confirmed
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Medium
Changed in horizon:
assignee: nobody → George Peristerakis (george-peristerakis)
Revision history for this message
George Peristerakis (george-peristerakis) wrote :

The problem here is that while running the selenium tests, the settings variable COMPRESS_ENABLED is set to False. There's 2 ways of solving this:

1. Enable the variable COMPRESS_ENABLED for all the tests, but this will slow the test down.
2. Enable it manually for selenium test only.

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

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/55460
Committed: http://github.com/openstack/horizon/commit/3fd7f426a431ed4da84c267d50f18706c20d9842
Submitter: Jenkins
Branch: master

commit 3fd7f426a431ed4da84c267d50f18706c20d9842
Author: George Peristerakis <email address hidden>
Date: Wed Nov 6 15:40:06 2013 -0500

    Enabled django-compressor for javascript sanity test

    By default the test did not run with the compressor on
    which did load the javascript. There's no way to test errors
    compressing the javascript.

    Fix bug #1187576

    Change-Id: I1db226ae9709ff818e8d13b7935ded66c0f6eae3

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-1 → 2014.1
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.