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

Unified Diff: chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc

Issue 2657673003: DO NOT SUBMIT: Example test that blocks on mac. (Closed)
Patch Set: guest.{html,js} not needed Created 3 years, 11 months 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 | « no previous file | chrome/test/data/extensions/platform_apps/example/basic/background.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
diff --git a/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc b/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
index a0ecbd95d2f7b06c7c8de427978de762d8d051e5..f6ee6a11a280716318dba1c3550f2751b7b8c776 100644
--- a/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
+++ b/chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc
@@ -1517,3 +1517,18 @@ IN_PROC_BROWSER_TEST_P(WebViewInteractiveTest, KeyboardFocusWindowCycle) {
ASSERT_TRUE(next_step_listener.WaitUntilSatisfied());
}
+
+class ExampleTest : public WebViewInteractiveTestBase {};
+
+IN_PROC_BROWSER_TEST_F(ExampleTest, Basic) {
+ LoadAndLaunchPlatformApp("example/basic",
+ "LOADED");
+ ExtensionTestMessageListener key_processed_listener(
+ "KEY_UP", false);
+
+ for (size_t i = 0; i < 4; ++i) {
+ SendKeyPressToPlatformApp(ui::VKEY_TAB);
+ EXPECT_TRUE(key_processed_listener.WaitUntilSatisfied());
+ key_processed_listener.Reset();
+ }
+}
« no previous file with comments | « no previous file | chrome/test/data/extensions/platform_apps/example/basic/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698