These steps outline some tests for the tax staff role.
Selenium allows for automated tests of the portal to be run from a browser window. Selenium is included with the default deployment of the Gateway. {{{http://127.0.0.1:8080/selenium/}This link}} will open up the Selenium test runner for a Gateway deployment on localhost .
Login
| Action | Attempt to log as tax staff using login DEVTEST00 , pass DEVTEST00 . |
| Result | Verify that the menu shown when you log in displays only the tax staff options for registration jobs etc, other roles should be collapsed. |
Message Browser
| Setup | Open the client GUI, with user and password set to DEVTEST00 , pass DEVTEST00 , and the web service set to the Gateway test deployment you are using. Use the Test Send tab to send a few transmissions. |
| Action | Select Message Browser from the left panel. Once it loads, expand the username DEVTEST00 by clicking the "+" icon. Expand the Transmissions section and each subsection (year, month and day, possibly time range) until you are able to a see transmission id(s). |
| Result | You should be able to see a popup when hovering the mouse pointer over the transmission id links displayed in the browser. |