Skip to content

Commit

Permalink
use pinned appium client
Browse files Browse the repository at this point in the history
  • Loading branch information
seemk committed Nov 13, 2023
1 parent a7cc1b3 commit 7118b53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
SAUCELABS_KEY: ${{ secrets.SAUCELABS_KEY }}
run: |
cd SauceLabsTestApp/
python3 -m pip install Appium-Python-Client
python3 -m pip install Appium-Python-Client==2.11.1
python3 sl_tests.py ${{ matrix.os }} ${{ needs.saucelabs-prepare.outputs.sl_file_id }}
check_links:
runs-on: ubuntu-22.04
Expand Down
3 changes: 1 addition & 2 deletions SplunkRumWorkspace/SauceLabsTestApp/sl_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from appium import webdriver
from datetime import datetime
from selenium.webdriver.common.by import By
from selenium.webdriver.safari.options import Options
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import sys
Expand All @@ -25,7 +24,7 @@ def setUp(self):
'name': 'SplunkRum tests' + currentTime,
'accessKey': os.environ['SAUCELABS_KEY'],
'username': os.environ['SAUCELABS_USER']
}
}
options.set_capability('sauce:options', sauce_options)
url = f'https://ondemand.us-west-1.saucelabs.com:443/wd/hub'
self.driver=webdriver.Remote(url, options=options)
Expand Down

0 comments on commit 7118b53

Please sign in to comment.