This is a plan to automate the manual QA flow. Completing all the sub-issues here would fully automate the QA flow.
QA step โ test mapping
For a more user-friendly view, please see this google sheet.
| QA Step for Apps |
A ๐ข |
B ๐ต |
C ๐ฃ |
D ๐ |
E ๐ก |
F โช๏ธ |
| Create app |
๐ข |
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| Add different extensions |
|
|
๐ฃ |
|
|
|
| ใใGenerate admin_action extension |
|
|
|
๐ |
|
|
| ใใGenerate theme_app_extension |
|
|
|
|
๐ก |
|
| ใใGenerate discount extension |
|
|
|
|
|
โช๏ธ |
| ใใGenerate flow_action extension |
|
|
๐ฃ |
|
|
|
| ใใGenerate 3 other random extensions |
|
|
๐ฃ |
|
|
|
| Dev Console |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| ใใDev server starts |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| ใใOpen the shop and see the dev console |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| ใใใใApp shows as connected (green connected icon) |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| Admin action |
|
|
|
๐ |
|
|
| ใใConfirm/define products |
|
|
|
๐ |
|
|
| ใใOpen link on the admin-action extension โ Navigate to product admin page and open the action modal |
|
|
|
๐ |
|
|
ใใHot reload admin action file (src/ActionExtension.js) |
|
|
|
๐ |
|
|
| Add another random extension, see in Dev Console |
|
|
๐ฃ |
|
|
|
| ใใVerify the newly added extension shows in Dev Console |
|
|
๐ฃ |
|
|
|
| GraphQL |
|
๐ต |
|
|
|
|
| ใใOpen GraphiQL |
|
๐ต |
|
|
|
|
| ใใTest GraphQL query in GraphiQL |
|
๐ต |
|
|
|
|
| ใใGraphQL via app execute |
|
๐ต |
|
|
|
|
| Theme app extension |
|
|
|
|
๐ก |
|
| ใใClick "Setup theme app extension" link |
|
|
|
|
๐ก |
|
| ใใAdd section, choose app and Save |
|
|
|
|
๐ก |
|
| ใใOpen theme app extension local preview |
|
|
|
|
๐ก |
|
ใใHot reload liquid file (blocks/star_rating.liquid) |
|
|
|
|
๐ก |
|
| Press q to stop dev |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| ใใDev Console: shows disconnected |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| shopify app dev clean |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| ใใDev preview hidden |
|
๐ต |
๐ฃ |
๐ |
๐ก |
โช๏ธ |
| Test function extension |
|
|
|
|
|
โช๏ธ |
| ใใMove to the function directory |
|
|
|
|
|
โช๏ธ |
| ใใFunction extension: build |
|
|
|
|
|
โช๏ธ |
| ใใFunction extension: run with test input |
|
|
|
|
|
โช๏ธ |
| Return to root of the app |
๐ข |
๐ต |
|
|
|
โช๏ธ |
| Deploy app |
๐ข |
๐ต |
|
|
|
|
| List versions |
๐ข |
|
|
|
|
|
| Config link (new app) |
๐ข |
|
|
|
|
|
| Deploy to new app |
๐ข |
|
|
|
|
|
Test breakdown
| Test |
Sub-issue |
File |
Scope |
Status |
| A |
#7369 |
Extend app-deploy.spec.ts |
init โ deploy โ versions list โ config link (new app) โ deploy to new app |
Unblocked |
| B |
#7370 |
Extend app-dev-server.spec.ts Rename to app-dev-basic.spec.ts |
init โ dev โ Dev Console green โ g โ GraphiQL query { shop { name } } โ result โ execute โ q โ disconnected โ clean โ hidden โ deploy |
Unblocked |
| C |
#7371 |
New app-ext-basic.spec.ts |
init โ generate 4 (flow_action + 3 from SAFE_FOR_C_EXTRAS) โ dev โ Console lists all 4 โ generate 5th mid-dev via CLI โ Console updates โ q/clean |
Blocked on 401 |
| D |
#7373 |
New app-ext-admin-action.spec.ts |
init โ generate admin_action โ dev โ Console โ product action modal โ edit src/ActionExtension.js โ hot reload โ q/clean |
Blocked on 401 |
| E |
#7374 |
New app-ext-theme-app.spec.ts |
init โ generate theme_app_extension โ dev โ setup theme link โ add section + save โ preview โ edit blocks/star_rating.liquid โ hot reload โ q/clean |
Blocked on 401 |
| F |
#7375 |
New app-ext-function.spec.ts |
init โ generate discount โ function build โ function run with test input โ return to root |
Blocked on 401 |
Hydrogen QA is tracked separately in #7376.
This is a plan to automate the manual QA flow. Completing all the sub-issues here would fully automate the QA flow.
QA step โ test mapping
For a more user-friendly view, please see this google sheet.
๐ข
๐ต
๐ฃ
๐
๐ก
โช๏ธ
src/ActionExtension.js)blocks/star_rating.liquid)Test breakdown
app-deploy.spec.tsapp-dev-server.spec.tsRename to
app-dev-basic.spec.tsgโ GraphiQLquery { shop { name } }โ result โexecuteโ q โ disconnected โ clean โ hidden โ deployapp-ext-basic.spec.tsapp-ext-admin-action.spec.tssrc/ActionExtension.jsโ hot reload โ q/cleanapp-ext-theme-app.spec.tsblocks/star_rating.liquidโ hot reload โ q/cleanapp-ext-function.spec.tsHydrogen QA is tracked separately in #7376.