Difference between revisions of "Product Opener/Acceptance testing"

From Open Food Facts wiki
Jump to navigation Jump to search
m (More tests)
(Refactoring)
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)
 
|
 
|
 
|
 
|
 
|-
 
|-
|3
+
|5
|Login/logout
+
|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...)
 
|
 
|
 
|
 
|
 
|-
 
|-
|4
+
|7
|Account creation
+
|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)
 
|
 
|
 
|
 
|
 
|-
 
|-
|5
+
|3
|Product page
+
|Login/logout
|
+
|Some feature are not accessible if the user is not logged in.
 
|
 
|
* https://world.openfoodfacts.org/product/3103220006245/floppie-s-haribo (Nutri-Score, Palm oil free, Nova, Eco-Score, Warning for the amount of fibers, warning for the amount of fruits...)
 
 
|
 
|
 
|
 
|
 
|-
 
|-
|6
+
|4
|Edition page
+
|Account creation
 
|
 
|
 
|
 
|
Line 57: Line 59:
 
|
 
|
 
|-
 
|-
|7
+
|6
|JSON product page
+
|Edition page
 
|
 
|
 
|
 
|

Revision as of 10:17, 29 November 2021

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
6 Edition page