horizon.tables.js update function needs tests

Bug #1318407 reported by Dave Fogelson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Medium
Dave Fogelson

Bug Description

There should be new tests to cover the datatables update function.

Changed in horizon:
assignee: nobody → Dave Fogelson (lurkingfrog)
Revision history for this message
Dave Fogelson (lurkingfrog) wrote :

I'm looking to add a mock ajax to simulate both updates that take multiple tries, 404 errors and straight out successes. This also needs to check that rows' data and formatting are properly updated.

Revision history for this message
Julie Pichon (jpichon) wrote :

That sounds great, thank you!

Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Dave Fogelson (lurkingfrog) wrote :

Turns out that Jasmine already has a mock for ajax in place, so I'm looking into using that rather than reinventing the wheel.

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.