mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-12-26 00:49:10 +00:00
set e2e test connection to 2 seconds
This commit is contained in:
parent
a5ac2dc940
commit
142e6d93b6
@ -22,7 +22,7 @@ describe("test App end to end", async () => {
|
||||
browser = await puppeteer.launch({args: root ? ["--no-sandbox"] : undefined});
|
||||
page = await browser.newPage();
|
||||
try{
|
||||
await page.goto("http://localhost:8080", {timeout: 1000});
|
||||
await page.goto("http://localhost:8080", {timeout: 2000});
|
||||
await console.log(`✔ connected to localhost webserver as ${root ? "root" : "user"}`);
|
||||
}
|
||||
catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user