mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-30 19:46:49 +00:00 
			
		
		
		
	Merge branch 'add-multiple-testing' into sprint-2
This commit is contained in:
		| @@ -229,20 +229,10 @@ describe("test App end to end", async () => { | ||||
| 					console.log(dialog.message()); | ||||
| 					await dialog.accept(); | ||||
| 				}); | ||||
|  | ||||
| 				// Get the delete button and click it | ||||
| 				let delete_btn = await page.$("#delete-btn"); | ||||
| 				await delete_btn.click(); | ||||
| 				await page.waitForNavigation(); | ||||
|  | ||||
| 				// Check that the card was correctly removed (there should be no remaining cards) | ||||
| 				review_card = await page.$("#review-card"); | ||||
| 				assert.strictEqual(review_card, null); | ||||
| 			} | ||||
| 		}); | ||||
| 	}); | ||||
|  | ||||
| 	}); | ||||
|  | ||||
| 	after(async () => { | ||||
| 		await page.close(); | ||||
| 		await browser.close(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user