Bot releases are hidden (Show)
Published by rocboronat over 7 years ago
This version fixes the issue #62, related with avoiding autoscrolling when needed. The PR #64 fixes it. The fix has been driven by tests, so it will not happen again π
Published by rocboronat over 7 years ago
After using Barista on InfoJobs, Coches.net, Fotocasa, Vibbo, WorkSΓ, Next-Visit and some internal Android libraries, we proudly move the library to 1.0.0! π
In addition, this version adds these great features:
#58: Add a version of swipeViewPagerForward()
and swipeViewPagerBack()
that doesn't need to know the ViewPager
's id, to speed up writing tests.
#55: Barista scrolls until the View
you're interacting to becomes visible, to speed up writing tests.
#51: Only interacts with visible things. That's useful when you have a ViewPager
with the same page again and again: interacting with any view inside the ViewPager
will be a hell, cos they will be repeated, as described at #49, #17 and #8.
β οΈ Beware the aliens! This release has breaking changes:
#53: Old BaristaSwipeActions
are now called BaristaViewPagerActions
. This change has been done to be coherent with the other BaristaActions, that talk about the View
that interacts to, not about the behavior of a user.
Published by Sloy over 7 years ago
Published by rocboronat over 7 years ago
// Is the expected checkbox checked?
assertChecked("Checked checkbox");
assertChecked(R.string.checked_checkbox);
assertChecked(R.id.checked_checkbox);
// ...And the other checkbox unchecked?
assertUnchecked("Unchecked checkbox");
assertUnchecked(R.string.unchecked_checkbox);
assertUnchecked(R.id.unchecked_checkbox);
Published by Sloy over 7 years ago
Accept repeated views (#38)
Clear Database Test Rule (#29)
Introduce clickRecyclerViewItemChild to README.md (#43)
Published by rocboronat over 7 years ago
Check that EditText has hint #36
assertHint(R.id.edittext, R.string.hint);
assertHint(R.id.edittext, "Hint");
Tap a button of a Recycler's row #32
clickRecyclerViewItemChild(R.id.recycler, 3, R.id.button);
clickRecyclerViewItemChild(R.id.recycler, 3, "Button");
Tap a RadioButton using its position #30
clickRadioButtonPosition(R.id.radiogroup, 42);
Published by Sloy over 7 years ago
We added the FlakyActivityTestRule
to replace Espresso's ActivityTestRule
, allowing us to use the also new @AllowFlaky
and @Repeat
annotations.
Published by rocboronat over 7 years ago
Added BaristaRecyclerViewActions.scrollTo()
Published by rocboronat over 7 years ago
Added the ClearPreferencesRule
to ease clearing all SharedPreferences before passing each test
Published by rocboronat over 7 years ago
PermissionGranter
to ease devs to work with the permissions dialogBaristaSleepActions
to ease devs to do a Thread.sleep()
in a reliable way for EspressoPublished by rocboronat over 7 years ago
It's the time to write some reliable Espresso tests... FASTER! π π¨