From 20a8cd95d77193e784a6b9c4ecb3d50008fed5fa Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Fri, 15 Jan 2021 08:55:47 +0000 Subject: [PATCH] Bug 1685291 - [marionette] Add test for sendKeys with context menus r=marionette-reviewers,whimboo Depends on D101046 Differential Revision: https://phabricator.services.mozilla.com/D101152 --- .../static/browser_all_files_referenced.js | 1 + .../marionette/chrome/test_menupopup.xhtml | 30 +++++ .../unit/test_sendkeys_menupopup_chrome.py | 115 ++++++++++++++++++ .../tests/unit/unit-tests.ini | 2 + testing/marionette/jar.mn | 1 + 5 files changed, 149 insertions(+) create mode 100644 testing/marionette/chrome/test_menupopup.xhtml create mode 100644 testing/marionette/harness/marionette_harness/tests/unit/test_sendkeys_menupopup_chrome.py diff --git a/browser/base/content/test/static/browser_all_files_referenced.js b/browser/base/content/test/static/browser_all_files_referenced.js index 3710f02e1d93..109a4a772a8d 100644 --- a/browser/base/content/test/static/browser_all_files_referenced.js +++ b/browser/base/content/test/static/browser_all_files_referenced.js @@ -174,6 +174,7 @@ var whitelist = [ { file: "chrome://marionette/content/test.xhtml" }, { file: "chrome://marionette/content/test_dialog.properties" }, { file: "chrome://marionette/content/test_dialog.xhtml" }, + { file: "chrome://marionette/content/test_menupopup.xhtml" }, // Bug 1348559 { file: "chrome://pippki/content/resetpassword.xhtml" }, // Bug 1337345 diff --git a/testing/marionette/chrome/test_menupopup.xhtml b/testing/marionette/chrome/test_menupopup.xhtml new file mode 100644 index 000000000000..5d8902f01176 --- /dev/null +++ b/testing/marionette/chrome/test_menupopup.xhtml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + +