Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

test(AppNavigationTest/clickOnNavigationDrawerItem_ChangeTheme): label as flaky #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.graphics.drawable.ColorDrawable;
import android.support.test.filters.LargeTest;
import android.support.test.filters.FlakyTest;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.support.v7.widget.Toolbar;
Expand Down Expand Up @@ -119,6 +120,7 @@ public void clickOnNavigationDrawerItem_ShowsAboutScreen() {
.check(matches(isDisplayed()));
}

@FlakyTest(detail = "After performing changing the theme, the background color might not be changed before the check.")
@Test
public void clickOnNavigationDrawerItem_ChangeTheme() {
// Open drawer to click on navigation.
Expand Down