B2G/QA/WebAPI Test Plan/WebPayment: Difference between revisions

No edit summary
Line 90: Line 90:
* Test that I get an error and no trusted UI context when I request an invalid payment provider (typ not specified)
* Test that I get an error and no trusted UI context when I request an invalid payment provider (typ not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (request not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (request not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (name not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (price not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (price not valid)
* Test that I get an error and no trusted UI context when I request an invalid JWT (invalid currency)
* Test that I get an error and no trusted UI context when I request an invalid JWT (non-numerical price)
* Test that I get an error and no trusted UI context when I request an invalid JWT (description not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (not valid JSON)
* Test that I get an error and no trusted UI context when I request an invalid JWT (not valid JSON)
* Test that I get an error when I request two JWTs with the same payment provider
Test that I can use the keyboard within the trusted UI context to type text in
* Test that I can make an in-app payment with no iss specified
* Test that I can make an in-app payment with no iat specified
* Test that I can make an in-app payment with no exp specified
* Test that I can make an in-app payment with a single price with no default price specified
* Test that I can make an in-app payment with UTF-8 characters in the name and description of the request
* Test that I can make an in-app payment with at least two prices specified in a valid locale
* Test that I cannot make an in-app payment with a price specified in an unsupported locale
* Test that I can make an in-app payment without productdata, postbackURL, and chargebackURL specified
* Test that I can make an in-app payment with productdata specified
* Test that I can make an in-app payment with a postbackURL and chargebackURL that points to a 404
* Test that I can make an in-app payment with a valid postbackURL and chargebackURL
* Test that I can make an in-app payment with 10 prices specified with different currencies
* Test that I get an error and no trusted UI context when I request an invalid JWT (two currencies that are the same)
* Test that I can use the keyboard within the trusted UI context to type text in
Confirmed users
2,959

edits