Update tests for custom views
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.5 KiB |
@@ -89,7 +89,7 @@ public class HabitHistoryViewTest extends ViewTest
|
||||
public void tapDate_withEditableView() throws Throwable
|
||||
{
|
||||
view.setIsEditable(true);
|
||||
tap(view, 270, 30);
|
||||
tap(view, 270, 18); // today's square
|
||||
waitForAsyncTasks();
|
||||
|
||||
long today = DateHelper.getStartOfToday();
|
||||
@@ -103,7 +103,7 @@ public class HabitHistoryViewTest extends ViewTest
|
||||
|
||||
view.setIsEditable(true);
|
||||
tap(view, 45, 5); // header
|
||||
tap(view, 270, 43); // tomorrow's square
|
||||
tap(view, 270, 30); // tomorrow's square
|
||||
tap(view, 280, 30); // right axis
|
||||
waitForAsyncTasks();
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ grep -q "FAILURES\!\!\!" ${OUTPUT_DIR}/runner.txt && failed=1
|
||||
|
||||
info "Fetching failed generated files..."
|
||||
mkdir -p ${OUTPUT_DIR}/failed
|
||||
adb pull /sdcard/Android/data/${PACKAGE_NAME}/cache/Failed \
|
||||
adb pull /sdcard/Android/data/${PACKAGE_NAME}/files/test-screenshots/ \
|
||||
${OUTPUT_DIR}/failed >> $LOG 2>> $LOG
|
||||
adb shell rm -r /sdcard/Android/data/${PACKAGE_NAME}/cache/ >> $LOG 2>> $LOG
|
||||
|
||||
|
||||