Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ env:
GRID_URL: ${{ secrets.GRID_URL }}

jobs:
Find-GitSHA:
name: find Git Sha
SmartUI-Gihub-Action:
name: Execute SmartUI Test with Github App Integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down
7 changes: 4 additions & 3 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ const USERNAME = process.env.LT_USERNAME || "username";
const KEY = process.env.LT_ACCESS_KEY || "accessKey";

// gridUrl: gridUrl can be found at automation dashboard
//const GRID_HOST = process.env.GRID_HOST || "@hub.sushobhit.dev.lambdatest.io/wd/hub"; //dev
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";

async function searchTextOnGoogle() {
var keys = process.argv;
console.log(keys);
Expand Down Expand Up @@ -44,10 +45,9 @@ async function searchTextOnGoogle() {
capabilities.tunnel = true;
}

var gridUrl = "https://" + USERNAME + ":" + KEY + GRID_HOST;
var gridUrl = GRID_URL;
console.log("gridUrl : ", gridUrl);
console.log("GITHUB_REPOSITORY : ", process.env.GITHUB_REPOSITORY);
console.log("GITHUB_URL : ", process.env.GITHUB_URL);

console.log(capabilities);
console.log("Running " + parallelCount + " parallel tests ");
Expand All @@ -74,6 +74,7 @@ async function startTest(gridUrl, capabilities, name) {

// navigate to a url
let url = "https://www.lambdatest.com";
url = "https://www.lambdatest.com/enterprise";
console.log(url);
await driver
.get(url)
Expand Down