Commit b3f025bf authored by Eugene But's avatar Eugene But Committed by Commit Bot

Disable multiple PaymentRequest EG tests on iOS 13 as flaky.

The tests are flaky on iPhone/iPad, device/simulator. Flakiness was not
observed on iOS 12.

TBR=danyao@chromium.org

Bug: 1007432
Change-Id: I0f6ce5d20b2bee9eb550d60036124033038cb1e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1822844Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699470}
parent c35f53d8
...@@ -66,6 +66,11 @@ using payments::JourneyLogger; ...@@ -66,6 +66,11 @@ using payments::JourneyLogger;
#define MAYBE_testSelectedPaymentMethod testSelectedPaymentMethod #define MAYBE_testSelectedPaymentMethod testSelectedPaymentMethod
#endif #endif
- (void)MAYBE_testSelectedPaymentMethod { - (void)MAYBE_testSelectedPaymentMethod {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
chrome_test_util::HistogramTester histogramTester; chrome_test_util::HistogramTester histogramTester;
[self addProfiles]; [self addProfiles];
...@@ -279,6 +284,11 @@ using payments::JourneyLogger; ...@@ -279,6 +284,11 @@ using payments::JourneyLogger;
testAllSectionStats_NumberOfSuggestionsShown_Completed testAllSectionStats_NumberOfSuggestionsShown_Completed
#endif #endif
- (void)MAYBE_testAllSectionStats_NumberOfSuggestionsShown_Completed { - (void)MAYBE_testAllSectionStats_NumberOfSuggestionsShown_Completed {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
chrome_test_util::HistogramTester histogramTester; chrome_test_util::HistogramTester histogramTester;
[self addProfiles]; [self addProfiles];
...@@ -432,6 +442,11 @@ using payments::JourneyLogger; ...@@ -432,6 +442,11 @@ using payments::JourneyLogger;
testNoShippingSectionStats_NumberOfSuggestionsShown_Completed testNoShippingSectionStats_NumberOfSuggestionsShown_Completed
#endif #endif
- (void)MAYBE_testNoShippingSectionStats_NumberOfSuggestionsShown_Completed { - (void)MAYBE_testNoShippingSectionStats_NumberOfSuggestionsShown_Completed {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
chrome_test_util::HistogramTester histogramTester; chrome_test_util::HistogramTester histogramTester;
[self addProfiles]; [self addProfiles];
...@@ -588,6 +603,11 @@ using payments::JourneyLogger; ...@@ -588,6 +603,11 @@ using payments::JourneyLogger;
#endif #endif
- (void) - (void)
MAYBE_testNoContactDetailSectionStats_NumberOfSuggestionsShown_Completed { MAYBE_testNoContactDetailSectionStats_NumberOfSuggestionsShown_Completed {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
chrome_test_util::HistogramTester histogramTester; chrome_test_util::HistogramTester histogramTester;
[self addProfiles]; [self addProfiles];
......
...@@ -90,6 +90,11 @@ const char kContactDetailsFreeShippingPage[] = ...@@ -90,6 +90,11 @@ const char kContactDetailsFreeShippingPage[] =
// properly updated upon completion. The use stats for the billing address // properly updated upon completion. The use stats for the billing address
// associated with the card is expected not to change. // associated with the card is expected not to change.
- (void)testRecordUseOfCard { - (void)testRecordUseOfCard {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
autofill::TestAutofillClock testClock; autofill::TestAutofillClock testClock;
testClock.SetNow(kSomeDate); testClock.SetNow(kSomeDate);
...@@ -133,6 +138,11 @@ const char kContactDetailsFreeShippingPage[] = ...@@ -133,6 +138,11 @@ const char kContactDetailsFreeShippingPage[] =
// Tests that use stats for the shipping address used in a Payment Request are // Tests that use stats for the shipping address used in a Payment Request are
// properly updated upon completion. // properly updated upon completion.
- (void)testRecordUseOfShippingAddress { - (void)testRecordUseOfShippingAddress {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
autofill::TestAutofillClock testClock; autofill::TestAutofillClock testClock;
testClock.SetNow(kSomeDate); testClock.SetNow(kSomeDate);
...@@ -165,6 +175,11 @@ const char kContactDetailsFreeShippingPage[] = ...@@ -165,6 +175,11 @@ const char kContactDetailsFreeShippingPage[] =
// Tests that use stats for the contact address used in a Payment Request are // Tests that use stats for the contact address used in a Payment Request are
// properly updated upon completion. // properly updated upon completion.
- (void)testRecordUseOfContactAddress { - (void)testRecordUseOfContactAddress {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
autofill::TestAutofillClock testClock; autofill::TestAutofillClock testClock;
testClock.SetNow(kSomeDate); testClock.SetNow(kSomeDate);
...@@ -197,6 +212,11 @@ const char kContactDetailsFreeShippingPage[] = ...@@ -197,6 +212,11 @@ const char kContactDetailsFreeShippingPage[] =
// Tests that use stats for an address that was used both as a shipping and // Tests that use stats for an address that was used both as a shipping and
// contact address in a Payment Request are properly updated upon completion. // contact address in a Payment Request are properly updated upon completion.
- (void)testRecordUseOfContactAndShippingAddress { - (void)testRecordUseOfContactAndShippingAddress {
if (@available(iOS 13, *)) {
// TODO(crbug.com/1007432): Enable this test.
EARL_GREY_TEST_DISABLED(@"The test is flaky on iOS 13");
}
autofill::TestAutofillClock testClock; autofill::TestAutofillClock testClock;
testClock.SetNow(kSomeDate); testClock.SetNow(kSomeDate);
......
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