Commit f201f6fb authored by Xing Liu's avatar Xing Liu Committed by Chromium LUCI CQ

Read later: Fix testAddReadingListItemFromBottomSheet.

testAddReadingListItemFromBottomSheet is failing because
https://chromium-review.googlesource.com/c/chromium/src/+/2562970
is landed before the test is landed.

That CL requires the test to finish() the activity in the test code.
We call it now.

TBR=dtrainor@chromium.org

Bug: 1150161
Change-Id: I51dc8ed4d595614cb4722733461c275d716f77c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2570501Reviewed-by: default avatarXing Liu <xingliu@chromium.org>
Commit-Queue: Xing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#833161}
parent 93a2e830
...@@ -1649,7 +1649,7 @@ public class BookmarkTest { ...@@ -1649,7 +1649,7 @@ public class BookmarkTest {
// Click the star button again to launch the edit activity. // Click the star button again to launch the edit activity.
MenuUtils.invokeCustomMenuActionSync(InstrumentationRegistry.getInstrumentation(), MenuUtils.invokeCustomMenuActionSync(InstrumentationRegistry.getInstrumentation(),
mActivityTestRule.getActivity(), R.id.bookmark_this_page_id); mActivityTestRule.getActivity(), R.id.bookmark_this_page_id);
waitForEditActivity(); waitForEditActivity().finish();
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment