Data Platform/Systems/Wikistats 2/Smoke Testing
Appearance
(Redirected from Analytics/Wikistats 2/Smoke Testing)
If you're adding a new feature or performing a big change on the UI's, you should run some smoke tests manually. We generally don't automate tests directly on the rendering of the UI, except for very basic integration tests, so here's a list of actions to ensure that the site is working correctly. Not all of them have to be run, only the ones that are pertinent to your change.
- Switch areas by using the top navigation bar. Come back to the dashboard by clicking on the Wikimedia Statistics header.
- Toggle between "All wikis" and a specific wiki. Check that the wiki-specific metrics (like Unique Devices or Edited Pages) lock/unlock.
- Search for a question in the Topic Selector and access that metric.
- Download the data using the download button
- Check all metric types:
- Timeseries - Bar
- Activate a breakdown, you should see more bars with different colors and a legend.
- Check that the Y and X axes make sense
- Use the time range selector, check that granularities change
- Check that the numbers at the bottom of the chart make sense
- Timeseries - Line
- Hover over line to see values
- Make sure there's a line following your cursor at the graph
- Activate a breakdown and check that there are several lines with different colors and the legend reports several values.
- Check that the Y and X axes make sense
- Use the time range selector, check that granularities change
- Check that the numbers at the bottom of the chart make sense
- Top - Table
- Make sure you can load more rows
- Top - Map
- Hover over countries. A tooltip with the value for that country should appear
- Zoom in and out. There should be limits to the amount of zoom in both directions
- The legend's colors and numbers should reflect the values on the tooltips
- Timeseries - Bar
- Switch between the graphs and their tables. Activated breakdowns should show in the table.
- Load more rows in the table chart using the button at the bottom
- Change the wiki on the wikiselector on the left
- Switch metrics on the buttons of the sidebar