Skip to content

Commit 7a75920

Browse files
authored
Update playwright-smartui.js
1 parent 03e1135 commit 7a75920

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

playwright-smartui.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@ const { expect } = require('@playwright/test');
3939
`lambdatest_action: ${JSON.stringify({ action: 'smartui.takeScreenshot', arguments: { fullPage: true, screenshotName: 'search-lambdatest' }
4040
})}`) // Add a relevant screenshot name here
4141

42-
const element = await page.$('[id="sb_form_q"]')
43-
// await element.click()
44-
await element.type('LambdaTest')
45-
await page.waitForTimeout(1000)
46-
await page.keyboard.press('Enter')
47-
await page.waitForSelector('[class=" b_active"]')
48-
const title = await page.title()
4942

5043
try {
5144
expect(title).toEqual('LambdaTest - Search')

0 commit comments

Comments
 (0)