File tree Expand file tree Collapse file tree 5 files changed +40
-8
lines changed Expand file tree Collapse file tree 5 files changed +40
-8
lines changed Original file line number Diff line number Diff line change 4
4
.settings /
5
5
target /
6
6
browserstack.err
7
+ logs /
Original file line number Diff line number Diff line change @@ -34,15 +34,16 @@ source: java-playwright-browserstack:sample-sdk:v1.0
34
34
platforms :
35
35
- os : OS X
36
36
osVersion : Big Sur
37
- browserName : Chrome
37
+ browserName : chrome
38
38
browserVersion : latest
39
39
- os : Windows
40
40
osVersion : 10
41
- browserName : Edge
41
+ browserName : playwright-firefox
42
+ browserVersion : latest
43
+ - os : OS X
44
+ osVersion : catalina
45
+ browserName : playwright-webkit
42
46
browserVersion : latest
43
- - deviceName : Samsung Galaxy S22 Ultra
44
- browserName : chrome # Try 'samsung' for Samsung browser
45
- osVersion : 12.0
46
47
47
48
# =======================
48
49
# Parallels per Platform
Original file line number Diff line number Diff line change 76
76
<scope >compile</scope >
77
77
</dependency >
78
78
</dependencies >
79
+ <build >
80
+ <plugins >
81
+ <plugin >
82
+ <groupId >org.apache.maven.plugins</groupId >
83
+ <artifactId >maven-dependency-plugin</artifactId >
84
+ <executions >
85
+ <execution >
86
+ <id >getClasspathFilenames</id >
87
+ <goals >
88
+ <goal >properties</goal >
89
+ </goals >
90
+ </execution >
91
+ </executions >
92
+ </plugin >
93
+ <plugin >
94
+ <groupId >org.apache.maven.plugins</groupId >
95
+ <artifactId >maven-surefire-plugin</artifactId >
96
+ <version >${maven-surefire-plugin} </version >
97
+ <configuration >
98
+ <includes >
99
+ <include >${tests.single} </include >
100
+ </includes >
101
+ <argLine >
102
+ -javaagent:${com.browserstack:browserstack-java-sdk:jar}
103
+ </argLine >
104
+ <testFailureIgnore >false</testFailureIgnore >
105
+ </configuration >
106
+ </plugin >
107
+ </plugins >
108
+ </build >
79
109
<profiles >
80
110
<profile >
81
111
<id >local</id >
87
117
<version >3.0.0-M5</version >
88
118
<configuration >
89
119
<includes >
90
- <include >${tests.tests. local} </include >
120
+ <include >${tests.local} </include >
91
121
</includes >
92
122
<testFailureIgnore >false</testFailureIgnore >
93
123
<argLine >
Original file line number Diff line number Diff line change 8
8
public class LocalTest extends BstackRunner {
9
9
10
10
@ Test
11
- void sampleTest () {
11
+ void bstackSampleLocalTest () {
12
12
try {
13
13
page .navigate ("http://bs-local.com:45454/" );
14
14
String validateContent = page .title ();
Original file line number Diff line number Diff line change 8
8
public class SampleTest extends BstackRunner {
9
9
10
10
@ Test
11
- void sampleTest () {
11
+ void bstackSampleTest () {
12
12
try {
13
13
page .navigate ("https://bstackdemo.com/" );
14
14
String product_name = page .locator ("//*[@id='1']/p" ).textContent ();
You can’t perform that action at this time.
0 commit comments