Adds e2e readme and new endpoint env var (#314)

This commit is contained in:
Zachary Foster
2020-11-03 14:05:54 -05:00
committed by GitHub
parent 3e782527d0
commit a009a8ba5f
4 changed files with 16 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ import crypto from "crypto";
import { Frame } from "puppeteer";
export async function login(connectionString: string): Promise<Frame> {
const prodUrl = "https://localhost:1234/hostedExplorer.html";
const prodUrl = process.env.DATA_EXPLORER_ENDPOINT;
page.goto(prodUrl, { waitUntil: "networkidle2" });
// log in with connection string