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
const API = Cypress.env('API'); | |
const headers = { | |
Authorization: '', | |
}; | |
Cypress.Commands.add('loginUser', () => { | |
return cy.readFile('aad-tokens.json') | |
.then(creds => { | |
// set auth headers so test setup calls are authorized |
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
using System; | |
using System.IO; | |
using System.Threading.Tasks; | |
using PuppeteerSharp; | |
namespace pptrTest | |
{ | |
class Program | |
{ | |
static async Task Main() |
OlderNewer