/
925: User authenticates using Auth Service (OAuth) in Requisition-UI

925: User authenticates using Auth Service (OAuth) in Requisition-UI

Test Case #:925


Test Case Name: User authenticates using Auth Service (OAuth) in Requisition-UI

System:

Subsystem: requisition-refUI

Test case designed by: Lucyna Kwidzińska

Design Date:07.09.2016

Short description

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       



Step

Action

Expected system response

Comment

1

      Clone the requisition-refUI project.                       The project should be cloned.                                                                                                               

2

Run the docker.

> sudo service docker start

 
The docker should be running.


3

Type the command into command-line: > docker-compose run --service-ports requisition-refui The docker-compose should be running.


4

Type the command into command-line:

$ grunt build 



5

Type the command into command-line:

$ exit 



6

 Type the another command into command-line: > docker-compose -f docker-compose.yml -f docker-compose.prod.yml upThe docker-compose should be running.


7

 Verify if http://localhost is available (the login form should be seen).Localhost should be available.


8

   Try to login using following credentials:
  • login: trusted-client
  • password: secret
            
Login should be finished successful.


9Logout from the UI (after that, the login page should be visible).Logout should be finished successful.
1Verify if http://localhost/public/pages/index.html contain the login form on the homepage.The login form should be seen.
11Verify if the logging is possible with wrong credentials (the proper warning should be displayed).Logging with wrong credentials should not be possible.



Post – conditions:

Related content

1011: Log into the UI using username and password
1011: Log into the UI using username and password
More like this
761: Reverse proxy server deployment (nginx)
761: Reverse proxy server deployment (nginx)
More like this
1040: User's authentication is checked on page load
1040: User's authentication is checked on page load
More like this
1123: Error message displayed when 403 returned from server
1123: Error message displayed when 403 returned from server
More like this
922: Create Requisition-UI Repository and Build Process
922: Create Requisition-UI Repository and Build Process
More like this
496: Logout
496: Logout
More like this

OpenLMIS: the global initiative for powerful LMIS software