Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: chrome/test/data/webui/md_history/history_synced_tabs_test.js

Issue 2517243002: [Sync] Removing complexity around PROXY_TABS now that empty sessions are provided when disabled. (Closed)
Patch Set: Rebase and re-vulcanize after conflict. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/webui/md_history/history_metrics_test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_history/history_synced_tabs_test.js
diff --git a/chrome/test/data/webui/md_history/history_synced_tabs_test.js b/chrome/test/data/webui/md_history/history_synced_tabs_test.js
index c4dcdda0ecc59aaaa0c83c25ffdfc201702b25d9..e7949b0d78839bd690a035ead3af21c2fe42bd2b 100644
--- a/chrome/test/data/webui/md_history/history_synced_tabs_test.js
+++ b/chrome/test/data/webui/md_history/history_synced_tabs_test.js
@@ -420,48 +420,3 @@ suite('<history-synced-device-manager>', function() {
registerMessageCallback('deleteForeignSession', this, undefined);
});
});
-
-suite('<history-synced-device-manager> integration', function() {
- var element;
-
- setup(function() {
- var app = replaceApp();
- // Not rendered until selected.
- assertEquals(null, app.$$('#synced-devices'));
-
- app.selectedPage_ = 'syncedTabs';
- assertEquals('syncedTabs', app.$['content-side-bar'].$.menu.selected);
- return PolymerTest.flushTasks().then(function() {
- element = app.$$('#synced-devices');
- assertTrue(!!element);
- });
- });
-
- test('enable and disable tab sync', function() {
- updateSignInState(true);
- var sessionList = [
- createSession(
- 'Nexus 5',
- [createWindow(['http://www.google.com', 'http://example.com'])]
- )
- ];
- // Open tabs sync is enabled.
- setForeignSessions(sessionList, true);
-
- return PolymerTest.flushTasks().then(function() {
- var cards = getCards(element);
- assertEquals(1, cards.length);
- assertTrue(element.$['no-synced-tabs'].hidden);
-
- // Open tabs sync is disabled.
- setForeignSessions(sessionList, false);
-
- return PolymerTest.flushTasks();
- }).then(function() {
- cards = getCards(element);
- assertEquals(0, cards.length);
- // If tab sync is disabled, show 'no synced tabs'.
- assertNoSyncedTabsMessageShown(element, 'noSyncedResults');
- });
- });
-});
« no previous file with comments | « chrome/test/data/webui/md_history/history_metrics_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698