Skip to content

Commit ad142ca

Browse files
Mahbub091mahbubsqa
andauthored
updated reporting path (#17)
* updated reporting path * added Allure steps * initial commit * updated access to locators * updated code base --------- Co-authored-by: mahbubqa <mahbubqa@techetronventures.com>
1 parent 80a9235 commit ad142ca

File tree

20 files changed

+3478
-119
lines changed

20 files changed

+3478
-119
lines changed

.idea/encodings.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/git_toolbox_blame.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TestSuite/AndroidTestSuite.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<methods>
88
<include name="test01" />
99
<include name="test02" />
10-
<include name="test03" />
10+
<exclude name="test03" />
1111
</methods>
1212
</class>
1313

TestSuite/IosTestSuite.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<classes>
66
<class name="ios.TestCases.SwagLabsAppAutomation">
77
<methods>
8-
<exclude name="test01" />
9-
<exclude name="test02" />
10-
<exclude name="test03" />
8+
<include name="test01" />
9+
<include name="test02" />
10+
<include name="test03" />
1111
<include name="test04" />
1212
<include name="test05" />
1313
</methods>

TestSuite/masterSuite.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- master-suite.xml -->
2+
<suite name="MasterSuite">
3+
<suite-files>
4+
<suite-file path="AndroidTestSuite.xml"/>
5+
<suite-file path="IosTestSuite.xml"/>
6+
</suite-files>
7+
</suite>

pom.xml

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,20 @@
2828
<testng>7.7.1</testng>
2929
<extentreports>4.0.6</extentreports>
3030
<commons-io>2.14.0</commons-io>
31+
<allure.version>2.24.0</allure.version>
32+
<aspectj.version>1.9.20.1</aspectj.version>
3133
</properties>
3234

3335
<dependencies>
3436

37+
<!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-testng -->
38+
<dependency>
39+
<groupId>io.qameta.allure</groupId>
40+
<artifactId>allure-testng</artifactId>
41+
<version>2.29.0</version>
42+
<scope>test</scope>
43+
</dependency>
44+
3545
<dependency>
3646
<groupId>com.github.javafaker</groupId>
3747
<artifactId>javafaker</artifactId>
@@ -82,23 +92,13 @@
8292
<scope>test</scope>
8393
</dependency>
8494

85-
<!-- https://mvnrepository.com/artifact/com.aventstack/extentreports -->
86-
<dependency>
87-
<groupId>com.aventstack</groupId>
88-
<artifactId>extentreports</artifactId>
89-
<version>${extentreports}</version>
90-
</dependency>
91-
9295
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
9396
<dependency>
9497
<groupId>commons-io</groupId>
9598
<artifactId>commons-io</artifactId>
9699
<version>${commons-io}</version>
97100
</dependency>
98101

99-
100-
101-
102102
</dependencies>
103103

104104
<build>
@@ -126,12 +126,25 @@
126126
</executions>
127127
<configuration>
128128
<suiteXmlFiles>
129-
<suiteXmlFile>TestSuite/AndroidTestSuite.xml</suiteXmlFile>
130-
<!-- <suiteXmlFile>TestSuite/IosTestSuite.xml</suiteXmlFile>-->
129+
<!-- <suiteXmlFile>TestSuite/AndroidTestSuite.xml</suiteXmlFile>-->
130+
<suiteXmlFile>TestSuite/IosTestSuite.xml</suiteXmlFile>
131131
</suiteXmlFiles>
132132
<!--suppress UnresolvedMavenProperty -->
133133
<argLine>${argLine}</argLine>
134+
<argLine>
135+
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
136+
</argLine>
134137
</configuration>
138+
<dependencies>
139+
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
140+
<dependency>
141+
<groupId>org.aspectj</groupId>
142+
<artifactId>aspectjweaver</artifactId>
143+
<version>${aspectj.version}</version>
144+
<scope>runtime</scope>
145+
</dependency>
146+
147+
</dependencies>
135148
</plugin>
136149
<plugin>
137150
<artifactId>maven-clean-plugin</artifactId>
@@ -141,7 +154,7 @@
141154
<fileset>
142155
<directory>${basedir}/reports</directory>
143156
<includes>
144-
<!-- <include>**/*.tmp</include>-->
157+
<include>**/*.tmp</include>
145158
</includes>
146159
<excludes>
147160
<exclude>*.log</exclude>

readme.MD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
SwagLabsDemoAPP Bundle ID: org.reactjs.native.example.SwagLabsMobileApp
22

3-
WDIO Demo App Bundle ID: org.reactjs.native.example.wdioDemoApp
3+
WDIO Demo App Bundle ID: org.reactjs.native.example.wdioDemoApp
4+
5+
Allure Result Create Command : allure serve target/allure-results

0 commit comments

Comments
 (0)