diff --git a/hooks/examples/test.js b/hooks/examples/test.js index 0849f4d..32a3ff0 100644 --- a/hooks/examples/test.js +++ b/hooks/examples/test.js @@ -33,7 +33,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: platform + browserName + version, // name of the build "LT:Options": { - "smartUI.project": "smartuigithub", + "smartUI.project": "smartuigithub-integration", // will generate random smartUI build if not specified // "smartUI.build": "first", "smartUI.options": { @@ -103,7 +103,7 @@ async function startTest(gridUrl, capabilities, name) { // For Smartui TakeScreenshot setTimeout(function () { - console.log("taking screenshot ...") + console.log("taking screenshot ....") let config = { screenshotName: "web-page" }; diff --git a/sdk/sdkCloud.js b/sdk/sdkCloud.js index fca5502..37dafd8 100644 --- a/sdk/sdkCloud.js +++ b/sdk/sdkCloud.js @@ -4,7 +4,7 @@ const { smartuiSnapshot } = require('@lambdatest/selenium-driver'); // username: Username can be found at automation dashboard const USERNAME = process.env.LT_USERNAME || ""; -// AccessKey: AccessKey can be generated from automation dashboard or profile section +// AccessKey: AccessKey can be generated from automation dashboard or profile section ss const KEY = process.env.LT_ACCESS_KEY || ""; let capabilities = { platform: "catalina", diff --git a/sdk/sdkLocal.js b/sdk/sdkLocal.js index 23f23df..30408fb 100644 --- a/sdk/sdkLocal.js +++ b/sdk/sdkLocal.js @@ -3,7 +3,7 @@ const { smartuiSnapshot } = require('@lambdatest/selenium-driver'); (async function example() { let driver = await new Builder().forBrowser("chrome").build(); - + // test try { await driver.get("https://www.lambdatest.com"); await smartuiSnapshot(driver, "Lambdatest");