Problem
Occasionally there are regressions that occur that we simply do not detect. This can happen because we don't test all the behaviour with every release, or it can happen because we don't test on every browser.
Solution
We could create a suite of basic integration tests that cover the core functionality of AdminCentral.
The goal of the tests is
- detect any regressions that occur
- test on main supported platforms
- cover as much functionality as possible
- to not be too difficult or time-consuming to perform the tests
- to not be too difficult to time-consuming maintain the tests
Implementation
The tests could be automated with Selenium.
The tests could be performed manually. Manual is time-consuming - but has the advantage that it can be done immediately and is very flexible.
I think it makes sense to start manually, as a way to craft what should be included in the test. Once the test-script is refined (mature), then it can be implemented in Selenium.
I would think we dont need a big process around the testing, simply a page with each script as a list of steps and expected results. The tester would simply create Jira tickets when steps did not have the expected results. It would then be a step in the sprint - to perform the integration tests. Any developer should also use the integration tests to verify that their changes did not break the associated area.
Proposal for test scripts
ShellApps and App navigation
Action | Expected Result |
---|---|
Login as superuser | Appslauncher displayed. |
Click Pulse | Pulse icon is hilighted. Pulse displayed. |
Click Messages tab | Pulse Messages view displayed. |
Click on green background to left of pulse | Appslauncher icon is hilighted. Appslauncher view is displayed. |
Click Favorites | Favorites icon is hilighted. Favorites view displayed. |
Click Favorites | Appslauncher icon is hilighted. |
Click Tools App group tile | Tools app tiles are displayed. |
Click Dev App group tile | Dev app tiles are displayed. |
Click Showcase app tile | Showcase app opens. |
Click Favorites icon | Favorites shell app is displayed. |
Click Favorites icon | Favorites shell app is removed, revealing Showcase app again. |
Click Appslauncher icon | Appslauncher shell app is displayed. |
Click Configuration app tile | Configuration app is displayed. |
Click Appslauncher icon | Appslauncher Shell app is displayed. |
Click Assets app tile | Assets app is displayed. |
Click Appslauncher icon | Appslauncher Shell app is displayed. |
Click Configuration app tile | Configuration app is displayed. |
Click close button. | Configuration app is closed, revealing the Assets app. |
Click close button. | Assets app is closed, revealing the Showcase app. |
Click close button. | Showcase app is closed, revealing the Appslauncher. |
Click Dev App Group tile. | Dev App group is closed. |
Pages App
Assets App