From 64e2651e87df7f34a684b2fadba6b5f2b8a1a0b0 Mon Sep 17 00:00:00 2001 From: Ryan Chia Date: Tue, 12 Nov 2024 15:00:01 +0800 Subject: [PATCH] asd --- apps/frontend/__tests__/browser-tests/browser.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/frontend/__tests__/browser-tests/browser.test.ts b/apps/frontend/__tests__/browser-tests/browser.test.ts index 51b36aec2d..fe93068c29 100644 --- a/apps/frontend/__tests__/browser-tests/browser.test.ts +++ b/apps/frontend/__tests__/browser-tests/browser.test.ts @@ -27,11 +27,9 @@ describe.each([Browser.CHROME, Browser.EDGE, Browser.FIREFOX])("%s driver test", beforeAll(() => { const cap = new Capabilities().setBrowserName(browser) builder.withCapabilities(cap); - console.log("got here"); }) beforeEach(async () => { - console.log("got here"); driver = await builder.build(); }) @@ -41,10 +39,12 @@ describe.each([Browser.CHROME, Browser.EDGE, Browser.FIREFOX])("%s driver test", describe("webdriver installed correctly", () => { it("does google search", async () => { - console.log("got here"); + console.log("getting url"); await driver.get('http://www.google.com'); + console.log("got url"); await driver.findElement(By.name('q')).sendKeys('webdriver', Key.RETURN); await driver.wait(until.titleIs('webdriver - Google Search'), 1000); + console.log("did search"); }, 10000); it.skip("does another google search", async () => {