Commit 80ca9270 authored by ntfschr's avatar ntfschr Committed by Commit bot

Check for learn-more-link before clicking details

The "learn more" link has moved to the main content instead of the
details. Tests should check for it before clicking the details, since
mobile layouts will hide the main content after "details" is clicked.

BUG=674732

Review-Url: https://codereview.chromium.org/2845363003
Cr-Commit-Position: refs/heads/master@{#468073}
parent 14efbd4e
......@@ -610,8 +610,8 @@ class SafeBrowsingBlockingPageBrowserTest
EXPECT_EQ(HIDDEN, GetVisibility("extended-reporting-opt-in"));
EXPECT_EQ(HIDDEN, GetVisibility("opt-in-checkbox"));
EXPECT_EQ(HIDDEN, GetVisibility("proceed-link"));
EXPECT_TRUE(Click("details-button"));
EXPECT_EQ(VISIBLE, GetVisibility("learn-more-link"));
EXPECT_TRUE(Click("details-button"));
EXPECT_EQ(VISIBLE, GetVisibility("proceed-link"));
EXPECT_TRUE(ClickAndWaitForDetach("primary-button"));
......
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