File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
src/test/java/com/browserstack Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1010gradlew
1111gradlew.bat
1212logs
13+ browserstack.err
Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ parallelsPerPlatform: 1
5858# Set browserStackLocal to true if your website under test is not accessible publicly over the internet
5959# Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction
6060browserstackLocal : true # <boolean> (Default false)
61- # browserStackLocalOptions:
61+ browserStackLocalOptions :
6262 # Options to be passed to BrowserStack local in-case of advanced configurations
63- # - localIdentifier: # <string> (Default: null) Needed if you need to run multiple instances of local.
64- # - forceLocal: true # <boolean> (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel.
63+ localIdentifier : browserstack_sample # <string> (Default: null) Needed if you need to run multiple instances of local.
64+ # forceLocal: true # <boolean> (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel.
6565# Entire list of arguments available here -> https://www.browserstack.com/docs/automate/selenium/manage-incoming-connections
6666
6767# ===================
Original file line number Diff line number Diff line change 66public class LocalTest extends BrowserStackRemoteTest {
77
88 @ Test
9- public void test () throws Exception {
10- driver .get ("http://bs-local.com:45691/check " );
9+ public void test () {
10+ driver .get ("http://bs-local.com:45454/ " );
1111
12- Assert .assertTrue (driver .getPageSource ().contains ("Up and running " ));
12+ Assert .assertTrue (driver .getTitle ().contains ("BrowserStack Local " ));
1313 }
1414}
You can’t perform that action at this time.
0 commit comments