Skip to content

Commit fb7cdb2

Browse files
asambstackfrancisf
authored andcommitted
chore: add comments for python java local scripts
1 parent 09336e2 commit fb7cdb2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

playwright-java/src/test/java/com/browserstack/PlaywrightLocalUsingBindingsTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public static void main(String[] args) {
4646
".innerText" +
4747
".includes(\"This is an internal server for BrowserStack Local\")");
4848

49+
// following line of code is responsible for marking the status of the test on BrowserStack as 'passed'. You can use this code in your after hook after each test
4950
markTestStatus("passed", "Local is up and running", page);
5051
} catch (Exception err) {
5152
markTestStatus("failed", "BrowserStack Local binary is not running", page);

playwright-python/local-using-bindings-playwright-test.py

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def run_local_session(playwright):
4444
.innerText
4545
.includes("This is an internal server for BrowserStack Local")
4646
""")
47+
# following line of code is responsible for marking the status of the test on BrowserStack as 'passed'. You can use this code in your after hook after each test
4748
mark_test_status("passed", "Local is up and running", page)
4849
except Exception:
4950
mark_test_status("failed", "BrowserStack Local binary is not running", page)

0 commit comments

Comments
 (0)