Commit Graph

15 Commits

Author SHA1 Message Date
Henrik Skupin
e20a8e6f48 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 4bcf4497a2af79790378ddc1bbe47712e4c0ea6c
2016-09-21 10:31:05 +02:00
Sebastian Hengst
99e7648673 Backed out changeset 1df8bde64853 (bug 1302364) 2016-09-16 11:24:29 +02:00
Henrik Skupin
3418dc5d58 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 61870a85c3f749ac3da202e08c2ba91fa87a261b
2016-09-13 17:21:52 +02:00
clui
7af742f74e Bug 1287594 - Allow usage of marionette harness options through mach. r=whimboo
MozReview-Commit-ID: CJwo4RsCnVg

--HG--
extra : rebase_source : bbeb924627625e43878a9af26a1d6e2f7cb6d511
2016-08-19 16:35:19 -07:00
Anjana Vakil
103527a1ff Bug 1258505 - Rewrite Marionette mach commands to avoid parse_args; r=maja_zf
Given the implementation of BaseMarionetteArguments.parse_known_args,
remove call to parser.parse_args in Marionette mach commands
(marionette-test, session-test,
firefox-ui-update, firefox-ui-functional,
external-media-tests).
Instead, create an argparse.Namespace from the already-parsed
arguments, and pass this to parser.verify_usage.

MozReview-Commit-ID: 20agrkhwlLF

--HG--
extra : rebase_source : 32b0df89c1fbc52af57884d6ba764502b64ac590
2016-06-29 18:55:32 +02:00
Maja Frydrychowicz
21edbc606a Bug 1262158 - Fix default tests being overwritten in mach firefox-ui-_; r=sydpolk
MozReview-Commit-ID: JP59lLBRMc1

--HG--
extra : rebase_source : ad8dbdb4e4c0d418285f5e0607b91d94cf2297c3
2016-04-14 18:17:40 -04:00
Gloria Guy
b9215e6033 Bug 1256996 - Firefox ui mach commands must call parse_args and verify_usage, with args as dict; r=maja_zf
MozReview-Commit-ID: 5ZmD3BTO3ws

--HG--
extra : rebase_source : 88207e3c28a7d4e5b4c52b4f5db4ffb6a0fa3f8a
2016-04-01 17:30:56 -07:00
Rachel
0d6d8f8602 Bug 1255064 - MarionetteHarness should internally use dicts for arguments; r=maja_zf
MozReview-Commit-ID: 94muKM44wVq

--HG--
extra : rebase_source : 502b677adcfc7390528d67119d261363f5f9e651
2016-03-18 19:33:08 -07:00
Henrik Skupin
d3f4b27ddf Bug 1239988 - Remove top-level manifest for functional and puppeteer tests. r=maja_zf
MozReview-Commit-ID: BNzYwTbWcb9

This was always a hack which made it easier for us to trigger both type of tests at once. Now with mach and mozharness we should finally get rid of it.

--HG--
extra : rebase_source : 83bbc17a257e5135a1d0a6fd3f370c99223b150b
2016-03-10 14:40:23 +01:00
Henrik Skupin
77e9455a59 Bug 1239988 - Move resources for firefox-ui-tests out of tests folder. r=maja_zf
MozReview-Commit-ID: KtUiswz9gna

The resources folder should actually not be part of the tests folder. It contains test data for all tests and once tests are moved to other places the tests folder will not exist anymore.

--HG--
rename : testing/firefox-ui/tests/resources/cookies/cookie_single.html => testing/firefox-ui/resources/cookies/cookie_single.html
rename : testing/firefox-ui/tests/resources/images/firefox_favicon.ico => testing/firefox-ui/resources/images/firefox_favicon.ico
rename : testing/firefox-ui/tests/resources/images/mozilla_favicon.ico => testing/firefox-ui/resources/images/mozilla_favicon.ico
rename : testing/firefox-ui/tests/resources/images/mozilla_logo.jpg => testing/firefox-ui/resources/images/mozilla_logo.jpg
rename : testing/firefox-ui/tests/resources/layout/mozilla.html => testing/firefox-ui/resources/layout/mozilla.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_community.html => testing/firefox-ui/resources/layout/mozilla_community.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_contribute.html => testing/firefox-ui/resources/layout/mozilla_contribute.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_governance.html => testing/firefox-ui/resources/layout/mozilla_governance.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_grants.html => testing/firefox-ui/resources/layout/mozilla_grants.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_mission.html => testing/firefox-ui/resources/layout/mozilla_mission.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_organizations.html => testing/firefox-ui/resources/layout/mozilla_organizations.html
rename : testing/firefox-ui/tests/resources/layout/mozilla_projects.html => testing/firefox-ui/resources/layout/mozilla_projects.html
rename : testing/firefox-ui/tests/resources/private_browsing/about.html => testing/firefox-ui/resources/private_browsing/about.html
rename : testing/firefox-ui/tests/resources/security/enable_privilege.html => testing/firefox-ui/resources/security/enable_privilege.html
extra : rebase_source : 722311a780f6e36ef4f2e08b82117fdf78625620
2016-03-10 14:21:54 +01:00
Henrik Skupin
a4cca44be5 Bug 1239988 - Remove packaging for firefox-ui-tests. r=maja_zf
MozReview-Commit-ID: 1ncPWncD53U

