Skip to content

Commit 58f20c5

Browse files
committed
Connect to LambdaTest
1 parent e942fd3 commit 58f20c5

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

ci/run_lambdatest.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
# 1. Define the REMOTE URL for LambdaTest
4+
REMOTE_URL="https://$LT_USERNAME:$LT_ACCESS_KEY@hub.lambdatest.com/wd/hub"
5+
6+
# 2. Define the pytest command to execute
7+
# You can include:
8+
# > filters
9+
# > config settings
10+
# > if/else conditionals
11+
# > and so much more!
12+
FILTER="tests/test_todo.py" # change/override this as needed!
13+
14+
# 3. Execute the command
15+
python -m pytest $FILTER --remote_url=$REMOTE_URL

pylenium.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@
55
"wait_time": 10,
66
"page_load_wait_time": 0,
77
"options": [],
8-
"capabilities": {},
8+
"capabilities": {
9+
"build": "pytest build",
10+
"name": "pytest tutorial",
11+
"platform": "Windows 10",
12+
"browserName": "Chrome",
13+
"version": "87.0",
14+
"resolution": "1024x768",
15+
"console": "true",
16+
"network": "true"
17+
},
918
"version": "latest",
1019
"experimental_options": null,
1120
"extension_paths": [],

0 commit comments

Comments
 (0)