Commit bce28899 authored by Andy Paicu's avatar Andy Paicu Committed by Commit Bot

Disable 4 ScreenTimeControllerTest tests

TBR=agawronska@chromium.org

Bug: 1021505
Change-Id: I2138a2e645652a4fc0c1e1ff0bf2babba247b4b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899621Reviewed-by: default avatarAndy Paicu <andypaicu@chromium.org>
Commit-Queue: Andy Paicu <andypaicu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712548}
parent 03166220
......@@ -546,8 +546,9 @@ IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, DefaultBedtime) {
}
}
// Disabled because of flakiness crbug.com/1021505
// Tests the default time window limit.
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, DefaultDailyLimit) {
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, DISABLED_DefaultDailyLimit) {
LogInChildAndSetupClockWithTime("1 Jan 2018 10:00:00 GMT");
ScreenLockerTester().Lock();
......@@ -612,8 +613,10 @@ IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, DefaultDailyLimit) {
}
}
// Disabled because of flakiness crbug.com/1021505
// Tests that the bedtime locks an active session when it is reached.
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, ActiveSessionBedtime) {
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest,
DISABLED_ActiveSessionBedtime) {
LogInChildAndSetupClockWithTime("1 Jan 2018 10:00:00 PST");
system::TimezoneSettings::GetInstance()->SetTimezoneFromID(
......@@ -650,8 +653,10 @@ IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, ActiveSessionBedtime) {
EXPECT_TRUE(IsAuthEnabled());
}
// Disabled because of flakiness crbug.com/1021505
// Tests that the daily limit locks the device when it is reached.
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, ActiveSessionDailyLimit) {
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest,
DISABLED_ActiveSessionDailyLimit) {
LogInChildAndSetupClockWithTime("1 Jan 2018 10:00:00 PST");
system::TimezoneSettings::GetInstance()->SetTimezoneFromID(
......@@ -782,8 +787,9 @@ IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest,
EXPECT_FALSE(IsAuthEnabled());
}
// Disabled because of flakiness crbug.com/1021505
// Tests if call the observers for usage time limit warning.
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, CallObservers) {
IN_PROC_BROWSER_TEST_F(ScreenTimeControllerTest, DISABLED_CallObservers) {
LogInChildAndSetupClockWithTime("1 Jan 2018 10:00:00 PST");
system::TimezoneSettings::GetInstance()->SetTimezoneFromID(
......
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