From dc820d217409e538a07371c944fc777cacd44406 Mon Sep 17 00:00:00 2001 From: haiderLambdatest <144799984+haiderLambdatest@users.noreply.github.com> Date: Thu, 29 Feb 2024 20:12:14 +0530 Subject: [PATCH 001/165] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 577a8f50..a2ae6662 100644 --- a/README.md +++ b/README.md @@ -147,4 +147,4 @@ To stay updated with the latest features and product add-ons, visit [Changelog]( * Got a query? we are available 24x7 to help. [Contact Us](mailto:support@lambdatest.com) * For more info, visit - [LambdaTest](https://www.lambdatest.com/?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) - + From 1db15b45c11f5d5f28732fa274f1fe654bd82517 Mon Sep 17 00:00:00 2001 From: haiderLambdatest <144799984+haiderLambdatest@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:49:40 +0530 Subject: [PATCH 002/165] Update README.md - 4 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a2ae6662..da9e4c09 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ +

Blog   ⋅   From f6975a3d07fd09b485a5d1e52230e453ccbdb0ba Mon Sep 17 00:00:00 2001 From: haiderLambdatest <144799984+haiderLambdatest@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:06:11 +0530 Subject: [PATCH 003/165] Update README.md-7 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index da9e4c09..0e23181e 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@

    +   *Learn the how to get started with testing GitHub app integration with SmartUI on the LambdaTest platform.* From 550b0c0a8fab8a9e4d0d80a0398645dbbddf4b54 Mon Sep 17 00:00:00 2001 From: haiderLambdatest <144799984+haiderLambdatest@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:24:31 +0530 Subject: [PATCH 004/165] Update README.md-8 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0e23181e..b89da7a5 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@   + *Learn the how to get started with testing GitHub app integration with SmartUI on the LambdaTest platform.* [](https://accounts.lambdatest.com/register?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) From 13c841f3d8933593285c0add6db3637592283ac1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest <144799984+haiderLambdatest@users.noreply.github.com> Date: Mon, 18 Mar 2024 17:59:44 +0530 Subject: [PATCH 005/165] Update README.md-1-PROD --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b89da7a5..a17d38e5 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ ## Table of Contents: + * [Pre-requisites](#pre-requisites) * [Getting Started With Github App Integration with SmartUI](#getting-started-with-github-app-integration-with-smartui) From fea01ff33911719fffef093eb39125863e527e5a Mon Sep 17 00:00:00 2001 From: haiderLambdatest <144799984+haiderLambdatest@users.noreply.github.com> Date: Mon, 18 Mar 2024 19:58:46 +0530 Subject: [PATCH 006/165] Update README.md-pr1 --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a17d38e5..4f13ca42 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@

+ Blog   ⋅   Docs From fd8c79d8a13a2a2199c61a2fc98ff03c790d26e4 Mon Sep 17 00:00:00 2001 From: Haider Khan Date: Thu, 25 Apr 2024 16:54:07 +0530 Subject: [PATCH 007/165] nbc 25-04-24 --- README.md | 40 ++++++++++++++++++++++------------------ tests/test.js | 6 +++--- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 577a8f50..dd97445a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ -

Smart UI Testing With GitHub

+--- +runme: + id: 01HWAFWEYMX18NF1CSHAZ7M8QB + version: v3 +--- + +

Smart UI Testing With GitHub

@@ -21,15 +27,13 @@ *Learn the how to get started with testing GitHub app integration with SmartUI on the LambdaTest platform.* -[](https://accounts.lambdatest.com/register?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) - +[](https://accounts.lambdatest.com/register?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) ## Table of Contents: * [Pre-requisites](#pre-requisites) * [Getting Started With Github App Integration with SmartUI](#getting-started-with-github-app-integration-with-smartui) - ## Pre-requisites * An account with Github with valid permission to install new applications to your repositories. @@ -38,7 +42,7 @@ ## Getting Started With Github App Integration with SmartUI -### Steps 1: Integrate the your Lambdatest Account with GitHub App. +### Steps 1: Integrate the your Lambdatest Account with GitHub App. You can integrate your LambdaTest account with the GiHub application in the following ways: @@ -46,8 +50,7 @@ You can integrate your LambdaTest account with the GiHub application in the foll ![github-app-landing-92ef6e152a7302cb9ab88f5034b9ec0c](https://user-images.githubusercontent.com/126776938/232715867-f375b4df-1bc9-4e88-8340-44e986be2e9a.png) - -### Step 2: Select your GitHub repository +### Step 2: Select your GitHub repository Go to your GitHub repository where you want to configure your SmartUI project. Check out our GitHub sample [here](https://github.com/LambdaTest/smartui-node-sample). @@ -55,7 +58,7 @@ Go to your GitHub repository where you want to configure your SmartUI project. C Add the `Github` capability to your current test configuration: -```bash +```bash {"id":"01HWAFWEYGEXVSMJCB2CKFCSDN"} const capabilities: { platform: "Windows 10", browserName: "chrome", @@ -76,12 +79,13 @@ Setting up your CI workflow to execute on GitHub. Here is an example setup with Go to `.github/workflows/.yml`. -```bash +```bash {"id":"01HWAFWEYHTNW1BFEH1B42Q0EE"} name: Execute SmartUI Test with Github App Integration runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - name: Create commit status run: | API_HOST=https://api.github.com @@ -100,19 +104,19 @@ Go to `.github/workflows/.yml`. After the setup is completed, you can now execute your test suite with the Continuos Integration (CI) pipeline with any tool of your choice. -**Please Note:** *On running the tests with this repository the user should be able to trigger the `GitHub Action` and execute the `SmartUI` tests for `Selenium`, `Cypress, CDP, and Taiko` frameworks. As this action does not work for `StoryBook`, check our how you can SmartUI test with `StoryBook` [here](https://github.com/LambdaTest/smartui-storybook).* +**Please Note:** *On running the tests with this repository the user should be able to trigger the `GitHub Action` and execute the `SmartUI` tests for `Selenium`, `Cypress, CDP, and Taiko` frameworks. As this action does not work for `StoryBook`, check our how you can SmartUI test with `StoryBook` [here](https://github.com/LambdaTest/smartui-storybook).* ### Step 6: Commit you changes over git on a branch and raise the PR to main branch. ### Step 7: Now you will see the `lambdatest-smartui-app` in the PR. ## Documentation & Resources :books: - + Visit the following links to learn more about LambdaTest's features, setup and tutorials around test automation, mobile app testing, responsive testing, and manual testing. * [LambdaTest Documentation](https://www.lambdatest.com/support/docs/?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) * [LambdaTest Blog](https://www.lambdatest.com/blog/?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) -* [LambdaTest Learning Hub](https://www.lambdatest.com/learning-hub/?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) +* [LambdaTest Learning Hub](https://www.lambdatest.com/learning-hub/?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) ## LambdaTest Community :busts_in_silhouette: @@ -120,11 +124,11 @@ The [LambdaTest Community](https://community.lambdatest.com/?utm_source=github&u ## What's New At LambdaTest ❓ -To stay updated with the latest features and product add-ons, visit [Changelog](https://changelog.lambdatest.com/) - +To stay updated with the latest features and product add-ons, visit [Changelog](https://changelog.lambdatest.com/) + ## About LambdaTest -[LambdaTest](https://www.lambdatest.com?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) is an intelligent unified digital experience testing cloud that helps businesses drastically reduce time to market through faster test execution, ensuring quality releases and accelerated digital transformation. The platforms allows you to perform both real time and automation testing across 3000+ environments and real mobile devices, making it a top choice among other cloud testing platforms. Over 10,000+ enterprise customers and 2+ million users across 130+ countries rely on LambdaTest for their testing needs. +[LambdaTest](https://www.lambdatest.com?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) is an intelligent unified digital experience testing cloud that helps businesses drastically reduce time to market through faster test execution, ensuring quality releases and accelerated digital transformation. The platforms allows you to perform both real time and automation testing across 3000+ environments and real mobile devices, making it a top choice among other cloud testing platforms. Over 10,000+ enterprise customers and 2+ million users across 130+ countries rely on LambdaTest for their testing needs. ### Features @@ -140,9 +144,9 @@ To stay updated with the latest features and product add-ons, visit [Changelog]( * Online Accessibility Testing across 3000+ desktop and mobile browsers, browser versions, and operating systems. * Geolocation testing of web and mobile apps across 53+ countries. * LT Browser - for responsive testing across 50+ pre-installed mobile, tablets, desktop, and laptop viewports - -[](https://accounts.lambdatest.com/register?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) - + +[](https://accounts.lambdatest.com/register?utm_source=github&utm_medium=repo&utm_campaign=playwright-sample) + ## We are here to help you :headphones: * Got a query? we are available 24x7 to help. [Contact Us](mailto:support@lambdatest.com) diff --git a/tests/test.js b/tests/test.js index 71e16666..b01fc0a9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -4,10 +4,10 @@ var moment = require("moment"); var waitTime = 2 // 2 seconds // username: Username can be found at automation dashboard -const USERNAME = process.env.LT_USERNAME || "username"; +const USERNAME = process.env.LT_USERNAME || "haiderk"; // AccessKey: AccessKey can be generated from automation dashboard or profile section -const KEY = process.env.LT_ACCESS_KEY || "accessKey"; +const KEY = process.env.LT_ACCESS_KEY || "i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R"; // gridUrl: gridUrl can be found at automation dashboard const GRID_HOST = @@ -84,7 +84,7 @@ async function startTest(gridUrl, capabilities, name) { // For Smartui TakeScreenshot setTimeout(function () { console.log("taking screenshot ...") - driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { + driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"[PR:6228]"}`).then(out => { console.log("RESPONSE :", out) return }); From 7a8149c5f1a369edfeb8eafebc02deb272c8b83b Mon Sep 17 00:00:00 2001 From: Haider Khan Date: Thu, 25 Apr 2024 17:09:11 +0530 Subject: [PATCH 008/165] nbc2 25-04-24 --- README.md | 1 + tests/test.js | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd97445a..c8281971 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ Go to `.github/workflows/.yml`. - uses: actions/checkout@v1 + - name: Create commit status run: | API_HOST=https://api.github.com diff --git a/tests/test.js b/tests/test.js index b01fc0a9..ea310be4 100644 --- a/tests/test.js +++ b/tests/test.js @@ -35,7 +35,8 @@ async function searchTextOnGoogle() { accessKey: KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build - "smartUI.project": "github-integration-demo", + "smartUI.build": "[PR: 6208] Commit: 8afca2baa70e8a5eaef40fee4858f02655d41482", + "smartUI.project": "github-integration-demo-1", github: { url: process.env.GITHUB_URL, }, @@ -84,7 +85,7 @@ async function startTest(gridUrl, capabilities, name) { // For Smartui TakeScreenshot setTimeout(function () { console.log("taking screenshot ...") - driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"[PR:6228]"}`).then(out => { + driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { console.log("RESPONSE :", out) return }); From a8d999c764cab54b7a5cdce94c184d2e33810e83 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 20 Jun 2024 16:36:37 +0530 Subject: [PATCH 009/165] Github PR check --- tests/test.js | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/tests/test.js b/tests/test.js index ea310be4..3a56b825 100644 --- a/tests/test.js +++ b/tests/test.js @@ -4,16 +4,19 @@ var moment = require("moment"); var waitTime = 2 // 2 seconds // username: Username can be found at automation dashboard -const USERNAME = process.env.LT_USERNAME || "haiderk"; +// const USERNAME = process.env.LT_USERNAME || "haiderk"; + +// // AccessKey: AccessKey can be generated from automation dashboard or profile section +// const KEY = process.env.LT_ACCESS_KEY || "i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R"; -// AccessKey: AccessKey can be generated from automation dashboard or profile section -const KEY = process.env.LT_ACCESS_KEY || "i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R"; // gridUrl: gridUrl can be found at automation dashboard -const GRID_HOST = -process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub +// const GRID_HOST = +// process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub -const GRID_URL = process.env.GRID_URL || "GRID_URL"; +// const GRID_URL = process.env.GRID_URL || "GRID_URL"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub" +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub" async function searchTextOnGoogle() { var keys = process.argv; @@ -35,8 +38,8 @@ async function searchTextOnGoogle() { accessKey: KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build - "smartUI.build": "[PR: 6208] Commit: 8afca2baa70e8a5eaef40fee4858f02655d41482", - "smartUI.project": "github-integration-demo-1", + "smartUI.build": "Github-build", + "smartUI.project": "github-integration-testing", github: { url: process.env.GITHUB_URL, }, @@ -85,7 +88,9 @@ async function startTest(gridUrl, capabilities, name) { // For Smartui TakeScreenshot setTimeout(function () { console.log("taking screenshot ...") - driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { + // driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { + driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { + // driver.executeScript(`smartui.takeFullPageScreenshot=S-1`).then(out => { console.log("RESPONSE :", out) return }); From 6efb5308bc806b19ef2f1112c40a07138561e36a Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 16:08:25 +0530 Subject: [PATCH 010/165] EgifterCheck-1 --- tests/test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 3a56b825..75f82128 100644 --- a/tests/test.js +++ b/tests/test.js @@ -15,8 +15,8 @@ var waitTime = 2 // 2 seconds // process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub" -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub" +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub" +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub" async function searchTextOnGoogle() { var keys = process.argv; @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: platform + browserName + version, // name of the build "smartUI.build": "Github-build", - "smartUI.project": "github-integration-testing", + "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, }, @@ -113,3 +113,4 @@ async function startTest(gridUrl, capabilities, name) { }); } + From e65ce04ff2e9c02229c757168a88017d3977ac2b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 16:11:19 +0530 Subject: [PATCH 011/165] EgifterCheck-2 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 75f82128..135ab1d5 100644 --- a/tests/test.js +++ b/tests/test.js @@ -34,8 +34,8 @@ async function searchTextOnGoogle() { version: version, queueTimeout: 300, visual: true, - user: USERNAME, - accessKey: KEY, + user: process.env.LT_USERNAME, + accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build "smartUI.build": "Github-build", From e381ace978c174ea20c5c6af80cf62473175a29b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 16:14:05 +0530 Subject: [PATCH 012/165] EgifterCheck-3 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 135ab1d5..0cd04f57 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); let parallelCount = keys[2] || 1; let tunnel = keys[3] || false; - let platform = keys[4] || "Windows 10"; + let platform = keys[4] || "Windows 11"; let browserName = keys[5] || "chrome"; let version = keys[6] || "latest"; From 539744e13d5485cf47a7d235b5de5158d40bbe68 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 16:16:14 +0530 Subject: [PATCH 013/165] EgifterCheck-4 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 0cd04f57..62183862 100644 --- a/tests/test.js +++ b/tests/test.js @@ -38,7 +38,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build - "smartUI.build": "Github-build", + "smartUI.build": "Github-build-1", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From e80348a240e691c163c4fc31832b434b2f9f6914 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 16:36:13 +0530 Subject: [PATCH 014/165] EgifterCheck-5 --- tests/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.js b/tests/test.js index 62183862..a009e570 100644 --- a/tests/test.js +++ b/tests/test.js @@ -114,3 +114,4 @@ async function startTest(gridUrl, capabilities, name) { } + From 17c028a4c07111503043bcdcdede3cea15b60da3 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 16:41:34 +0530 Subject: [PATCH 015/165] EgifterCheck-6 --- tests/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index a009e570..d7bb8ad1 100644 --- a/tests/test.js +++ b/tests/test.js @@ -38,7 +38,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build - "smartUI.build": "Github-build-1", + "smartUI.build": "Github-build-4", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, @@ -115,3 +115,4 @@ async function startTest(gridUrl, capabilities, name) { + From a86c1e52a81ae611243d918aaffced00f37c1e1f Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 17:10:43 +0530 Subject: [PATCH 016/165] EgifterCheck-7 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index d7bb8ad1..4c817968 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); let parallelCount = keys[2] || 1; let tunnel = keys[3] || false; - let platform = keys[4] || "Windows 11"; + let platform = keys[4] || "Windows 10"; let browserName = keys[5] || "chrome"; let version = keys[6] || "latest"; From e3329f5a829813d2690caf15689bdf851736aede Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 17:37:22 +0530 Subject: [PATCH 017/165] EgifterCheck-8 --- tests/test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 4c817968..9a7b0907 100644 --- a/tests/test.js +++ b/tests/test.js @@ -38,7 +38,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build - "smartUI.build": "Github-build-4", + "smartUI.build": "Github-build-5", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, @@ -89,7 +89,11 @@ async function startTest(gridUrl, capabilities, name) { setTimeout(function () { console.log("taking screenshot ...") // driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { - driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { + // driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { + driver.executeScript("smartui.fetchScreenshotStatus=S-1").then(out => { + + + // driver.executeScript(`smartui.takeFullPageScreenshot=S-1`).then(out => { console.log("RESPONSE :", out) return From 0e3cf444996fad2e12949366764786d3f6a98e2b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 17:44:54 +0530 Subject: [PATCH 018/165] EgifterCheck-9 --- tests/test.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/test.js b/tests/test.js index 9a7b0907..a3a12bf8 100644 --- a/tests/test.js +++ b/tests/test.js @@ -38,7 +38,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: platform + browserName + version, // name of the build - "smartUI.build": "Github-build-5", + "smartUI.build": "Github-build-6", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, @@ -90,10 +90,7 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot ...") // driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { // driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { - driver.executeScript("smartui.fetchScreenshotStatus=S-1").then(out => { - - - + driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { // driver.executeScript(`smartui.takeFullPageScreenshot=S-1`).then(out => { console.log("RESPONSE :", out) return From 880d13a75425e8c8c969d5334a1e145fc02ee60e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 17:51:36 +0530 Subject: [PATCH 019/165] EgifterCheck-10 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index a3a12bf8..f75ac6f1 100644 --- a/tests/test.js +++ b/tests/test.js @@ -89,8 +89,8 @@ async function startTest(gridUrl, capabilities, name) { setTimeout(function () { console.log("taking screenshot ...") // driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { - // driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { - driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { + driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=S-1`); // driver.executeScript(`smartui.takeFullPageScreenshot=S-1`).then(out => { console.log("RESPONSE :", out) return From caf212d2ee1afd506e086f3d88f166528165cdeb Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 18:06:57 +0530 Subject: [PATCH 020/165] EgifterCheck-11 --- tests/test.js | 148 ++++++++++++++++++++++++++------------------------ 1 file changed, 77 insertions(+), 71 deletions(-) diff --git a/tests/test.js b/tests/test.js index f75ac6f1..2529fbbd 100644 --- a/tests/test.js +++ b/tests/test.js @@ -1,34 +1,33 @@ const webdriver = require("selenium-webdriver"); const By = webdriver.By; -var moment = require("moment"); -var waitTime = 2 // 2 seconds +const moment = require("moment"); + +const waitTime = 2; // 2 seconds // username: Username can be found at automation dashboard // const USERNAME = process.env.LT_USERNAME || "haiderk"; -// // AccessKey: AccessKey can be generated from automation dashboard or profile section +// AccessKey: AccessKey can be generated from automation dashboard or profile section // const KEY = process.env.LT_ACCESS_KEY || "i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R"; - // gridUrl: gridUrl can be found at automation dashboard -// const GRID_HOST = -// process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub +// const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub" -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub" +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { - var keys = process.argv; + const keys = process.argv; console.log(keys); - let parallelCount = keys[2] || 1; - let tunnel = keys[3] || false; - let platform = keys[4] || "Windows 10"; - let browserName = keys[5] || "chrome"; - let version = keys[6] || "latest"; + const parallelCount = keys[2] || 1; + const tunnel = keys[3] || false; + const platform = keys[4] || "Windows 10"; + const browserName = keys[5] || "chrome"; + const version = keys[6] || "latest"; // Setup Input capabilities - let capabilities = { + const capabilities = { platform: platform, browserName: browserName, version: version, @@ -37,7 +36,7 @@ async function searchTextOnGoogle() { user: process.env.LT_USERNAME, accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test - build: platform + browserName + version, // name of the build + build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "Github-build-6", "smartUI.project": "Egifter-integration-testing", github: { @@ -49,71 +48,78 @@ async function searchTextOnGoogle() { capabilities.tunnel = true; } - var gridUrl = GRID_URL; - console.log("gridUrl : ", gridUrl); - console.log("GITHUB_REPOSITORY : ", process.env.GITHUB_REPOSITORY); + console.log("gridUrl: ", GRID_URL); + console.log("GITHUB_REPOSITORY: ", process.env.GITHUB_REPOSITORY); console.log(capabilities); - console.log("Running " + parallelCount + " parallel tests "); - let i = 1; - for (i = 1; i <= parallelCount; i++) { - startTest(gridUrl, capabilities, "Test " + i); + console.log(`Running ${parallelCount} parallel tests`); + + for (let i = 1; i <= parallelCount; i++) { + startTest(GRID_URL, capabilities, `Test ${i}`); } } -searchTextOnGoogle(); - async function startTest(gridUrl, capabilities, name) { - const caps = capabilities; - var start_date = moment(); - - const driver = await new webdriver.Builder() - .usingServer(gridUrl) - .withCapabilities(caps) - .build(); - - var end_date = moment(); - var duration = moment.duration(end_date.diff(start_date)); - console.log(caps.name, " : Setup Time :", duration.asSeconds()); - - // navigate to a url - let url = "https://www.lambdatest.com"; - url = "https://www.lambdatest.com/enterprise"; - console.log(url); - await driver - .get(url) - .then(function () { - const session = driver.getSession(); - - // For Smartui TakeScreenshot - setTimeout(function () { - console.log("taking screenshot ...") - // driver.executeScript(`smartui.takeScreenshot,{"screenshotName":"sample-screenshot"}`).then(out => { - driver.executeScript(`smartui.takeScreenshot=S-1`).then(out => { - driver.executeScript(`smartui.fetchScreenshotStatus=S-1`); - // driver.executeScript(`smartui.takeFullPageScreenshot=S-1`).then(out => { - console.log("RESPONSE :", out) - return + const caps = { ...capabilities, name }; + + try { + const start_date = moment(); + + const driver = await new webdriver.Builder() + .usingServer(gridUrl) + .withCapabilities(caps) + .build(); + + const end_date = moment(); + const duration = moment.duration(end_date.diff(start_date)); + console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); + + const url = "https://www.lambdatest.com/enterprise"; + console.log(url); + await driver.get(url); + + console.log("taking screenshot ..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { + sleep(4000); + driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); }); - }, waitTime * 1000); - + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); - driver.getTitle().then(function (title) { - setTimeout(function () { - driver.executeScript("lambda-status=passed"); + driver.getTitle().then(function (title) { + console.log("Title:", title); + setTimeout(function () { + driver.executeScript("lambda-status=passed").then(() => { + driver.quit(); + }).catch(err => { + console.error("Error setting lambda status to passed:", err); driver.quit(); - }, 15000); + }); + }, 15000); + }).catch(err => { + console.error("Error getting title:", err); + driver.executeScript("lambda-status=failed").then(() => { + driver.quit(); + }).catch(scriptError => { + console.error("Failed to set lambda status:", scriptError); + driver.quit(); }); - }) - .catch(function (err) { - error = JSON.stringify(err); - console.log(error); - console.log("test failed with reason " + err); - driver.executeScript("lambda-status=failed"); - driver.quit(); }); + } catch (err) { + console.error("Test failed with reason:", err); + try { + await driver.executeScript("lambda-status=failed"); + } catch (scriptError) { + console.error("Failed to set lambda status:", scriptError); + } + await driver.quit(); + } } - - - +searchTextOnGoogle(); From 64eabfedb06be422523f3ebba39ee4f12684c5f3 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 18:12:30 +0530 Subject: [PATCH 021/165] EgifterCheck-12 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 2529fbbd..a4db46e2 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-6", + // "smartUI.build": "Github-build-6", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From 63401eb28069ae80e737f809a832320166f2d7e4 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 18:15:14 +0530 Subject: [PATCH 022/165] EgifterCheck-13 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index a4db46e2..4a352675 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "Github-build-6", + "smartUI.build": "Github-build-6", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From dcea9c1d34c4c4787ab9e9183567cbbf5a03d344 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 18:50:30 +0530 Subject: [PATCH 023/165] EgifterCheck-14 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 4a352675..bea09dc9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-6", + "smartUI.build": "Github-build-7", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From 48c04bf67004c4acbde1d4ad2b1faf17ad7317d8 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 19:05:49 +0530 Subject: [PATCH 024/165] EgifterCheck-15 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index bea09dc9..518a6d5e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-7", + "smartUI.build": "Github-build-8", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From 3861cc16d1196d5cf0f743c2bca71f6cba664c56 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 19:23:20 +0530 Subject: [PATCH 025/165] EgifterCheck-16 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 518a6d5e..f4940820 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,8 +14,8 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-8", + "smartUI.build": "Github-build-1", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From 362df3042716db19abfc039af1e5181b3225994d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 19:24:48 +0530 Subject: [PATCH 026/165] EgifterCheck-17 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index f4940820..e709cc88 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 006993ddeb5737b162fc970561f19f2693746e49 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 19:29:43 +0530 Subject: [PATCH 027/165] EgifterCheck-18 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index e709cc88..dbf23a1c 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-1", + "smartUI.build": "Github-build-2", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From 5d312855dedca6794a688e91e1162cdebfc3564b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 19:36:45 +0530 Subject: [PATCH 028/165] EgifterCheck-17 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index dbf23a1c..1851e80e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-2", + "smartUI.build": "Github-build-3", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From 0f88c70ec3c983a005bb1cbc2892d9ed5479a5f1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 19:39:31 +0530 Subject: [PATCH 029/165] EgifterCheck-18 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 1851e80e..4535eddb 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 1eb93b7bd64d2eb6e460109139c05f30273dac18 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 23:06:56 +0530 Subject: [PATCH 030/165] EgifterCheck-19 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index 4535eddb..17cf1327 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,15 +14,15 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-3", + "smartUI.build": "Github-build-9", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From b90198bdd63126e2c68e622baad0e84e35b7cf75 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 23:12:55 +0530 Subject: [PATCH 031/165] EgifterCheck-20 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 17cf1327..7b0fd00f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 4cb04c27408456aabfa2b1bf0617669f744242ce Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 18 Jul 2024 23:42:37 +0530 Subject: [PATCH 032/165] EgifterCheck-21 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 7b0fd00f..77dd014f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 8"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 3761ee2f40c72ee944951282077c5aba8d9379c5 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 15:36:07 +0530 Subject: [PATCH 033/165] EgifterCheck-22 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 77dd014f..6380fe91 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 8"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-9", + "smartUI.build": "Github-build-10", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From fbddf26adead63497b24b6bf13652094dba7cb5c Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 15:46:06 +0530 Subject: [PATCH 034/165] EgifterCheck-23 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 6380fe91..92737cdf 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 2f7fac77faec26f637a42b74761651f52f003b3f Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 15:52:05 +0530 Subject: [PATCH 035/165] EgifterCheck-24 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 92737cdf..535249cf 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-10", + "smartUI.build": "Github-build-11", "smartUI.project": "Egifter-integration-testing", github: { url: process.env.GITHUB_URL, From a1ded71d5939b6956401223884ca6f741d30d44f Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 15:55:33 +0530 Subject: [PATCH 036/165] EgifterCheck-25 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 535249cf..c671b9ea 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From f9f323172156fde9573f429eaf53217dba7be61d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 16:06:49 +0530 Subject: [PATCH 037/165] EgifterCheck-26 --- tests/test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index c671b9ea..48b2bf1c 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -38,7 +38,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "Github-build-11", - "smartUI.project": "Egifter-integration-testing", + "smartUI.project": "Gethealthie-integration-testing", github: { url: process.env.GITHUB_URL, }, @@ -74,7 +74,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/enterprise"; + // const url = "https://www.lambdatest.com/enterprise"; + const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); From c879286eb7654859291fd7816aad8dd3701d788a Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 16:10:16 +0530 Subject: [PATCH 038/165] GethealthieCheck-1 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 48b2bf1c..81c86868 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-build-11", + "smartUI.build": "Github-baseline", "smartUI.project": "Gethealthie-integration-testing", github: { url: process.env.GITHUB_URL, From f7ec1afdc6a5c414fcef61f788198e7216c28b7e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 16:12:54 +0530 Subject: [PATCH 039/165] GethealthieCheck-2 --- tests/test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 81c86868..bfcb0594 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-baseline", + "smartUI.build": "Github-NonBaseline-1", "smartUI.project": "Gethealthie-integration-testing", github: { url: process.env.GITHUB_URL, @@ -122,5 +122,4 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } - searchTextOnGoogle(); From 8b713fa692136bc3fe4f0030c2c53de048bd5563 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 16:16:21 +0530 Subject: [PATCH 040/165] GethealthieCheck-3 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index bfcb0594..6ff5861a 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-NonBaseline-1", + "smartUI.build": "Github-NonBaseline-2", "smartUI.project": "Gethealthie-integration-testing", github: { url: process.env.GITHUB_URL, From cc566d2b1a548e06022da7c4b192498168f42996 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 16:18:17 +0530 Subject: [PATCH 041/165] GethealthieCheck-4 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 6ff5861a..4c8ecf33 100644 --- a/tests/test.js +++ b/tests/test.js @@ -83,7 +83,7 @@ async function startTest(gridUrl, capabilities, name) { setTimeout(() => { driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { console.log("response:", out); }).catch(err => { console.error("Error fetching screenshot status:", err); From f8925817501ab282f7cd3549bedecde7491b5b4f Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 19 Jul 2024 16:20:03 +0530 Subject: [PATCH 042/165] GethealthieCheck-5 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 4c8ecf33..15420335 100644 --- a/tests/test.js +++ b/tests/test.js @@ -81,7 +81,7 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot ..."); setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { + driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { sleep(4000); driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { console.log("response:", out); From 6d40406645f8dc62265b99754a2f24722ae74e58 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:01:26 +0530 Subject: [PATCH 043/165] Gethealthie-1 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index 15420335..31993058 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,8 +37,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-NonBaseline-2", - "smartUI.project": "Gethealthie-integration-testing", + "smartUI.build": "Github-Test-1", + "smartUI.project": "Gethealthie-integration", github: { url: process.env.GITHUB_URL, }, @@ -81,9 +81,9 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot ..."); setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { + driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { console.log("response:", out); }).catch(err => { console.error("Error fetching screenshot status:", err); From fb4e2599ca63a8ffab1af29da93fc5e7ba7f9b27 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:03:27 +0530 Subject: [PATCH 044/165] Gethealthie-2 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 31993058..a95d2306 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-1", + "smartUI.build": "Github-Test-2", "smartUI.project": "Gethealthie-integration", github: { url: process.env.GITHUB_URL, From 19dfc215b1a9e82af611363331dbb72daed7db04 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:06:39 +0530 Subject: [PATCH 045/165] Gethealthie-3 --- tests/test.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index a95d2306..813888f6 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-2", + "smartUI.build": "Github-Test-3", "smartUI.project": "Gethealthie-integration", github: { url: process.env.GITHUB_URL, @@ -93,6 +93,20 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); + console.log("taking screenshot 2..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { + sleep(4000); + driver.executeScript(`smartui.fetchScreenshotStatus=S-12`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 25b1e1ee91dcd88c695df02d5b06668c4af8ed32 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:11:37 +0530 Subject: [PATCH 046/165] Gethealthie-4 --- tests/test.js | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 813888f6..dd0eb019 100644 --- a/tests/test.js +++ b/tests/test.js @@ -106,7 +106,35 @@ async function startTest(gridUrl, capabilities, name) { console.error("Error taking screenshot:", err); }); }, waitTime * 1000); - + + console.log("taking screenshot 3..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-3`).then(() => { + sleep(4000); + driver.executeScript(`smartui.fetchScreenshotStatus=S-3`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + + console.log("taking screenshot 4..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-3`).then(() => { + sleep(4000); + driver.executeScript(`smartui.fetchScreenshotStatus=S-4`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 7b8bacae67d04283d288d918938e01dfb310f863 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:20:45 +0530 Subject: [PATCH 047/165] Gethealthie-5 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index dd0eb019..334d3ab8 100644 --- a/tests/test.js +++ b/tests/test.js @@ -97,7 +97,7 @@ async function startTest(gridUrl, capabilities, name) { setTimeout(() => { driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-12`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { console.log("response:", out); }).catch(err => { console.error("Error fetching screenshot status:", err); @@ -123,7 +123,7 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot 4..."); setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-3`).then(() => { + driver.executeScript(`smartui.takeScreenshot=S-4`).then(() => { sleep(4000); driver.executeScript(`smartui.fetchScreenshotStatus=S-4`).then(out => { console.log("response:", out); From e0dba768af622bf832a33ed7ebf934285b823742 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:21:47 +0530 Subject: [PATCH 048/165] Gethealthie-6 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 334d3ab8..bfa1ae9e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-3", + "smartUI.build": "Github-Test-4", "smartUI.project": "Gethealthie-integration", github: { url: process.env.GITHUB_URL, From d136d0269bc072c26d960054c78bc0f5bb9eac8b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:31:14 +0530 Subject: [PATCH 049/165] Gethealthie-7 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index bfa1ae9e..a8062ca4 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,7 +75,7 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/enterprise"; - const url = "https://www.flipkart.com/"; + const url = "https://www.lambdatest.com/"; console.log(url); await driver.get(url); From 765e8ec2d1e6dd679646ef738615f573d5ba73a1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 19:35:13 +0530 Subject: [PATCH 050/165] Gethealthie-8 --- tests/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test.js b/tests/test.js index a8062ca4..1b532786 100644 --- a/tests/test.js +++ b/tests/test.js @@ -165,3 +165,5 @@ async function startTest(gridUrl, capabilities, name) { } } searchTextOnGoogle(); + + From d3f54dc9ad46f9391e4699a0dee8123bed5925b4 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:15:35 +0530 Subject: [PATCH 051/165] Gethealthie-9 --- tests/test.js | 46 ++-------------------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git a/tests/test.js b/tests/test.js index 1b532786..4ebf643a 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,8 +37,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-4", - "smartUI.project": "Gethealthie-integration", + "smartUI.build": "Github-Test-1", + "smartUI.project": "Gethealthie-integration-1", github: { url: process.env.GITHUB_URL, }, @@ -93,48 +93,6 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); - console.log("taking screenshot 2..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { - sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); - - console.log("taking screenshot 3..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-3`).then(() => { - sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-3`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); - - console.log("taking screenshot 4..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-4`).then(() => { - sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-4`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); - driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 3c89267b829336d5454340b84a7719bf1bf69de2 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:18:18 +0530 Subject: [PATCH 052/165] Gethealthie-10 --- tests/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test.js b/tests/test.js index 4ebf643a..065781ef 100644 --- a/tests/test.js +++ b/tests/test.js @@ -125,3 +125,5 @@ async function startTest(gridUrl, capabilities, name) { searchTextOnGoogle(); + + From 180fd96d37d724fe82494e6cc42e45546a932ecd Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:19:53 +0530 Subject: [PATCH 053/165] Gethealthie-11 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 065781ef..7970fd9b 100644 --- a/tests/test.js +++ b/tests/test.js @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-1", + "smartUI.build": "Github-Test-2", "smartUI.project": "Gethealthie-integration-1", github: { url: process.env.GITHUB_URL, From 31db7d34dfc2f08545bac2e6d67f65e9ac7654bf Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:27:54 +0530 Subject: [PATCH 054/165] Gethealthie-12 --- tests/test.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 7970fd9b..883bc78e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -37,7 +37,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-2", + "smartUI.build": "Github-Test-3", "smartUI.project": "Gethealthie-integration-1", github: { url: process.env.GITHUB_URL, @@ -93,6 +93,20 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); + console.log("taking screenshot 2..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { + sleep(4000); + driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 30c9b2e1ec38769e8a9306e15c57b6f9b2d58472 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:39:07 +0530 Subject: [PATCH 055/165] Gethealthie-13 --- tests/test.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/test.js b/tests/test.js index 883bc78e..8a154038 100644 --- a/tests/test.js +++ b/tests/test.js @@ -93,19 +93,6 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); - console.log("taking screenshot 2..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { - sleep(4000); - driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); driver.getTitle().then(function (title) { console.log("Title:", title); From 786480a8e3b39e3217ca9bc5912f24e53448d1aa Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:42:11 +0530 Subject: [PATCH 056/165] Web-1 --- tests/test.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/test.js b/tests/test.js index 8a154038..872d75c9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -37,8 +37,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "Github-Test-3", - "smartUI.project": "Gethealthie-integration-1", + // "smartUI.build": "Github-Test-3", + "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, }, @@ -75,7 +75,7 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/enterprise"; - const url = "https://www.lambdatest.com/"; + const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); @@ -93,7 +93,6 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); - driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 453d58245c5b4158c3f23d73254f5e7171a8b4b6 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:48:08 +0530 Subject: [PATCH 057/165] Web-2 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 872d75c9..ef9e4559 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 7d67b54d0a391672bade959205a06cd51ea66089 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:54:33 +0530 Subject: [PATCH 058/165] Web-3 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index ef9e4559..5f06418f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Win11"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From b6c93e78bd2df08fae98cdabc3ef9148e1b1901e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:57:09 +0530 Subject: [PATCH 059/165] Web-4 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 5f06418f..872d75c9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Win11"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 5ee48586f5846da00b972cabb8d516a1346ba0f5 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 22 Jul 2024 23:58:36 +0530 Subject: [PATCH 060/165] Web-5 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 872d75c9..d064224c 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 8"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From bcdcc4b7d77e218b974ab70536d0f77a3ad2bcb2 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 00:07:46 +0530 Subject: [PATCH 061/165] Web-6 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index d064224c..872d75c9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -22,7 +22,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 8"; + const platform = keys[4] || "Windows 10"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From 587799f30b47655d98ca7abc3d9dabb92cf5e4e1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 00:12:11 +0530 Subject: [PATCH 062/165] Web-6 --- tests/test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 872d75c9..3f3267a9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,7 +14,8 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { @@ -38,7 +39,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "Github-Test-3", - "smartUI.project": "Gethealthie-integration-2", + "smartUI.project": "Gethealthie-integration", github: { url: process.env.GITHUB_URL, }, From 2dabfb72fc6f490f3ec05edbbedee74d66be85f6 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 00:15:16 +0530 Subject: [PATCH 063/165] Web-7 --- tests/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test.js b/tests/test.js index 3f3267a9..00f7589a 100644 --- a/tests/test.js +++ b/tests/test.js @@ -128,3 +128,5 @@ searchTextOnGoogle(); + + From 9a3be77d5dab4d6eee70b5e88f7e95caf8aab97a Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 01:34:04 +0530 Subject: [PATCH 064/165] Web-8 --- tests/test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 00f7589a..d002c80c 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,8 +23,9 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; - const browserName = keys[5] || "chrome"; + // const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "bigsur"; + const browserName = keys[5] || "safari"; const version = keys[6] || "latest"; // Setup Input capabilities From 6703bbbaff05aff01ee51e5756bc629404442349 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 01:38:18 +0530 Subject: [PATCH 065/165] Web-9 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index d002c80c..3ea868b8 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,8 +14,8 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { From 2354663177c82ece91ed251c7d483f94208ad195 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 01:56:42 +0530 Subject: [PATCH 066/165] Web-10 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 3ea868b8..1ee034a1 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,9 +23,9 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - // const platform = keys[4] || "Windows 10"; - const platform = keys[4] || "bigsur"; - const browserName = keys[5] || "safari"; + const platform = keys[4] || "Windows 10"; + // const platform = keys[4] || "bigsur"; + const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; // Setup Input capabilities From b7b21ca06e8476646e13e70aff3c42b87f6b9106 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 02:11:12 +0530 Subject: [PATCH 067/165] Web-12 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 1ee034a1..4b63b8db 100644 --- a/tests/test.js +++ b/tests/test.js @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "Github-Test-3", - "smartUI.project": "Gethealthie-integration", + "smartUI.project": "Gethealthie-integration-3", github: { url: process.env.GITHUB_URL, }, From 90a94d177b9ead9886fc36ad87bd74bc5adf90be Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 02:12:45 +0530 Subject: [PATCH 068/165] Web-13 --- tests/test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.js b/tests/test.js index 4b63b8db..14658147 100644 --- a/tests/test.js +++ b/tests/test.js @@ -131,3 +131,7 @@ searchTextOnGoogle(); + + + + From dfa6bc8e2f502cd73fab71b70b622f1294501509 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 02:39:05 +0530 Subject: [PATCH 069/165] Web-14 --- tests/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.js b/tests/test.js index 14658147..68fe4a56 100644 --- a/tests/test.js +++ b/tests/test.js @@ -124,6 +124,7 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } + searchTextOnGoogle(); From 047141afb4e19d23a8ae63044f5f4c48f5fbb849 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 02:47:49 +0530 Subject: [PATCH 070/165] Web-15 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 68fe4a56..765637a3 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,8 +14,8 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "Github-Test-3", - "smartUI.project": "Gethealthie-integration-3", + "smartUI.project": "Gethealthie-integration", github: { url: process.env.GITHUB_URL, }, From c1cea9cbfa791a82c38eed22124d12f08f26f269 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 02:57:09 +0530 Subject: [PATCH 071/165] Web-16 --- tests/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.js b/tests/test.js index 765637a3..a6bbcdfb 100644 --- a/tests/test.js +++ b/tests/test.js @@ -46,6 +46,7 @@ async function searchTextOnGoogle() { }, }; + if (tunnel === "true") { capabilities.tunnel = true; } From 7d0fe36b7c037be6eb8f8c92e8504d7405b33af3 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 03:00:56 +0530 Subject: [PATCH 072/165] Web-17 --- tests/test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index a6bbcdfb..8e65848f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -45,8 +45,6 @@ async function searchTextOnGoogle() { url: process.env.GITHUB_URL, }, }; - - if (tunnel === "true") { capabilities.tunnel = true; } From 61be5c7925aff1e921c0407f03c98bac98015d1a Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 12:50:02 +0530 Subject: [PATCH 073/165] Web-18 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 8e65848f..b21e02bc 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "Github-Test-3", - "smartUI.project": "Gethealthie-integration", + "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, }, From e3745a63cd88990f81c6d9290d900633f84fbf02 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 12:53:00 +0530 Subject: [PATCH 074/165] Web-19 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index b21e02bc..cc50c607 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,8 +14,8 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { @@ -83,7 +83,7 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot ..."); setTimeout(() => { driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { - sleep(4000); + driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { console.log("response:", out); }).catch(err => { From b05cadb9bae9925513ddd4ea773198bdef904b41 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 13:20:47 +0530 Subject: [PATCH 075/165] Web-20 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index cc50c607..44e2d353 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "Github-Test-3", + "smartUI.build": "smartui-c2eda72eb8", "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, From e074914371fb3a7c73ec7845a06901f86613a858 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 13:23:08 +0530 Subject: [PATCH 076/165] Web-21 --- tests/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.js b/tests/test.js index 44e2d353..e3240fe7 100644 --- a/tests/test.js +++ b/tests/test.js @@ -80,6 +80,7 @@ async function startTest(gridUrl, capabilities, name) { console.log(url); await driver.get(url); + console.log("taking screenshot ..."); setTimeout(() => { driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { From 21a24adcaef5486fba1795900825d53459fb7626 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 13:29:48 +0530 Subject: [PATCH 077/165] Web-22 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index e3240fe7..6faa1600 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-c2eda72eb8", + "smartUI.build": "smartui-c5af03a757", "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, @@ -75,12 +75,12 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/enterprise"; - const url = "https://www.flipkart.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); - + console.log("taking screenshot ..."); setTimeout(() => { driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { From c72363db3ee674ed71d3c170d33de57244613204 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 13:32:02 +0530 Subject: [PATCH 078/165] Web-23 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 6faa1600..33d6255b 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.flipkart.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); From 704628720b0e0875a556ff70829015a8fe9f10ae Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 13:38:48 +0530 Subject: [PATCH 079/165] Web-24 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 33d6255b..497fa479 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); From e957970f9c6cbce56ea6b145eb18ca0419fad20e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 15:50:51 +0530 Subject: [PATCH 080/165] Web-25 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 497fa479..6e458685 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; From d4f60a8db772b4d9b2d0a85d1c869323ce6eb546 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 15:52:51 +0530 Subject: [PATCH 081/165] Web-26 --- tests/test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test.js b/tests/test.js index 6e458685..ef3cfc13 100644 --- a/tests/test.js +++ b/tests/test.js @@ -136,3 +136,6 @@ searchTextOnGoogle(); + + + From 32e265890e19e298fa1b7a9eb5820ab9d79d8671 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 15:56:50 +0530 Subject: [PATCH 082/165] Web-27 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index ef3cfc13..092b7662 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-c5af03a757", + // "smartUI.build": "smartui-c5af03a757", "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, From a5225dedb9b59c7aad44a98d37f38246df83abe5 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 15:59:01 +0530 Subject: [PATCH 083/165] Web-28 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 092b7662..7db203eb 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-c5af03a757", + "smartUI.build": "smartui-c5af03a757", "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.flipkart.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); From 96c6d43d55b8e5c0ff3edc0caeb4fb7bf7919cd1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:01:41 +0530 Subject: [PATCH 084/165] Web-29 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 7db203eb..b02274b6 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-c5af03a757", + "smartUI.build": "smartui-0ddffba7d0", "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, From 54ed9489febf82fdd7ace127fb8bd6d25532850e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:03:39 +0530 Subject: [PATCH 085/165] Web-30 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index b02274b6..b6e8ad96 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-0ddffba7d0", + "smartUI.build": "smartui-c5af03a757", "smartUI.project": "Gethealthie-integration-2", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); From 26d0d3e7c51ae8e6f398af8e9baf6409aaf4cf55 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:14:58 +0530 Subject: [PATCH 086/165] Web-31 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index b6e8ad96..e8f65c1f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-c5af03a757", - "smartUI.project": "Gethealthie-integration-2", + // "smartUI.build": "smartui-c5af03a757", + "smartUI.project": "Gethealthie-integration-3", github: { url: process.env.GITHUB_URL, }, From c234a35305cf88b0d3ebea3ea2be03e530dc2944 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:17:15 +0530 Subject: [PATCH 087/165] Web-32 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index e8f65c1f..74fd9c6f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-c5af03a757", + "smartUI.build": "smartui-877c5c97b8", "smartUI.project": "Gethealthie-integration-3", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.flipkart.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.flipkart.com/"; console.log(url); await driver.get(url); From 52accc8ece4c61ca3c838ffaa41c1c29cf61bcd3 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:19:22 +0530 Subject: [PATCH 088/165] Web-33 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index 74fd9c6f..3519c2ea 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-877c5c97b8", + // "smartUI.build": "smartui-877c5c97b8", "smartUI.project": "Gethealthie-integration-3", github: { url: process.env.GITHUB_URL, @@ -76,7 +76,7 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; + const url = "https://www.apple.com/"; console.log(url); await driver.get(url); From 7f186954c5a812451fe2e9652165d8498078eb1c Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:20:21 +0530 Subject: [PATCH 089/165] Web-34 --- tests/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.js b/tests/test.js index 3519c2ea..cdc14751 100644 --- a/tests/test.js +++ b/tests/test.js @@ -80,6 +80,7 @@ async function startTest(gridUrl, capabilities, name) { console.log(url); await driver.get(url); + console.log("taking screenshot ..."); setTimeout(() => { From 5b0761b7c26a1a106b56131da6f530b84f850f51 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:21:53 +0530 Subject: [PATCH 090/165] Web-35 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index cdc14751..821a7e19 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,12 +75,12 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.apple.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.apple.com/"; console.log(url); await driver.get(url); - + console.log("taking screenshot ..."); setTimeout(() => { From a401d5ef562d4dcb79617601ee5891c9ebdae4f3 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:23:51 +0530 Subject: [PATCH 091/165] Web-36 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 821a7e19..f5b063d1 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-877c5c97b8", + "smartUI.build": "smartui-99e5751623", "smartUI.project": "Gethealthie-integration-3", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.apple.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.apple.com/"; console.log(url); await driver.get(url); From 5e6bb4ac2698665e9a03dcdadbd2258bfe95d7a4 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 16:26:19 +0530 Subject: [PATCH 092/165] Web-37 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index f5b063d1..067d2600 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -76,7 +76,7 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.apple.com/"; + const url = "https://www.google.com/"; console.log(url); await driver.get(url); From 3dbf04c9a6e3f3b4124c9ff4d2d6d212183ed953 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:17:56 +0530 Subject: [PATCH 093/165] Web-38 --- tests/test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test.js b/tests/test.js index 067d2600..d9b48e13 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,16 +14,16 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "smartui-99e5751623", - "smartUI.project": "Gethealthie-integration-3", + "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, }, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.google.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.google.com/"; console.log(url); await driver.get(url); From e1104983219589b43f03dae31953381c2a51772e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:19:22 +0530 Subject: [PATCH 094/165] Web-39 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index d9b48e13..7c394fc0 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-99e5751623", + // "smartUI.build": "smartui-99e5751623", "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.google.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.google.com/"; console.log(url); await driver.get(url); From 18b855f62d0b6bc15dbf9f99610bc2db4e98b174 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:21:14 +0530 Subject: [PATCH 095/165] Web-40 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 7c394fc0..021c9fc8 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-99e5751623", + "smartUI.build": "smartui-99e5751623", "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, From 0ab0a74e0b568f6d637bd681f30a5265fef7b256 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:22:31 +0530 Subject: [PATCH 096/165] Web-41 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 021c9fc8..d9b48e13 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.google.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.google.com/"; console.log(url); await driver.get(url); From 1f61958bfcecc14d1ad50f74b4e80e718f939d88 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:34:20 +0530 Subject: [PATCH 097/165] Web-42 --- tests/test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index d9b48e13..5be309b8 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-99e5751623", + // "smartUI.build": "smartui-99e5751623", "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,10 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; + // const url = "https://www.lambdatest.com/"; // const url = "https://www.google.com/"; + const url = "https://www.samsung.com/"; + console.log(url); await driver.get(url); From 0e56fdcc4a3be234ac790ecb13eef0c07ee97682 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:38:37 +0530 Subject: [PATCH 098/165] Web-43 --- tests/test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test.js b/tests/test.js index 5be309b8..babdde2e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "smartui-99e5751623", - "smartUI.project": "MergeBaseline", + "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, }, @@ -75,9 +75,9 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; + const url = "https://www.lambdatest.com/"; // const url = "https://www.google.com/"; - const url = "https://www.samsung.com/"; + // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From 47e0a0b2fc173b2120e22c11def9509cb21b4759 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:40:41 +0530 Subject: [PATCH 099/165] Web-44 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index babdde2e..d925e1c9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.google.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.google.com/"; // const url = "https://www.samsung.com/"; console.log(url); From 58b138938857093806c5736b15e5ae7174978e7d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:44:35 +0530 Subject: [PATCH 100/165] Web-45 --- tests/test.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test.js b/tests/test.js index d925e1c9..bfc3ebc2 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-99e5751623", + "smartUI.build": "smartui-8bc0d04e00", "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, @@ -76,14 +76,12 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.google.com/"; - // const url = "https://www.samsung.com/"; + // const url = "https://www.google.com/"; + const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); - - console.log("taking screenshot ..."); setTimeout(() => { driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { From 52b051777b55c6a330f09054904a22850d9c03f6 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:46:35 +0530 Subject: [PATCH 101/165] Web-46 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index bfc3ebc2..d0ba36cb 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-8bc0d04e00", + // "smartUI.build": "smartui-8bc0d04e00", "smartUI.project": "MergeBaseline", github: { url: process.env.GITHUB_URL, @@ -75,9 +75,9 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; + const url = "https://www.lambdatest.com/"; // const url = "https://www.google.com/"; - const url = "https://www.samsung.com/"; + // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From 5fa0140eb8c0b8fcb1781229da16e60ff5684814 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:49:14 +0530 Subject: [PATCH 102/165] Web-47 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index d0ba36cb..132a3067 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,16 +14,16 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "smartui-8bc0d04e00", - "smartUI.project": "MergeBaseline", + "smartUI.project": "MergeBaseline-1", github: { url: process.env.GITHUB_URL, }, From 22868301dc02d0571b9e8e64caa4b507c991dd6b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:51:20 +0530 Subject: [PATCH 103/165] Web-48 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 132a3067..f224b7c2 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.google.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.google.com/"; // const url = "https://www.samsung.com/"; console.log(url); From a87f5f0cc05f5da2d4573b96f918b341cd56a254 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 18:53:55 +0530 Subject: [PATCH 104/165] Web-49 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index f224b7c2..705a918e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-8bc0d04e00", + "smartUI.build": "smartui-58d80eed1a", "smartUI.project": "MergeBaseline-1", github: { url: process.env.GITHUB_URL, @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.google.com/"; - // const url = "https://www.samsung.com/"; + // const url = "https://www.google.com/"; + const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From 27bab8dc081b4724c99459879ed5fb69d77d3033 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:05:04 +0530 Subject: [PATCH 105/165] Web-50 --- tests/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 705a918e..fddef9cd 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-58d80eed1a", + // "smartUI.build": "smartui-58d80eed1a", "smartUI.project": "MergeBaseline-1", github: { url: process.env.GITHUB_URL, @@ -140,3 +140,4 @@ searchTextOnGoogle(); + From dbc5aeea29cb0d797630c0d0765ee74e7d5c338f Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:06:54 +0530 Subject: [PATCH 106/165] Web-51 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index fddef9cd..f98a274c 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,9 +75,9 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; + const url = "https://www.lambdatest.com/"; // const url = "https://www.google.com/"; - const url = "https://www.samsung.com/"; + // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From bb3f09dfe388d6d90a9f0dfb91ce3513766d25a0 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:36:27 +0530 Subject: [PATCH 107/165] DOT-3533-1 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index f98a274c..e7065ac2 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,16 +14,16 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 10"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "smartui-58d80eed1a", - "smartUI.project": "MergeBaseline-1", + "smartUI.project": "Egifter-DOT-3533", github: { url: process.env.GITHUB_URL, }, From c8c3461203f7551e54d73d5bf7570359bc71f975 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:38:19 +0530 Subject: [PATCH 108/165] DOT-3533-2 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index e7065ac2..d1792706 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 10"; + const platform = keys[4] || "Windows 11"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; From a13be8f75a9e0d8e606dfc4a48eba5e8b989f909 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:43:21 +0530 Subject: [PATCH 109/165] DOT-3533-3 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index d1792706..f34c547c 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 11"; + const platform = keys[4] || "Windows 8"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-58d80eed1a", + "smartUI.build": "smartui-37b388b661", "smartUI.project": "Egifter-DOT-3533", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.google.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.google.com/"; // const url = "https://www.samsung.com/"; console.log(url); From f32dd527641acbff5dc9e8851c9eb2c162c0b107 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:45:15 +0530 Subject: [PATCH 110/165] DOT-3533-4 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index f34c547c..7b67c93e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -23,7 +23,7 @@ async function searchTextOnGoogle() { console.log(keys); const parallelCount = keys[2] || 1; const tunnel = keys[3] || false; - const platform = keys[4] || "Windows 8"; + const platform = keys[4] || "Windows 10"; // const platform = keys[4] || "bigsur"; const browserName = keys[5] || "chrome"; const version = keys[6] || "latest"; @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-37b388b661", + "smartUI.build": "smartui-54fdc8d34b", "smartUI.project": "Egifter-DOT-3533", github: { url: process.env.GITHUB_URL, From 4b28eced127373c92b464484b52cf31d06b8d544 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:50:04 +0530 Subject: [PATCH 111/165] DOT-3533-5 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 7b67c93e..7bb027f0 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-54fdc8d34b", - "smartUI.project": "Egifter-DOT-3533", + // "smartUI.build": "smartui-54fdc8d34b", + "smartUI.project": "Gethealthie-DOT-3410", github: { url: process.env.GITHUB_URL, }, From 80927439e242ef09684250d16bec0d36e33b8d92 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:52:10 +0530 Subject: [PATCH 112/165] DOT-3533-6 --- tests/test.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 7bb027f0..8c6dfba6 100644 --- a/tests/test.js +++ b/tests/test.js @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.google.com/"; - // const url = "https://www.samsung.com/"; + // const url = "https://www.google.com/"; + const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); @@ -96,6 +96,20 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); + console.log("taking screenshot 2 ..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { + + driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 9c72f0adffc310256e03eaee0fb24aec08b33dd4 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 19:54:44 +0530 Subject: [PATCH 113/165] DOT-3533-7 --- tests/test.js | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 8c6dfba6..ce58f701 100644 --- a/tests/test.js +++ b/tests/test.js @@ -75,9 +75,9 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; + const url = "https://www.lambdatest.com/"; // const url = "https://www.google.com/"; - const url = "https://www.samsung.com/"; + // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); @@ -110,6 +110,34 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); + console.log("taking screenshot 3 ..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-3`).then(() => { + + driver.executeScript(`smartui.fetchScreenshotStatus=S-3`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + + console.log("taking screenshot 4 ..."); + setTimeout(() => { + driver.executeScript(`smartui.takeScreenshot=S-4`).then(() => { + + driver.executeScript(`smartui.fetchScreenshotStatus=S-4`).then(out => { + console.log("response:", out); + }).catch(err => { + console.error("Error fetching screenshot status:", err); + }); + }).catch(err => { + console.error("Error taking screenshot:", err); + }); + }, waitTime * 1000); + driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From a5a9703f9c8faaea961f3e07dbb368628111c4b2 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 20:00:06 +0530 Subject: [PATCH 114/165] DOT-3533-8 --- tests/test.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tests/test.js b/tests/test.js index ce58f701..9b871d50 100644 --- a/tests/test.js +++ b/tests/test.js @@ -124,19 +124,7 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); - console.log("taking screenshot 4 ..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-4`).then(() => { - - driver.executeScript(`smartui.fetchScreenshotStatus=S-4`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); + driver.getTitle().then(function (title) { console.log("Title:", title); From eebdfa30102317f766c07453691d042629a8c785 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 20:01:29 +0530 Subject: [PATCH 115/165] DOT-3533-9 --- tests/test.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/test.js b/tests/test.js index 9b871d50..bbe68e0d 100644 --- a/tests/test.js +++ b/tests/test.js @@ -110,19 +110,7 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); - console.log("taking screenshot 3 ..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-3`).then(() => { - driver.executeScript(`smartui.fetchScreenshotStatus=S-3`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); From 6d0ae49496761a26141957c33ae12032974f3c11 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 20:17:50 +0530 Subject: [PATCH 116/165] DOT-3533-9 --- tests/test.js | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/tests/test.js b/tests/test.js index bbe68e0d..9ff9e2fe 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-54fdc8d34b", - "smartUI.project": "Gethealthie-DOT-3410", + "smartUI.build": "smartui-54fdc8d34b", + "smartUI.project": "Gethealthie-DOT-3410-1", github: { url: process.env.GITHUB_URL, }, @@ -95,23 +95,6 @@ async function startTest(gridUrl, capabilities, name) { console.error("Error taking screenshot:", err); }); }, waitTime * 1000); - - console.log("taking screenshot 2 ..."); - setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-2`).then(() => { - - driver.executeScript(`smartui.fetchScreenshotStatus=S-2`).then(out => { - console.log("response:", out); - }).catch(err => { - console.error("Error fetching screenshot status:", err); - }); - }).catch(err => { - console.error("Error taking screenshot:", err); - }); - }, waitTime * 1000); - - - driver.getTitle().then(function (title) { From ea0f6b19d61227573046ee6dfbb07d56c88972fa Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 20:19:37 +0530 Subject: [PATCH 117/165] DOT-3533-11 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 9ff9e2fe..99d42c71 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-54fdc8d34b", + // "smartUI.build": "smartui-54fdc8d34b", "smartUI.project": "Gethealthie-DOT-3410-1", github: { url: process.env.GITHUB_URL, @@ -75,8 +75,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.google.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.google.com/"; // const url = "https://www.samsung.com/"; console.log(url); From 563c05217a5920c1d68a5d12091d6d75c31d0e3d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 23 Jul 2024 20:21:31 +0530 Subject: [PATCH 118/165] DOT-3533-12 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 99d42c71..3be8debf 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "smartui-54fdc8d34b", + "smartUI.build": "smartui-54fdc8d34b", "smartUI.project": "Gethealthie-DOT-3410-1", github: { url: process.env.GITHUB_URL, @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.google.com/"; - // const url = "https://www.samsung.com/"; + // const url = "https://www.google.com/"; + const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From f9b42ed6514bdcaf36777b336fed2be021ecb09b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 00:31:51 +0530 Subject: [PATCH 119/165] 07-08-24 | Commit-1 --- tests/test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test.js b/tests/test.js index 3be8debf..df11ddce 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "smartui-54fdc8d34b", - "smartUI.project": "Gethealthie-DOT-3410-1", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, }, @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - // const url = "https://www.google.com/"; - const url = "https://www.samsung.com/"; + const url = "https://www.flipkart.com/"; + // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From c075ca8fb6f3529ee358e7e721a28365572116cc Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 00:36:20 +0530 Subject: [PATCH 120/165] 07-08-24 | Commit-2 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index df11ddce..3c6cc2a5 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, From 7a35e9bc71545cce95f3cdb73fa7f70116e78c86 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 00:47:36 +0530 Subject: [PATCH 121/165] 07-08-24 | Commit-3 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 3c6cc2a5..aea12094 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, From bd2a94fafb92d0aac5dfaf514ba0fe2f895d269b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 01:49:16 +0530 Subject: [PATCH 122/165] 07-08-24 | Commit-4 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index aea12094..6c5895d9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; - // const url = "https://www.samsung.com/"; + // const url = "https://www.flipkart.com/"; + const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From 8680281f7d76c354653c9970c83c353ed7074906 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 01:52:19 +0530 Subject: [PATCH 123/165] 07-08-24 | Commit-5 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 6c5895d9..bb9c29cd 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, From ee9c889ef9b0ce35d20f6736586288f932022269 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 02:27:42 +0530 Subject: [PATCH 124/165] 07-08-24 | Commit-6 --- tests/test.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index bb9c29cd..732b9beb 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", + // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", + "smartUI.build": "!@#$%^&*()_+[]\{}|;':<>?,./", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, @@ -76,8 +77,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - // const url = "https://www.flipkart.com/"; - const url = "https://www.samsung.com/"; + const url = "https://www.flipkart.com/"; + // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); From 285e52c693052177b602588cab8b058145fb9684 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 02:30:18 +0530 Subject: [PATCH 125/165] 07-08-24 | Commit-7 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 732b9beb..3e53941d 100644 --- a/tests/test.js +++ b/tests/test.js @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", - "smartUI.build": "!@#$%^&*()_+[]\{}|;':<>?,./", + "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?,./", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, From 8979dc3ee369f8ea81b59577e454a3913affc74d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 02:57:43 +0530 Subject: [PATCH 126/165] 07-08-24 | Commit-8 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index 3e53941d..c3c725a2 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -85,9 +85,9 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot ..."); setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=S-1`).then(() => { + driver.executeScript(`smartui.takeScreenshot=@#$%^&*()_+[]\{}|;':<>`).then(() => { - driver.executeScript(`smartui.fetchScreenshotStatus=S-1`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=@#$%^&*()_+[]\{}|;':<>`).then(out => { console.log("response:", out); }).catch(err => { console.error("Error fetching screenshot status:", err); From 86b7995bace7e4aabe1a90b26d174229ea9e2f44 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 03:15:46 +0530 Subject: [PATCH 127/165] 07-08-24 | Commit-9 --- tests/test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index c3c725a2..1093a35f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -41,7 +41,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?,./", - "smartUI.project": "Gethealthie-Build_Issue", + "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, }, @@ -127,7 +127,6 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } - searchTextOnGoogle(); From 4872db1a35445eedc108af00cbfa74c211b4923d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 03:32:18 +0530 Subject: [PATCH 128/165] 07-08-24 | Commit-10 --- tests/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 1093a35f..d20a325f 100644 --- a/tests/test.js +++ b/tests/test.js @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", - "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?,./", + "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, @@ -127,6 +127,7 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } + searchTextOnGoogle(); From 3ab47d9d705579b630d34b2d074e85676631702e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 12:54:22 +0530 Subject: [PATCH 129/165] 07-08-24 | Commit-11 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index d20a325f..89b2095d 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770////", - "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + // "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", "smartUI.project": "Gethealthie-Build_Issue", github: { url: process.env.GITHUB_URL, From 95827bffa3a72fe5d6c3c48a48a5132e9cfac824 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 15:01:54 +0530 Subject: [PATCH 130/165] 07-08-24 | Commit-12 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 89b2095d..ec23b048 100644 --- a/tests/test.js +++ b/tests/test.js @@ -41,7 +41,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", // "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", - "smartUI.project": "Gethealthie-Build_Issue", + "smartUI.project": "Gethealthie-Build_Issue-1", github: { url: process.env.GITHUB_URL, }, From 72dbea1796bc09ac9112d87a1df3736a94b0503f Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 15:03:55 +0530 Subject: [PATCH 131/165] 07-08-24 | Commit-13 --- tests/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test.js b/tests/test.js index ec23b048..a4ee853e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -143,3 +143,5 @@ searchTextOnGoogle(); + + From 9f2170578198ce07810fe894dfde09fbac5b7bee Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 15:17:24 +0530 Subject: [PATCH 132/165] 07-08-24 | Commit-14 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index a4ee853e..a5d32660 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; From aa0257f26117dd97355cc54cfea965220fa1ca7a Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 15:19:45 +0530 Subject: [PATCH 133/165] 07-08-24 | Commit-15 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index a5d32660..eae1c051 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", // "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", "smartUI.project": "Gethealthie-Build_Issue-1", github: { @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.flipkart.com/"; // const url = "https://www.samsung.com/"; console.log(url); From 126ef5d52d89d743033c6b40e07b7b142d2359c9 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 15:38:40 +0530 Subject: [PATCH 134/165] 07-08-24 | Commit-16 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index eae1c051..5bbb7877 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", - // "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", + // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", + "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", "smartUI.project": "Gethealthie-Build_Issue-1", github: { url: process.env.GITHUB_URL, From 1a91a2a887e320a7931480957975bc21263ab4a5 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:10:12 +0530 Subject: [PATCH 135/165] 07-08-24 | Commit-17 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 5bbb7877..c84b8768 100644 --- a/tests/test.js +++ b/tests/test.js @@ -40,7 +40,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", - "smartUI.build": "Abc!@#$%^&*()_+[]\{}|;':<>?", + "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", "smartUI.project": "Gethealthie-Build_Issue-1", github: { url: process.env.GITHUB_URL, From 1301bc822306af3138d3c25b871f3ad1128b4af6 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:14:58 +0530 Subject: [PATCH 136/165] 07-08-24 | Commit-18 --- tests/test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test.js b/tests/test.js index c84b8768..cd983f49 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -39,9 +39,9 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770//", - "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Gethealthie-Build_Issue-1", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", + "smartUI.project": "Gethealthie-Build_Issue-2", github: { url: process.env.GITHUB_URL, }, From a1be1e7be8f58a48e8cca83d72c1e114569e75c5 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:17:13 +0530 Subject: [PATCH 137/165] 07-08-24 | Commit-19 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index cd983f49..e77b5ca0 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,7 +39,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", "smartUI.project": "Gethealthie-Build_Issue-2", github: { From 6dd20bfb15a0bcf37ebecbac18d40cf65004050a Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:27:55 +0530 Subject: [PATCH 138/165] 07-08-24 | Commit-20 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index e77b5ca0..ecfa01f1 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -41,7 +41,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Gethealthie-Build_Issue-2", + "smartUI.project": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", github: { url: process.env.GITHUB_URL, }, From 0b88b21c82eb88806a8105b7856eb28b8f5457c6 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:29:08 +0530 Subject: [PATCH 139/165] 07-08-24 | Commit-21 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index ecfa01f1..c8031449 100644 --- a/tests/test.js +++ b/tests/test.js @@ -41,7 +41,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", + "smartUI.project": "Abc!@#$%^&*()_+[]\{}|;':<>?", github: { url: process.env.GITHUB_URL, }, From c2da4ead876b7178ec61b4e471184203862f85a1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:31:28 +0530 Subject: [PATCH 140/165] 07-08-24 | Commit-22 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index c8031449..1e46cb24 100644 --- a/tests/test.js +++ b/tests/test.js @@ -41,7 +41,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Abc!@#$%^&*()_+[]\{}|;':<>?", + "smartUI.project": "Abc!@#$%^&*()_+[]\{}|;':<>?po", github: { url: process.env.GITHUB_URL, }, From d4119f32be14f667a1ec3bf8889154372dd5ed03 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:32:28 +0530 Subject: [PATCH 141/165] 07-08-24 | Commit-23 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 1e46cb24..a6a6b653 100644 --- a/tests/test.js +++ b/tests/test.js @@ -41,7 +41,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Abc!@#$%^&*()_+[]\{}|;':<>?po", + "smartUI.project": "dfghjkl", github: { url: process.env.GITHUB_URL, }, From aaf80e0f5faf862578abce416497a255944d0c3d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 16:33:37 +0530 Subject: [PATCH 142/165] 07-08-24 | Commit-24 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index a6a6b653..d91f7ea1 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,9 +39,9 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770///", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/////", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "dfghjkl", + "smartUI.project": "Gethealthie-Build_Issue-2", github: { url: process.env.GITHUB_URL, }, From 5a3b7e0a64c2ddddeefcd3e2f13cd25aa12d5a76 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 17:32:10 +0530 Subject: [PATCH 143/165] 07-08-24 | Commit-25 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index d91f7ea1..6457eaa5 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,7 +14,7 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; @@ -40,8 +40,8 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/////", - // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Gethealthie-Build_Issue-2", + "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", + // "smartUI.project": "Gethealthie-Build_Issue-2", github: { url: process.env.GITHUB_URL, }, From 65fd67b504752328f1e08d84ed89cb07e2f44e8d Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 17:38:05 +0530 Subject: [PATCH 144/165] 07-08-24 | Commit-26 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 6457eaa5..66ddd8db 100644 --- a/tests/test.js +++ b/tests/test.js @@ -16,7 +16,7 @@ const waitTime = 2; // 2 seconds // const GRID_URL = process.env.GRID_URL || "GRID_URL"; // const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; From 5c5eafa6dd06c1c35dda8797d973a8d86bb886ce Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 17:40:51 +0530 Subject: [PATCH 145/165] 07-08-24 | Commit-27 --- tests/test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test.js b/tests/test.js index 66ddd8db..5f103b2a 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,9 +39,9 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/////", + // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/////", "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - // "smartUI.project": "Gethealthie-Build_Issue-2", + "smartUI.project": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", github: { url: process.env.GITHUB_URL, }, @@ -76,8 +76,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.flipkart.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.flipkart.com/"; // const url = "https://www.samsung.com/"; console.log(url); From a853165486e572213063b63bdceb1406f03bbdec Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 19:49:28 +0530 Subject: [PATCH 146/165] 07-08-24 | Commit-28 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 5f103b2a..4952ae52 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,9 +14,9 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; From f1c30905b75dbabc529c48801b986ae013b9dcfb Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 20:26:38 +0530 Subject: [PATCH 147/165] prod | 07-08-24 | Commit-1 --- tests/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index 4952ae52..99334287 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,7 +14,7 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770/////", - "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", + "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", + // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", "smartUI.project": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", github: { url: process.env.GITHUB_URL, From 35bb363acdbe874b88d620c207adf8f76f07f985 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 20:28:05 +0530 Subject: [PATCH 148/165] prod | 07-08-24 | Commit-2 --- tests/test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 99334287..157998ba 100644 --- a/tests/test.js +++ b/tests/test.js @@ -16,7 +16,7 @@ const waitTime = 2; // 2 seconds // const GRID_URL = process.env.GRID_URL || "GRID_URL"; // const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; async function searchTextOnGoogle() { const keys = process.argv; @@ -45,6 +45,7 @@ async function searchTextOnGoogle() { github: { url: process.env.GITHUB_URL, }, + }; if (tunnel === "true") { capabilities.tunnel = true; From 092f276ef650241e57430604d2fc48577dc3f1e1 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 20:29:52 +0530 Subject: [PATCH 149/165] prod | 07-08-24 | Commit-3 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 157998ba..5e52a6df 100644 --- a/tests/test.js +++ b/tests/test.js @@ -41,11 +41,11 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", + "smartUI.project": "Abc!@#$%^&*()_+[abc]\{}|;':<>?", github: { url: process.env.GITHUB_URL, }, - + }; if (tunnel === "true") { capabilities.tunnel = true; From 7dd71f7d39110806e2f8a567eef8db39a047fa50 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Wed, 7 Aug 2024 20:33:21 +0530 Subject: [PATCH 150/165] prod | 07-08-24 | Commit-4 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 5e52a6df..a7247a32 100644 --- a/tests/test.js +++ b/tests/test.js @@ -39,8 +39,8 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770", - // "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", + // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ + "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", "smartUI.project": "Abc!@#$%^&*()_+[abc]\{}|;':<>?", github: { url: process.env.GITHUB_URL, From bc250d93a33e49c449598cd66bef5e9b5a143160 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Sat, 31 Aug 2024 14:32:31 +0530 Subject: [PATCH 151/165] grdp pr check 31-Aug --- tests/test.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index a7247a32..2f115b36 100644 --- a/tests/test.js +++ b/tests/test.js @@ -16,7 +16,9 @@ const waitTime = 2; // 2 seconds // const GRID_URL = process.env.GRID_URL || "GRID_URL"; // const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +// const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; +const GRID_URL = "https://ltgdprhak:1JF7nbtNVDTSFQdstywJQxVqaaIEX87sP7q7ghbFjwpcm5Kbgv@stage-hub-eu.lambdatestinternal.com/wd/hub"; + async function searchTextOnGoogle() { const keys = process.argv; @@ -40,8 +42,8 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ - "smartUI.build": "Abc!@#$%^&*()_+[ ]\{}|;':<>?", - "smartUI.project": "Abc!@#$%^&*()_+[abc]\{}|;':<>?", + "smartUI.build": "GDPR-PR-CHECK", + "smartUI.project": "Final_Testing_EU-GDPR-WEB", github: { url: process.env.GITHUB_URL, }, From 1e18bc443f5782576e759bb1b2acb3e2bd4dfdfa Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Sat, 31 Aug 2024 14:38:00 +0530 Subject: [PATCH 152/165] grdp pr check 31-Aug-1 --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 2f115b36..9a26ee34 100644 --- a/tests/test.js +++ b/tests/test.js @@ -79,8 +79,8 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; + const url = "https://www.lambdatest.com/"; + // const url = "https://www.flipkart.com/"; // const url = "https://www.samsung.com/"; console.log(url); From fe0dd0e03ca61cb393a9ef8a74716db94e30b3ea Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Sat, 31 Aug 2024 14:42:51 +0530 Subject: [PATCH 153/165] grdp pr check 31-Aug-2 --- tests/test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 9a26ee34..907eea68 100644 --- a/tests/test.js +++ b/tests/test.js @@ -82,7 +82,6 @@ async function startTest(gridUrl, capabilities, name) { const url = "https://www.lambdatest.com/"; // const url = "https://www.flipkart.com/"; // const url = "https://www.samsung.com/"; - console.log(url); await driver.get(url); From ddd67f9515482cb8d6c37694a3cd13f194e02e4b Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 3 Sep 2024 20:43:01 +0530 Subject: [PATCH 154/165] grdp pr check 03-09-24 --- tests/test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 907eea68..af5186f2 100644 --- a/tests/test.js +++ b/tests/test.js @@ -63,7 +63,6 @@ async function searchTextOnGoogle() { startTest(GRID_URL, capabilities, `Test ${i}`); } } - async function startTest(gridUrl, capabilities, name) { const caps = { ...capabilities, name }; From 62ac30370eefae713e846fac1790c51307dafcfd Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 5 Sep 2024 02:07:41 +0530 Subject: [PATCH 155/165] grdp pr check 04-09-24 --- tests/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.js b/tests/test.js index af5186f2..3e18b9e9 100644 --- a/tests/test.js +++ b/tests/test.js @@ -129,6 +129,7 @@ async function startTest(gridUrl, capabilities, name) { } } + searchTextOnGoogle(); From 2a30ce3471d2415b248845da5f86aba1064ac796 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 5 Sep 2024 04:13:49 +0530 Subject: [PATCH 156/165] grdp pr check-stage 05-09-24 --- tests/test.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/test.js b/tests/test.js index 3e18b9e9..e78b3c64 100644 --- a/tests/test.js +++ b/tests/test.js @@ -17,7 +17,9 @@ const waitTime = 2; // 2 seconds // const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; -const GRID_URL = "https://ltgdprhak:1JF7nbtNVDTSFQdstywJQxVqaaIEX87sP7q7ghbFjwpcm5Kbgv@stage-hub-eu.lambdatestinternal.com/wd/hub"; +// const GRID_URL = "https://ltgdprhak:1JF7nbtNVDTSFQdstywJQxVqaaIEX87sP7q7ghbFjwpcm5Kbgv@stage-hub-eu.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://gdpreu:Fw6MmoQg09v3Zv8I1OhQS5CWlJX3vIj1IAYAtHFtZu9a53eqAB@stage-hub-eu.lambdatestinternal.com/wd/hub"; + async function searchTextOnGoogle() { @@ -43,7 +45,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ "smartUI.build": "GDPR-PR-CHECK", - "smartUI.project": "Final_Testing_EU-GDPR-WEB", + "smartUI.project": "GDPR-EU-GITHUB-PR-CHECK", github: { url: process.env.GITHUB_URL, }, @@ -78,17 +80,17 @@ async function startTest(gridUrl, capabilities, name) { const duration = moment.duration(end_date.diff(start_date)); console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); - const url = "https://www.lambdatest.com/"; - // const url = "https://www.flipkart.com/"; + // const url = "https://www.lambdatest.com/"; + const url = "https://www.flipkart.com/"; // const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); console.log("taking screenshot ..."); setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=@#$%^&*()_+[]\{}|;':<>`).then(() => { + driver.executeScript(`smartui.takeScreenshot=GDPR-TEST`).then(() => { - driver.executeScript(`smartui.fetchScreenshotStatus=@#$%^&*()_+[]\{}|;':<>`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=GDPR-TEST`).then(out => { console.log("response:", out); }).catch(err => { console.error("Error fetching screenshot status:", err); From ebb75b322b3da187442ea749c48b3004d7eeb88e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 5 Sep 2024 04:18:00 +0530 Subject: [PATCH 157/165] grdp pr check-stage 05-09-24_1 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index e78b3c64..ebbace93 100644 --- a/tests/test.js +++ b/tests/test.js @@ -44,7 +44,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ - "smartUI.build": "GDPR-PR-CHECK", + "smartUI.build": "GDPR-PR-CHECK-1", "smartUI.project": "GDPR-EU-GITHUB-PR-CHECK", github: { url: process.env.GITHUB_URL, From ecfe21adc023bf562d4d164c27899e51b21f45da Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 5 Sep 2024 04:53:03 +0530 Subject: [PATCH 158/165] grdp pr check-stage 05-09-24_2 --- tests/test.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test.js b/tests/test.js index ebbace93..fe353e43 100644 --- a/tests/test.js +++ b/tests/test.js @@ -44,7 +44,7 @@ async function searchTextOnGoogle() { name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ - "smartUI.build": "GDPR-PR-CHECK-1", + // "smartUI.build": "GDPR-PR-CHECK-1", "smartUI.project": "GDPR-EU-GITHUB-PR-CHECK", github: { url: process.env.GITHUB_URL, @@ -130,8 +130,6 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } - - searchTextOnGoogle(); From bfe10b12dd2ea6e1bc89d3a879a070562198a506 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 5 Sep 2024 19:21:26 +0530 Subject: [PATCH 159/165] 5-9-24 prod-euGdpr --- tests/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index fe353e43..028f4b50 100644 --- a/tests/test.js +++ b/tests/test.js @@ -18,7 +18,7 @@ const waitTime = 2; // 2 seconds // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; // const GRID_URL = "https://ltgdprhak:1JF7nbtNVDTSFQdstywJQxVqaaIEX87sP7q7ghbFjwpcm5Kbgv@stage-hub-eu.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://gdpreu:Fw6MmoQg09v3Zv8I1OhQS5CWlJX3vIj1IAYAtHFtZu9a53eqAB@stage-hub-eu.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://gdpreu:svffEGGVpCulkAYtaqCRVbHIwrZor4aD0BeF89I3xbaPLTpcXz@hub-eu.lambdatest.com/wd/hub"; @@ -45,7 +45,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ // "smartUI.build": "GDPR-PR-CHECK-1", - "smartUI.project": "GDPR-EU-GITHUB-PR-CHECK", + "smartUI.project": "eu_gdpr_github_pr_check", github: { url: process.env.GITHUB_URL, }, From 2dd1c25d9aec1334fd46b752668e14ece7544e3e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Mon, 9 Sep 2024 14:46:37 +0530 Subject: [PATCH 160/165] 9-9-24-1 --- tests/test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 028f4b50..15fd2ab4 100644 --- a/tests/test.js +++ b/tests/test.js @@ -100,7 +100,6 @@ async function startTest(gridUrl, capabilities, name) { }); }, waitTime * 1000); - driver.getTitle().then(function (title) { console.log("Title:", title); setTimeout(function () { From 0959e03fee87b05520a0bd7872d91a75df6cd089 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Thu, 5 Dec 2024 13:46:06 +0530 Subject: [PATCH 161/165] comparisonStratgy --- tests/test.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/test.js b/tests/test.js index 15fd2ab4..411107c5 100644 --- a/tests/test.js +++ b/tests/test.js @@ -14,11 +14,11 @@ const waitTime = 2; // 2 seconds // const GRID_HOST = process.env.GRID_HOST || "@hub.lambdatest.com/wd/hub"; //connect to lambdatest hub // const GRID_URL = process.env.GRID_URL || "GRID_URL"; -// const GRID_URL = "https://haiderk:V2mDZgIXHVEFxPfVu3cODSDpe9cZ4MT2Z1ZkDbp5uMJ8XL0nxh@stage-hub.lambdatestinternal.com/wd/hub"; +const GRID_URL = "https://haiderk:W0AB7YqcubvLeUNPD65N2XANdVq55VZO8KdmLAEO1fbrSFC97B@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://smartui-internal:jNbKw8iwoDlqGuBfIBtd5F1Cnr4A0H07ifYNDGpylobjWyA2QX@stage-hub.lambdatestinternal.com/wd/hub"; // const GRID_URL = "https://haiderk:i7vF5r66IYgsgE9Hp5t6hZqd5PkQX021FgpWRC70mp0ShbFh1R@hub.lambdatest.com/wd/hub"; // const GRID_URL = "https://ltgdprhak:1JF7nbtNVDTSFQdstywJQxVqaaIEX87sP7q7ghbFjwpcm5Kbgv@stage-hub-eu.lambdatestinternal.com/wd/hub"; -const GRID_URL = "https://gdpreu:svffEGGVpCulkAYtaqCRVbHIwrZor4aD0BeF89I3xbaPLTpcXz@hub-eu.lambdatest.com/wd/hub"; +// const GRID_URL = "https://gdpreu:svffEGGVpCulkAYtaqCRVbHIwrZor4aD0BeF89I3xbaPLTpcXz@hub-eu.lambdatest.com/wd/hub"; @@ -43,9 +43,10 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.build": "rachaelc/sc-118267/no-availability-1722894770",/\ - // "smartUI.build": "GDPR-PR-CHECK-1", - "smartUI.project": "eu_gdpr_github_pr_check", + // "smartUI.smartIgnore":true, + "smartUI.project": "[Git_Branching#ComparisonStrategy]", + // "smartUI.build": "\", + github: { url: process.env.GITHUB_URL, }, @@ -88,9 +89,9 @@ async function startTest(gridUrl, capabilities, name) { console.log("taking screenshot ..."); setTimeout(() => { - driver.executeScript(`smartui.takeScreenshot=GDPR-TEST`).then(() => { + driver.executeScript(`smartui.takeScreenshot=TEST`).then(() => { - driver.executeScript(`smartui.fetchScreenshotStatus=GDPR-TEST`).then(out => { + driver.executeScript(`smartui.fetchScreenshotStatus=TEST`).then(out => { console.log("response:", out); }).catch(err => { console.error("Error fetching screenshot status:", err); From f761cb2acb50cc4183ac82095782416f6d9dcd54 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 6 Dec 2024 17:26:52 +0530 Subject: [PATCH 162/165] comparisonStratgy1 --- tests/test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test.js b/tests/test.js index 411107c5..e494f3f7 100644 --- a/tests/test.js +++ b/tests/test.js @@ -82,8 +82,8 @@ async function startTest(gridUrl, capabilities, name) { console.log(`${caps.name} : Setup Time: ${duration.asSeconds()} seconds`); // const url = "https://www.lambdatest.com/"; - const url = "https://www.flipkart.com/"; - // const url = "https://www.samsung.com/"; + // const url = "https://www.flipkart.com/"; + const url = "https://www.samsung.com/"; console.log(url); await driver.get(url); @@ -130,6 +130,7 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } + searchTextOnGoogle(); From 1582885e2ca674ccd141844ef3963f7c0800e10e Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 6 Dec 2024 17:29:00 +0530 Subject: [PATCH 163/165] comparisonStratgy2 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index e494f3f7..7fbed57e 100644 --- a/tests/test.js +++ b/tests/test.js @@ -43,7 +43,7 @@ async function searchTextOnGoogle() { accessKey: process.env.LT_ACCESS_KEY, name: "test session", // name of the test build: `${platform}${browserName}${version}`, // name of the build - // "smartUI.smartIgnore":true, + "smartUI.smartIgnore":true, "smartUI.project": "[Git_Branching#ComparisonStrategy]", // "smartUI.build": "\", From dd142f6a362414a4effdb928352f1af03333fc90 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Fri, 6 Dec 2024 17:32:55 +0530 Subject: [PATCH 164/165] comparisonStratgy3 --- tests/test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 7fbed57e..2d12b533 100644 --- a/tests/test.js +++ b/tests/test.js @@ -130,7 +130,6 @@ async function startTest(gridUrl, capabilities, name) { await driver.quit(); } } - searchTextOnGoogle(); From c6fe8139e7bb8a0b78b8b83d42c73c5f2e4c82b6 Mon Sep 17 00:00:00 2001 From: haiderLambdatest Date: Tue, 31 Dec 2024 17:43:45 +0530 Subject: [PATCH 165/165] comparisonStratgy4 --- tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.js b/tests/test.js index 2d12b533..9c77224a 100644 --- a/tests/test.js +++ b/tests/test.js @@ -45,7 +45,7 @@ async function searchTextOnGoogle() { build: `${platform}${browserName}${version}`, // name of the build "smartUI.smartIgnore":true, "smartUI.project": "[Git_Branching#ComparisonStrategy]", - // "smartUI.build": "\", + github: { url: process.env.GITHUB_URL,