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

Jump to navigation Jump to search
Line 97: Line 97:
* Test that I can return to a trusted UI context through the task switcher
* Test that I can return to a trusted UI context through the task switcher
* Test that I cannot request a trusted UI context within a background page running
* Test that I cannot request a trusted UI context within a background page running
* Test that I get an error and no trusted UI context when I request an invalid payment provider (aud wrong)
* Test that I get an error and no trusted UI context when I request an invalid payment provider (typ wrong)
* Test that I get an error and no trusted UI context when I request an invalid payment provider (typ wrong)
* 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 (exp non-numerical)
* Test that I get an error and no trusted UI context when I request an invalid JWT (iat non-numerical)
* Test that I get an error and no trusted UI context when I request an invalid JWT (iss non-numerical)
* 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 (name not specified)
Line 109: Line 105:
* 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 (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 (non-numerical price)
* Test that I get an error and no trusted UI context when I request an invalid JWT (non-numerical defaultPrice)
* 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 (description not specified)
* Test that I get an error and no trusted UI context when I request an invalid JWT (productdata not a valid URL)
* Test that I get an error and no trusted UI context when I request an invalid JWT (productdata not a valid URL)
* Test that I get an error and no trusted UI context when I request an invalid JWT (iat >= exp)
* 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 get an error when I request two JWTs with the same payment provider
Line 131: Line 123:
* Test that I can make an in-app payment with 10 prices specified with different currencies
* 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 get an error and no trusted UI context when I request an invalid JWT (two currencies that are the same)
* Test that I get an error and no trusted UI context when I request an invalid JWT (defaultPrice currency not specified in prices)
Confirmed users
2,959

edits

Navigation menu