Created
February 23, 2023 08:54
-
-
Save reinskywalker/0455bf1f2d2d5d9aa824a5fad24dcac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
< reference types = "Cypress" / > | |
let identity | |
describe(`Channel Regular ${env.type}`, () => { | |
it('Restore Access Token', () => { | |
cy.getAccessToken().then((res) => { | |
console.log(res.body.access_token) | |
}) | |
}) | |
it('Generate UUID', () => { | |
cy.request({ | |
method: 'POST', | |
url: `${env.url}`, | |
header: { | |
'Authorization': `Bearer ${identity}`, | |
"Content-type": "application/json" | |
} | |
}) | |
.then((res) => { | |
console.log(res) | |
}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment