Commit a0d99402 authored by Bret Sepulveda's avatar Bret Sepulveda Committed by Commit Bot

Skip payment tests that rely on pre-Harmony behavior when Refresh is on.

Refresh implies that Harmony is enabled, so these tests began failing.
They can be safely skipped, as there are equivalent tests for Harmony.

Bug: 846410
Change-Id: I6c6211d4ea99b6df0a4ba9620217574760ba723c
Reviewed-on: https://chromium-review.googlesource.com/1100390Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Bret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567450}
parent 92fe9e08
......@@ -14,6 +14,7 @@
#include "components/autofill/core/browser/autofill_experiments.h"
#include "content/public/test/browser_test_utils.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "ui/base/material_design/material_design_controller.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/controls/button/label_button.h"
......@@ -102,6 +103,10 @@ IN_PROC_BROWSER_TEST_F(SaveCardBubbleViewsFullFormBrowserTest,
IN_PROC_BROWSER_TEST_F(
SaveCardBubbleViewsFullFormBrowserTest,
Local_ClickingNoThanksClosesBubbleIfSecondaryUiMdExpOff) {
// Pre-Harmony tests are not applicable to Refresh.
if (ui::MaterialDesignController::IsRefreshUi())
return;
// Disable the SecondaryUiMd experiment.
scoped_feature_list_.InitAndDisableFeature(features::kSecondaryUiMd);
......@@ -229,6 +234,10 @@ IN_PROC_BROWSER_TEST_F(SaveCardBubbleViewsFullFormBrowserTest,
IN_PROC_BROWSER_TEST_F(
SaveCardBubbleViewsFullFormBrowserTest,
Upload_ClickingNoThanksClosesBubbleIfSecondaryUiMdExpOff) {
// Pre-Harmony tests are not applicable to Refresh.
if (ui::MaterialDesignController::IsRefreshUi())
return;
// Disable the SecondaryUiMd experiment.
scoped_feature_list_.InitAndDisableFeature(features::kSecondaryUiMd);
......
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