Skip to content

Commit ce2db42

Browse files
authored
Merge pull request #270 from AppDevNext/FixScreenshots
Fix screenshots
2 parents 353eb66 + cdef1b9 commit ce2db42

File tree

101 files changed

+3
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ 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)
6769
takeScreenshot()
68-
.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-${index}-${it.simpleName} menu")
70+
.writeToTestStorage("${javaClass.simpleName}_${nameRule.methodName}-${index}-${it.simpleName}-menu")
6971
Espresso.pressBack()
7072
Thread.sleep(100)
7173
Espresso.pressBack()
44 KB
Binary file not shown.
22.9 KB
Binary file not shown.
10.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)