File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/com/lambdatest/Tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public class SingleJenkinsTest {
3636public void setUp (ITestContext context ) throws Exception {
3737context .getSuite ().getXmlSuite ().setThreadCount (10 );
3838long id = Thread .currentThread ().getId ();
39- System . out . println ("Before test-method. Thread id is: " + id );
39+ Reporter . log ("Before test-method. Thread id is: " + id );
4040DesiredCapabilities capability = new DesiredCapabilities ();
4141capability .setCapability (CapabilityType .BROWSER_NAME , browser );
4242capability .setCapability (CapabilityType .VERSION , version );
@@ -57,7 +57,7 @@ public void setUp(ITestContext context) throws Exception {
5757public void test () {
5858
5959long id = Thread .currentThread ().getId ();
60- System . out . println ("Simple test-method One. Thread id is: " + id );
60+ Reporter . log ("Simple test-method One. Thread id is: " + id );
6161
6262// Launch the app
6363driver .get ("https://lambdatest.github.io/sample-todo-app/" );
@@ -85,7 +85,7 @@ public void test() {
8585@ AfterTest
8686public void afterTest () {
8787long id = Thread .currentThread ().getId ();
88- System . out . println ("After test-method. Thread id is: " + id );
88+ Reporter . log ("After test-method. Thread id is: " + id );
8989((JavascriptExecutor ) driver ).executeScript ("lambda-status=" + status + "" );
9090driver .quit ();
9191}
You can’t perform that action at this time.
0 commit comments