Product Opener/Acceptance testing: Difference between revisions

From Open Food Facts wiki
(More tests)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page is listing what are the things to test when launching a new version/feature of Product Opener.
This page is listing what are the things to test when launching a new version/feature of Product Opener.


== 5 main test (10 minutes) ==
== 7 main tests (10 minutes) ==
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 24: Line 24:
|
|
* https://world.openfoodfacts.org/donate-to-open-food-facts
* https://world.openfoodfacts.org/donate-to-open-food-facts
* https://fr.openfoodfacts.org/faire-un-don-a-open-food-facts (french page embeds another form)
* https://fr.openfoodfacts.org/faire-un-don-a-open-food-facts (french page embeds another form)
|
|
|-
|5
|Product page
|Product pages are the most consulted pages.
|
* [https://world.openfoodfacts.org/product/3103220006245/floppie-s-haribo Example 1] (Nutri-Score, Palm oil free, Nova, Eco-Score, Warning for the amount of fibers, warning for the amount of fruits...)
|
|
|-
|7
|JSON product page
|JSON product pages are used by dozen of apps.
|
* [https://world.openfoodfacts.org/api/v0/product/3103220006245.json Example 1 via API v0 url] (/api/v0/product/3103220006245.json)
* [https://world.openfoodfacts.org/api/v2/product/3103220006245.json Example 1 via API v2 url] (/api/v2/product/3103220006245.json)
|
|
|
|
Line 30: Line 47:
|3
|3
|Login/logout
|Login/logout
|
|Some feature are not accessible if the user is not logged in.
|
|
|
|
Line 36: Line 53:
|-
|-
|4
|4
|Account creation
|Account creation (dev & pre-prod)
|
|
|
|
Line 42: Line 59:
|
|
|-
|-
|5
|6
|Edition page
|
|
|
|
|To edit a page in production: you can choose the last products entried and complete one of them.
|-
|8
|Search form
|
|
|
|
Line 49: Line 73:
|
|
|}
|}
[[Category:ProductOpener]]
[[Category:Software tests]]

Latest revision as of 14:52, 23 February 2023

This page is listing what are the things to test when launching a new version/feature of Product Opener.

7 main tests (10 minutes)

Test nb What? Why? Where? How? Comments
1 OFF home page is running and complete The home page is one of the most visited. https://world.openfoodfacts.org/ Navigator

Click on every links on the page

2 OFF donation page A good way to know if static pages are running well.
5 Product page Product pages are the most consulted pages.
  • Example 1 (Nutri-Score, Palm oil free, Nova, Eco-Score, Warning for the amount of fibers, warning for the amount of fruits...)
7 JSON product page JSON product pages are used by dozen of apps.
3 Login/logout Some feature are not accessible if the user is not logged in.
4 Account creation (dev & pre-prod)
6 Edition page To edit a page in production: you can choose the last products entried and complete one of them.
8 Search form