2021-09-27 17:02:38 +00:00
---
name: Release QA
about: Checklist of required tests prior to release
title: ''
labels: ''
assignees: ''
---
# Goal: easy-to-follow test steps for sanity checking a release manually
**Fleet version** (Head to the "My account" page in the Fleet UI or run `fleetctl version` ):
**Web browser** _(e.g. Chrome 88.0.4324)_ :
# Important reference data
1. [fleetctl preview setup ](https://fleetdm.com/get-started )
2. [permissions documentation ](https://fleetdm.com/docs/using-fleet/permissions )
# Smoke Tests
Smoke tests are limited to core functionality and serve as a sanity test. If smoke tests are failing, a release cannot proceed.
## Prerequisites
1. `fleetctrl preview` is set up and running the desired test version using `--tag` parameters.
2. Unless you are explicitly testing older browser versions, browser is up to date.
3. Certificate & flagfile are in place to create new host.
## Instructions
< table >
< tr > < th > Test name< / th > < th > Step instructions< / th > < th > Expected result< / th > < th > pass/fail< / td > < / tr >
< tr > < td > $Name< / td > < td > {what a tester should do}< / td > < td > {what a tester should see when they do that}< / td > < td > pass/fail< / td > < / tr >
< tr > < td > Update flow< / td > < td >
2021-09-29 16:52:23 +00:00
1. remove all fleet processes/agents/etc from Docker for a clean slate
1. run `fleetctrl preview` with no tag for latest stable
1. create a host/query to later confirm upgrade with
1. STOP fleet-preview-server instances in containers/apps on Docker
1. run `fleetctrl preview` with appropriate testing tag </ td >< td > All previously created hosts/queries are verified to still exist</ td >< td > pass/fail</ td ></ tr >
2021-09-27 17:02:38 +00:00
< tr > < td > Login flow< / td > < td >
1. navigate to the login page and attempt to login with both valid and invalid credentials to verify some combination of expected results.
2. Login with SSO
< / td > < td >
1. text fields prompt when blank
2. correct error message is "authentication failed"
3. forget password link prompts for email
4. valid credentials result in a successful login. </ td >< td > pass/fail</ td ></ tr >
< tr > < td > Query flow< / td > < td > Create, edit, run, and delete queries. < / td > < td >
1. permissions regarding creating/editing/deleting queries are up to date with documentation
2. syntax errors result in error messaging
3. queries can be run manually
< / td > < td > pass/fail< / td > < / tr >
< tr > < td > Host Flow< / td > < td > Verify a new host can be added and removed following modal instructions using your own device.< / td > < td >
1. Host is added via command line
2. Host serial number and date added are accurate
3. Host is not visible after it is deleted
4. Warning and informational modals show when expected and make sense
< / td > < td > pass/fail< / td > < / tr >
< / table >
# Notes
2021-09-29 16:52:23 +00:00
Issues found new to this version:
Issues found that reproduce in last stable version: