mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-30 19:46:49 +00:00 
			
		
		
		
	set e2e test connection to 2 seconds
This commit is contained in:
		| @@ -22,7 +22,7 @@ describe("test App end to end", async () => { | |||||||
| 		browser = await puppeteer.launch({args: root ? ["--no-sandbox"] : undefined}); | 		browser = await puppeteer.launch({args: root ? ["--no-sandbox"] : undefined}); | ||||||
| 		page = await browser.newPage(); | 		page = await browser.newPage(); | ||||||
| 		try{ | 		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"}`); | 			await console.log(`✔ connected to localhost webserver as ${root ? "root" : "user"}`); | ||||||
| 		} | 		} | ||||||
| 		catch (error) { | 		catch (error) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user