page.assertRest
as follows:integration/admin/token
to obtain authentication token. So we set page.assertRest
parameters like that:page.assertRest
automatically assigns the response text to PUPPETRY_LAST_RESPONSE_TEXT
template variable. So we can use it further in the test case.