Bug 756468

Summary: Some actions have ajax calls after a success notification, notification is gone by the time ajax completes
Product: Red Hat Satellite Reporter: Jeff Weiss <jweiss>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED WONTFIX QA Contact: Og Maciel <omaciel>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: dajohnso, mmccune, omaciel, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-24 19:28:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Weiss 2011-11-23 17:32:22 UTC
Description of problem:
<jweiss> looks like at least when creating products in the ui, it goes submit
         via ajax, response, popup success notif, refresh right pane via ajax
                                                                        [12:13]
<jweiss> what happens is my automation waits for ajax calls to finish, by then
         the success notification is gone
<jweiss> so i'm wondering if the notif should wait for all calls to finish?
         would that be less "usable" for human users?
<jweiss> oh, you know what might solve this - hide the notification for a
         while before removing it from the dom  [12:14]
<jweiss> human users won't know the diff, automation can still check for
         success.  [12:15]
<mmccune> jweiss: that should be pretty easy to fix i think

Version-Release number of selected component (if applicable):
katello-0.1.112-1.git.14.9b7d238.el6.x86_64

How reproducible:


Steps to Reproduce:
1.  Create a product, click save
2.
3.
  
Actual results:
Ajax call, success notif, then right pane immediately refreshes.  Sometimes the refresh doesn't finish before the notification disappears.  Automation can't detect the notification.

Expected results:
It might make more sense to do the notification after the right pane refresh.  That way the user sees the new product is there, and the notification at pretty much the same time.

Additional info:

Comment 1 Jeff Weiss 2011-12-01 21:18:44 UTC
Also see this happening after creating a role - probably any page that refreshes the left pane after adding an item.

Comment 2 Mike McCune 2012-01-26 19:38:07 UTC
mass move to CFSE product.

Comment 5 Tom McKay 2012-10-24 19:28:29 UTC
Went for javascript change to monitor notices during test automation

Comment 6 Mike McCune 2013-08-16 18:09:29 UTC
getting rid of 6.0.0 version since that doesn't exist