Skip to content
Open
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
39 changes: 0 additions & 39 deletions .github/workflows/LThooks-ci.yml

This file was deleted.

24 changes: 6 additions & 18 deletions .github/workflows/Pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ on:
branches:
- main
- stage

- demo
env:
LT_USERNAME: ${{ secrets.LT_USERNAME }}
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
LT_SDK_DEBUG: true
SMARTUI_DEBUG: true

jobs:
smartui-pr-check:
Expand Down Expand Up @@ -39,29 +37,19 @@ jobs:
with:
node-version: '20' # Use the appropriate Node.js version for your project

- name: Install SmartUI SDK
- name: Install SmartUI SDK for demo
run: |
cd sdk
npm install @lambdatest/smartui-cli@latest
npm install @lambdatest/selenium-driver
npm install selenium-webdriver

- name: Set up SmartUI Config
run: |
cd sdk
npx smartui config:create smartui-config.json

- name: Execute SmartUI Tests
run: |
npx smartui --config smartui-config.json exec -- npm run smartui-cloud
env:
SMARTUI_PROJECT_NAME: "your-project-name" # Replace with your SmartUI project name
SMARTUI_BUILD_NAME: ${{ github.sha }}

- name: Check for Visual Changes
run: |
echo "Checking for visual differences..."

- name: Comment on PR with Results
if: failure()
run: |
echo "Visual differences found. Please review the SmartUI report."
# You can add code to post this comment to the PR using GitHub API
cd sdk
npx smartui --config smartui-config.json exec -P 49153 -- npm run smartui-cloud
36 changes: 0 additions & 36 deletions .github/workflows/SDK-ci.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>Smart UI Testing With Selenium Node.JS </h1>
<h1>SmartUI Testing With Selenium Node.JS </h1>

<img height="400" src="https://user-images.githubusercontent.com/126776938/232535511-8d51cf1b-1a33-48fc-825c-b13e7a9ec388.png">

Expand Down
Empty file added sdk/config-smartui.json
Empty file.
Loading