Skip to content

Commit ba7cfea

Browse files
committed
Click screenshot
1 parent 1bb4a0d commit ba7cfea

File tree

1 file changed

+2
-0
lines changed
  • MPChartExample/src/androidTest/java/com/xxmassdeveloper/mpchartexample

1 file changed

+2
-0
lines changed

MPChartExample/src/androidTest/java/com/xxmassdeveloper/mpchartexample/StartTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ class StartTest {
6161
.atPosition(index).perform(click())
6262

6363
Intents.intended(hasComponent(it.name))
64+
takeScreenshot()
65+
.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-${index}-${it.simpleName}-click")
6466

6567
openActionBarOverflowOrOptionsMenu(getInstrumentation().targetContext)
6668
Thread.sleep(100)

0 commit comments

Comments
 (0)