Bug 756468 - Some actions have ajax calls after a success notification, notification is gone by the time ajax completes
Summary: Some actions have ajax calls after a success notification, notification is go...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
urgent vote
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-23 17:32 UTC by Jeff Weiss
Modified: 2018-08-30 21:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-24 19:28:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.