Skip to content

Commit

Permalink
Connect to LambdaTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ElSnoMan committed Mar 6, 2021
1 parent e942fd3 commit 58f20c5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
15 changes: 15 additions & 0 deletions ci/run_lambdatest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# 1. Define the REMOTE URL for LambdaTest
REMOTE_URL="https://$LT_USERNAME:$LT_ACCESS_KEY@hub.lambdatest.com/wd/hub"

# 2. Define the pytest command to execute
# You can include:
# > filters
# > config settings
# > if/else conditionals
# > and so much more!
FILTER="tests/test_todo.py" # change/override this as needed!

# 3. Execute the command
python -m pytest $FILTER --remote_url=$REMOTE_URL
11 changes: 10 additions & 1 deletion pylenium.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@
"wait_time": 10,
"page_load_wait_time": 0,
"options": [],
"capabilities": {},
"capabilities": {
"build": "pytest build",
"name": "pytest tutorial",
"platform": "Windows 10",
"browserName": "Chrome",
"version": "87.0",
"resolution": "1024x768",
"console": "true",
"network": "true"
},
"version": "latest",
"experimental_options": null,
"extension_paths": [],
Expand Down

0 comments on commit 58f20c5

Please sign in to comment.