The firefox-ui-tests package is no longer required. Removing it will allow us later to move tests to the appropriate places in the tree. The commit also has updates for the build system and mozharness.

--HG--
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/keyboard_shortcuts/manifest.ini => testing/firefox-ui/tests/functional/keyboard_shortcuts/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/keyboard_shortcuts/test_browser_window.py => testing/firefox-ui/tests/functional/keyboard_shortcuts/test_browser_window.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/locationbar/manifest.ini => testing/firefox-ui/tests/functional/locationbar/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/locationbar/test_access_locationbar.py => testing/firefox-ui/tests/functional/locationbar/test_access_locationbar.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/locationbar/test_escape_autocomplete.py => testing/firefox-ui/tests/functional/locationbar/test_escape_autocomplete.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/locationbar/test_favicon_in_autocomplete.py => testing/firefox-ui/tests/functional/locationbar/test_favicon_in_autocomplete.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/locationbar/test_suggest_bookmarks.py => testing/firefox-ui/tests/functional/locationbar/test_suggest_bookmarks.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/manifest.ini => testing/firefox-ui/tests/functional/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/private_browsing/manifest.ini => testing/firefox-ui/tests/functional/private_browsing/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/private_browsing/test_about_private_browsing.py => testing/firefox-ui/tests/functional/private_browsing/test_about_private_browsing.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/manifest.ini => testing/firefox-ui/tests/functional/security/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_dv_certificate.py => testing/firefox-ui/tests/functional/security/test_dv_certificate.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_enable_privilege.py => testing/firefox-ui/tests/functional/security/test_enable_privilege.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_ev_certificate.py => testing/firefox-ui/tests/functional/security/test_ev_certificate.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_mixed_content_page.py => testing/firefox-ui/tests/functional/security/test_mixed_content_page.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_mixed_script_content_blocking.py => testing/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_no_certificate.py => testing/firefox-ui/tests/functional/security/test_no_certificate.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_safe_browsing_notification.py => testing/firefox-ui/tests/functional/security/test_safe_browsing_notification.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_safe_browsing_warning_pages.py => testing/firefox-ui/tests/functional/security/test_safe_browsing_warning_pages.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_security_notification.py => testing/firefox-ui/tests/functional/security/test_security_notification.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_ssl_disabled_error_page.py => testing/firefox-ui/tests/functional/security/test_ssl_disabled_error_page.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_ssl_status_after_restart.py => testing/firefox-ui/tests/functional/security/test_ssl_status_after_restart.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_submit_unencrypted_info_warning.py => testing/firefox-ui/tests/functional/security/test_submit_unencrypted_info_warning.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_unknown_issuer.py => testing/firefox-ui/tests/functional/security/test_unknown_issuer.py
rename : testing/firefox-ui/tests/firefox_ui_tests/functional/security/test_untrusted_connection_error_page.py => testing/firefox-ui/tests/functional/security/test_untrusted_connection_error_page.py
rename : testing/firefox-ui/tests/firefox_ui_tests/manifest.ini => testing/firefox-ui/tests/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/manifest.ini => testing/firefox-ui/tests/puppeteer/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_about_window.py => testing/firefox-ui/tests/puppeteer/test_about_window.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_appinfo.py => testing/firefox-ui/tests/puppeteer/test_appinfo.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_l10n.py => testing/firefox-ui/tests/puppeteer/test_l10n.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_menubar.py => testing/firefox-ui/tests/puppeteer/test_menubar.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_page_info_window.py => testing/firefox-ui/tests/puppeteer/test_page_info_window.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_places.py => testing/firefox-ui/tests/puppeteer/test_places.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_prefs.py => testing/firefox-ui/tests/puppeteer/test_prefs.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_security.py => testing/firefox-ui/tests/puppeteer/test_security.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_software_update.py => testing/firefox-ui/tests/puppeteer/test_software_update.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_tabbar.py => testing/firefox-ui/tests/puppeteer/test_tabbar.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_toolbars.py => testing/firefox-ui/tests/puppeteer/test_toolbars.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_update_wizard.py => testing/firefox-ui/tests/puppeteer/test_update_wizard.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_utils.py => testing/firefox-ui/tests/puppeteer/test_utils.py
rename : testing/firefox-ui/tests/firefox_ui_tests/puppeteer/test_windows.py => testing/firefox-ui/tests/puppeteer/test_windows.py
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/cookies/cookie_single.html => testing/firefox-ui/tests/resources/cookies/cookie_single.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/images/firefox_favicon.ico => testing/firefox-ui/tests/resources/images/firefox_favicon.ico
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/images/mozilla_favicon.ico => testing/firefox-ui/tests/resources/images/mozilla_favicon.ico
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/images/mozilla_logo.jpg => testing/firefox-ui/tests/resources/images/mozilla_logo.jpg
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla.html => testing/firefox-ui/tests/resources/layout/mozilla.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_community.html => testing/firefox-ui/tests/resources/layout/mozilla_community.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_contribute.html => testing/firefox-ui/tests/resources/layout/mozilla_contribute.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_governance.html => testing/firefox-ui/tests/resources/layout/mozilla_governance.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_grants.html => testing/firefox-ui/tests/resources/layout/mozilla_grants.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_mission.html => testing/firefox-ui/tests/resources/layout/mozilla_mission.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_organizations.html => testing/firefox-ui/tests/resources/layout/mozilla_organizations.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/layout/mozilla_projects.html => testing/firefox-ui/tests/resources/layout/mozilla_projects.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/private_browsing/about.html => testing/firefox-ui/tests/resources/private_browsing/about.html
rename : testing/firefox-ui/tests/firefox_ui_tests/resources/security/enable_privilege.html => testing/firefox-ui/tests/resources/security/enable_privilege.html
rename : testing/firefox-ui/tests/firefox_ui_tests/update/direct/manifest.ini => testing/firefox-ui/tests/update/direct/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/update/direct/test_direct_update.py => testing/firefox-ui/tests/update/direct/test_direct_update.py
rename : testing/firefox-ui/tests/firefox_ui_tests/update/fallback/manifest.ini => testing/firefox-ui/tests/update/fallback/manifest.ini
rename : testing/firefox-ui/tests/firefox_ui_tests/update/fallback/test_fallback_update.py => testing/firefox-ui/tests/update/fallback/test_fallback_update.py
rename : testing/firefox-ui/tests/firefox_ui_tests/update/manifest.ini => testing/firefox-ui/tests/update/manifest.ini
extra : rebase_source : 6c79d68264e1350087f3407e623820126d82d7bf
2016-03-10 13:34:11 +01:00
Henrik Skupin
770142e454 Bug 1239988 - Remove dependency for firefox-ui-tests in firefox-ui-harness. r=maja_zf
MozReview-Commit-ID: KXnOY1xbuVP

This will remove any dependency for firefox-ui-tests from inside firefox-ui-harness. Affected test types are functional and update tests. To keep update tests working and testable I also added them to the mach command.

--HG--
extra : rebase_source : 968d032e2fe4775e0d2a8d566ced01cefe0abbf7
2016-03-09 20:43:31 +01:00
Syd Polk
8ad4c28b92 Bug 1252586 - Handle |mach firefox-ui-test --binary| correctly - r=whimboo, r=gps
MozReview-Commit-ID: KpncN1uAHUn

--HG--
extra : rebase_source : b46993cffe54bcf40942e180ac9d060cbe0161bd
2016-03-02 11:02:11 -06:00
Syd Polk
e10efae418 Bug 1245468 - Fix parmaeter handling for firefox-ui tests. r=gps,whimboo
MozReview-Commit-ID: 4npa7eeJAFw

--HG--
extra : rebase_source : dccecd2a9566ae8b68baae7b376198be55a51cf4
2016-02-24 16:14:56 -06:00
Henrik Skupin
2523993db3 Bug 1237179 - Add mach command to run firefox-ui-tests from the source directory. r=gps 2016-01-15 19:38:31 +01:00