use of tools.fastlane.screengrab.FalconScreenshotStrategy in project Rocket by mozilla-tw.
the class SettingsScreenshot method setUp.
@Before
public void setUp() {
new BeforeTestTask.Builder().build().execute();
activityTestRule.launchActivity(new Intent());
Screengrab.setDefaultScreenshotStrategy(new FalconScreenshotStrategy(activityTestRule.getActivity()));
}
use of tools.fastlane.screengrab.FalconScreenshotStrategy in project Rocket by mozilla-tw.
the class DownloadScreenshot method setUp.
@Before
public void setUp() {
context = InstrumentationRegistry.getInstrumentation().getTargetContext();
new BeforeTestTask.Builder().build().execute();
// Start main activity
activityRule.launchActivity(new Intent());
Screengrab.setDefaultScreenshotStrategy(new FalconScreenshotStrategy(activityRule.getActivity()));
sessionLoadedIdlingResource = new SessionLoadedIdlingResource(activityRule.getActivity());
}
use of tools.fastlane.screengrab.FalconScreenshotStrategy in project Rocket by mozilla-tw.
the class MyShotScreenshot method setUp.
@Before
public void setUp() {
new BeforeTestTask.Builder().build().execute();
activityTestRule.launchActivity(new Intent());
sessionLoadedIdlingResource = new SessionLoadedIdlingResource(activityTestRule.getActivity());
Screengrab.setDefaultScreenshotStrategy(new FalconScreenshotStrategy(activityTestRule.getActivity()));
}
use of tools.fastlane.screengrab.FalconScreenshotStrategy in project Rocket by mozilla-tw.
the class OnboardingScreenshot method setUp.
@Before
public void setUp() {
new BeforeTestTask.Builder().setSkipFirstRun(false).build().execute();
activityTestRule.launchActivity(new Intent());
Screengrab.setDefaultScreenshotStrategy(new FalconScreenshotStrategy(activityTestRule.getActivity()));
}
Aggregations