| Index: chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
|
| index 3660c91b3971afa13ff475af2cdfa23883d3cf0a..e33e20387c7749937fc537674f10a72d4d5962d0 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/media/ui/NotificationActionsUpdatedTest.java
|
| @@ -28,7 +28,7 @@ import java.util.Set;
|
| */
|
| public class NotificationActionsUpdatedTest extends ChromeActivityTestCaseBase<ChromeActivity> {
|
| private static final int NOTIFICATION_ID = R.id.media_playback_notification;
|
| - private static final String SIMPLE_PAGE_URL = "/content/test/data/simple_page.html";
|
| + private static final String TEST_PAGE_URL = "/content/test/data/media/session/title1.html";
|
|
|
| private Tab mTab;
|
| private EmbeddedTestServer mTestServer;
|
| @@ -77,13 +77,13 @@ public class NotificationActionsUpdatedTest extends ChromeActivityTestCaseBase<C
|
| @SmallTest
|
| public void testActionsPersistAfterSamePageNavigation() throws Throwable {
|
| ensureTestServer();
|
| - loadUrl(mTestServer.getURL(SIMPLE_PAGE_URL));
|
| + loadUrl(mTestServer.getURL(TEST_PAGE_URL));
|
| simulateMediaSessionActionsChanged(mTab, buildActions());
|
| simulateMediaSessionStateChanged(mTab, true, false);
|
| assertActionsMatch(buildActions());
|
|
|
| NotificationTestUtils.simulateSamePageNavigation(
|
| - getInstrumentation(), mTab, mTestServer.getURL(SIMPLE_PAGE_URL));
|
| + getInstrumentation(), mTab, mTestServer.getURL(TEST_PAGE_URL));
|
| assertActionsMatch(buildActions());
|
| }
|
|
|
|
|