1520: Offline check doesn't always work properly when reopening the page

1520: Offline check doesn't always work properly when reopening the page

 

Test Case #:1520

Test Case Name: Offline check doesn't always work properly when reopening the page

System: OpenLMIS

Subsystem: blue

Test case designed by: Paulina Borowa

Design Date:10.01.2017

Short description

Offline detection doesn't work well after I refresh the page. For some time it thinks that I am online, and the layout breaks because of this (see screenshot).

The problem is that the offline service doesn't update its status immediately, So the service reports that it's online until it checks 30 seconds later.

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

 

 

Step

Action

Expected system response

Comment

1

                                                           UI should appear to be online                                                                 

                                                 

2

 close the tab and go offline

 

 

3

UI should appear to be offline - immedately

 

 

 

4

 

 

 

5

 

 

 

6

 

 

 

OpenLMIS: the global initiative for powerful LMIS software