def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup self.url = self.marionette.absolute_url('layout/mozilla.html')
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup self.url = 'https://mozqa.com/data/firefox/security/mixedcontent.html'
def setUp(self): FirefoxTestCase.setUp(self) self.prefs.set_pref("extensions.install.requireSecureOrigin", False) self.addons_url = self.marionette.absolute_url("addons/extensions/") self.utils.permissions.add(self.marionette.baseurl, "install")
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup self.url = self.marionette.absolute_url('layout/mozilla.html')
def setUp(self): FirefoxTestCase.setUp(self) self.prefs.set_pref('extensions.install.requireSecureOrigin', False) self.addons_url = self.marionette.absolute_url('addons/extensions/') self.utils.permissions.add(self.marionette.baseurl, 'install')
def setUp(self): FirefoxTestCase.setUp(self) self.test_data = ( { 'url': 'https://ssl-dv.mozqa.com', 'identity': '', 'type': 'secure' }, { 'url': 'https://ssl-ev.mozqa.com/', 'identity': 'Mozilla Corporation', 'type': 'secure-ev' }, { 'url': 'https://ssl-ov.mozqa.com/', 'identity': '', 'type': 'secure' } ) # Set browser to restore previous session self.prefs.set_pref('browser.startup.page', 3) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.browser.navbar.locationbar.identity_popup self.url = 'https://ssl-dv.mozqa.com'
def setUp(self): FirefoxTestCase.setUp(self) self.url = 'https://ssl-dv.mozqa.com/data/firefox/security/unencryptedsearch.html' self.test_string = 'mozilla' self.prefs.set_pref('security.warn_submit_insecure', True)
def setUp(self): FirefoxTestCase.setUp(self) self.url = 'https://ssl-dv.mozqa.com/data/firefox/security/unencryptedsearch.html' self.test_string = 'mozilla' self.prefs.set_pref('security.warn_submit_insecure', True)
def setUp(self, is_fallback=False): FirefoxTestCase.setUp(self) self.software_update = SoftwareUpdate(lambda: self.marionette) # Bug 604364 - Preparation to test multiple update steps self.current_update_index = 0 self.staging_directory = self.software_update.staging_directory # If requested modify the default update channel. It will be active # after the next restart of the application # Bug 1142805 - Modify file via Python directly if self.update_channel: # Backup the original content and the path of the channel-prefs.js file self.default_update_channel = { 'content': self.software_update.update_channel.file_contents, 'path': self.software_update.update_channel.file_path, } self.software_update.update_channel.default_channel = self.update_channel # If requested modify the list of allowed MAR channels # Bug 1142805 - Modify file via Python directly if self.update_mar_channels: # Backup the original content and the path of the update-settings.ini file self.default_mar_channels = { 'content': self.software_update.mar_channels.config_file_contents, 'path': self.software_update.mar_channels.config_file_path, } self.software_update.mar_channels.add_channels( self.update_mar_channels) # Bug 1142805 - Until we don't modify the channel-prefs.js and update-settings.ini # files before Firefox gets started, a restart of Firefox is necessary to # accept the new update channel. self.restart() # Dictionary which holds the information for each update self.updates = [{ 'build_pre': self.software_update.build_info, 'build_post': None, 'fallback': is_fallback, 'patch': {}, 'success': False, }] self.assertEqual(self.software_update.update_channel.default_channel, self.software_update.update_channel.channel) self.assertTrue( self.update_mar_channels.issubset( self.software_update.mar_channels.channels), 'Allowed MAR channels have been set: expected "{}" in "{}"'.format( ', '.join(self.update_mar_channels), ', '.join(self.software_update.mar_channels.channels))) # Check if the user has permissions to run the update self.assertTrue( self.software_update.allowed, 'Current user has permissions to update the application.')
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.browser.navbar.locationbar.identity_popup self.url = 'https://ssl-dv.mozqa.com'
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup self.url = 'https://mozqa.com/data/firefox/security/mixedcontent.html'
def setUp(self): FirefoxTestCase.setUp(self) self.software_update = SoftwareUpdate(lambda: self.marionette) self.saved_mar_channels = self.software_update.mar_channels.channels self.software_update.mar_channels.channels = set( ['expected', 'channels'])
def setUp(self): FirefoxTestCase.setUp(self) # Use a fake local support URL support_url = 'about:blank?' self.prefs.set_pref('app.support.baseURL', support_url) self.pb_url = support_url + 'private-browsing'
def setUp(self): FirefoxTestCase.setUp(self) # Set Browser Preferences self.marionette.enforce_gecko_prefs(self.browser_prefs) # Get safebrowsing path where downloaded data gets stored self.sb_files_path = os.path.join(self.marionette.instance.profile.profile, 'safebrowsing')
def setUp(self): FirefoxTestCase.setUp(self) # Use a fake local support URL support_url = 'about:blank?' self.prefs.set_pref('app.support.baseURL', support_url) self.pb_url = support_url + 'private-browsing'
def setUp(self): FirefoxTestCase.setUp(self) # Set Browser Preferences self.marionette.enforce_gecko_prefs(self.browser_prefs) # Get safebrowsing path where downloaded data gets stored self.sb_files_path = os.path.join( self.marionette.instance.profile.profile, 'safebrowsing')
def setUp(self): FirefoxTestCase.setUp(self) self.new_pref = 'marionette.unittest.set_pref' self.unknown_pref = 'marionette.unittest.unknown' self.bool_pref = 'browser.tabs.loadBookmarksInBackground' self.int_pref = 'browser.tabs.maxOpenBeforeWarn' self.string_pref = 'browser.newtab.url'
def setUp(self): FirefoxTestCase.setUp(self) self.new_pref = 'marionette.unittest.set_pref' self.unknown_pref = 'marionette.unittest.unknown' self.bool_pref = 'browser.tabs.loadBookmarksInBackground' self.int_pref = 'browser.tabs.maxOpenBeforeWarn' self.string_pref = 'browser.newtab.url'
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup self.url = 'https://ssl-ev.mozqa.com' with self.marionette.using_context('content'): self.marionette.navigate(self.url)
def setUp(self): FirefoxTestCase.setUp(self) # Force the preferences for the new profile enforce_prefs = self.prefs_safebrowsing enforce_prefs.update(self.prefs_provider_update_time) self.marionette.enforce_gecko_prefs(enforce_prefs) self.safebrowsing_path = os.path.join(self.marionette.instance.profile.profile, "safebrowsing") self.safebrowsing_files = self.get_safebrowsing_files()
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup self.url = 'https://ssl-ev.mozqa.com' with self.marionette.using_context('content'): self.marionette.navigate(self.url)
def setUp(self): FirefoxTestCase.setUp(self) self.new_pref = 'marionette.unittest.set_pref' self.unknown_pref = 'marionette.unittest.unknown' self.bool_pref = 'browser.tabs.loadBookmarksInBackground' self.int_pref = 'browser.tabs.maxOpenBeforeWarn' # Consider using new test preferences # See Bug 1303863 Comment #32 self.string_pref = 'browser.startup.homepage'
def setUp(self): FirefoxTestCase.setUp(self) # Force the preferences for the new profile enforce_prefs = self.prefs_safebrowsing enforce_prefs.update(self.prefs_provider_update_time) self.marionette.enforce_gecko_prefs(enforce_prefs) self.safebrowsing_path = os.path.join( self.marionette.instance.profile.profile, 'safebrowsing') self.safebrowsing_files = self.get_safebrowsing_files()
def setUp(self): FirefoxTestCase.setUp(self) self.url = 'https://tlsv1-0.mozqa.com' self.utils.sanitize({"sessions": True}) # Disable SSL 3.0, TLS 1.0 and TLS 1.1 for secure connections # by forcing the use of TLS 1.2 # see: http://kb.mozillazine.org/Security.tls.version.*#Possible_values_and_their_effects self.prefs.set_pref('security.tls.version.min', 3) self.prefs.set_pref('security.tls.version.max', 3)
def setUp(self): FirefoxTestCase.setUp(self) self.url = 'https://tlsv1-0.mozqa.com' self.utils.sanitize({"sessions": True}) # Disable SSL 3.0, TLS 1.0 and TLS 1.1 for secure connections # by forcing the use of TLS 1.2 # see: http://kb.mozillazine.org/Security.tls.version.*#Possible_values_and_their_effects self.prefs.set_pref('security.tls.version.min', 3) self.prefs.set_pref('security.tls.version.max', 3)
def setUp(self): FirefoxTestCase.setUp(self) self.urls = [ # Invalid cert page 'https://ssl-expired.mozqa.com', # Secure page 'https://ssl-ev.mozqa.com/', # Insecure page 'http://www.mozqa.com' ] self.identity_box = self.browser.navbar.locationbar.identity_box
def setUp(self): FirefoxTestCase.setUp(self) def opener(win): self.marionette.execute_script(""" let updatePrompt = Components.classes["@mozilla.org/updates/update-prompt;1"] .createInstance(Components.interfaces.nsIUpdatePrompt); updatePrompt.checkForUpdates(); """) self.dialog = self.browser.open_window( callback=opener, expected_window_class=UpdateWizardDialog) self.wizard = self.dialog.wizard
def setUp(self): FirefoxTestCase.setUp(self) def opener(win): self.marionette.execute_script(""" let updatePrompt = Components.classes["@mozilla.org/updates/update-prompt;1"] .createInstance(Components.interfaces.nsIUpdatePrompt); updatePrompt.checkForUpdates(); """) self.dialog = self.browser.open_window(callback=opener, expected_window_class=UpdateWizardDialog) self.wizard = self.dialog.wizard
def setUp(self): FirefoxTestCase.setUp(self) self.urls = [ # Invalid cert page 'https://ssl-expired.mozqa.com', # Secure page 'https://ssl-ev.mozqa.com/', # Insecure page 'http://www.mozqa.com' ] self.identity_box = self.browser.navbar.locationbar.identity_box
def setUp(self): FirefoxTestCase.setUp(self) self.bookmark_panel = None self.test_urls = [self.marionette.absolute_url('layout/mozilla_grants.html')] # Disable search suggestions to only get results for history and bookmarks self.prefs.set_pref(self.PREF_SUGGEST_SEARCHES, False) with self.marionette.using_context('content'): self.marionette.navigate('about:blank') self.places.remove_all_history()
def setUp(self): FirefoxTestCase.setUp(self) self.test_data = ( {"url": "https://ssl-dv.mozqa.com", "identity": "", "type": "secure"}, {"url": "https://ssl-ev.mozqa.com/", "identity": "Mozilla Corporation", "type": "secure-ev"}, {"url": "https://ssl-ov.mozqa.com/", "identity": "", "type": "secure"}, ) # Set browser to restore previous session self.prefs.set_pref("browser.startup.page", 3) self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup
def setUp(self): FirefoxTestCase.setUp(self) self.navbar = self.browser.navbar self.url = self.marionette.absolute_url('layout/mozilla.html') with self.marionette.using_context('content'): self.marionette.navigate('about:blank') # TODO: check why self.places.remove_all_history() does not work here self.marionette.execute_script(""" let count = gBrowser.sessionHistory.count; gBrowser.sessionHistory.PurgeHistory(count); """)
def setUp(self): FirefoxTestCase.setUp(self) self.url = 'https://mozqa.com/data/firefox/security/mixed_content_blocked/index.html' self.test_elements = [ ('result1', 'Insecure script one'), ('result2', 'Insecure script from iFrame'), ('result3', 'Insecure plugin'), ('result4', 'Insecure stylesheet'), ] self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup
def setUp(self): FirefoxTestCase.setUp(self) self.url = 'https://mozqa.com/data/firefox/security/mixed_content_blocked/index.html' self.test_elements = [ ('result1', 'Insecure script one'), ('result2', 'Insecure script from iFrame'), ('result3', 'Insecure plugin'), ('result4', 'Insecure stylesheet'), ] self.locationbar = self.browser.navbar.locationbar self.identity_popup = self.locationbar.identity_popup
def setUp(self): FirefoxTestCase.setUp(self) self.navbar = self.browser.navbar self.url = self.marionette.absolute_url('layout/mozilla.html') with self.marionette.using_context('content'): self.marionette.navigate('about:blank') # TODO: check why self.places.remove_all_history() does not work here self.marionette.execute_script(""" let count = gBrowser.sessionHistory.count; gBrowser.sessionHistory.PurgeHistory(count); """)
def setUp(self): FirefoxTestCase.setUp(self) self.bookmark_panel = None self.test_urls = [ self.marionette.absolute_url('layout/mozilla_grants.html') ] # Disable search suggestions to only get results for history and bookmarks self.prefs.set_pref(self.PREF_SUGGEST_SEARCHES, False) with self.marionette.using_context('content'): self.marionette.navigate('about:blank') self.places.remove_all_history()
def setUp(self): FirefoxTestCase.setUp(self) # Disable suggestions for searches and bookmarks to get results only for history self.prefs.set_pref(self.PREF_SUGGEST_SEARCHES, False) self.prefs.set_pref(self.PREF_SUGGEST_BOOKMARK, False) self.places.remove_all_history() self.test_urls = [self.marionette.absolute_url('layout/mozilla.html')] self.test_string = 'mozilla' self.test_favicon = 'mozilla_favicon.ico' self.autocomplete_results = self.browser.navbar.locationbar.autocomplete_results
def setUp(self): FirefoxTestCase.setUp(self) # Disable suggestions for searches and bookmarks to get results only for history self.prefs.set_pref(self.PREF_SUGGEST_SEARCHES, False) self.prefs.set_pref(self.PREF_SUGGEST_BOOKMARK, False) self.places.remove_all_history() self.test_urls = [self.marionette.absolute_url('layout/mozilla.html')] self.test_string = 'mozilla' self.test_favicon = 'mozilla_favicon.ico' self.autocomplete_results = self.browser.navbar.locationbar.autocomplete_results
def setUp(self): """ These tests open and close windows pretty rapidly, which (since bug 1261842) can cause content processes to be spawned and discarded in large numbers. By default, Firefox has a 5 second timeout for shutting down content processes, but we can get into cases where the content process just doesn't have enough time to get itself all sorted before the timeout gets hit, which results in the parent killing the content process manually, which generates a crash report, which causes these tests to orange. We side-step this by setting dom.ipc.tabs.shutdownTimeoutSecs to 0, which disables the shutdown timer. """ FirefoxTestCase.setUp(self) self.prefs.set_pref('dom.ipc.tabs.shutdownTimeoutSecs', 0)
def setUp(self): """ These tests open and close windows pretty rapidly, which (since bug 1261842) can cause content processes to be spawned and discarded in large numbers. By default, Firefox has a 5 second timeout for shutting down content processes, but we can get into cases where the content process just doesn't have enough time to get itself all sorted before the timeout gets hit, which results in the parent killing the content process manually, which generates a crash report, which causes these tests to orange. We side-step this by setting dom.ipc.tabs.shutdownTimeoutSecs to 0, which disables the shutdown timer. """ FirefoxTestCase.setUp(self) self.prefs.set_pref("dom.ipc.tabs.shutdownTimeoutSecs", 0)
def setUp(self): FirefoxTestCase.setUp(self) # Clear complete history so there's no interference from previous entries. self.places.remove_all_history() self.test_urls = [ 'layout/mozilla_projects.html', 'layout/mozilla.html', 'layout/mozilla_mission.html' ] self.test_urls = [self.marionette.absolute_url(t) for t in self.test_urls] self.locationbar = self.browser.navbar.locationbar self.autocomplete_results = self.locationbar.autocomplete_results self.urlbar = self.locationbar.urlbar
def setUp(self): FirefoxTestCase.setUp(self) self.test_data = [ # Unwanted software URL { # First two properties are not needed, # since these errors are not reported 'button_property': None, 'report_page': None, 'unsafe_page': 'https://www.itisatrap.org/firefox/unwanted.html' }, # Phishing URL info { 'button_property': 'safebrowsing.notADeceptiveSiteButton.label', 'report_page': 'google.com/safebrowsing/report_error', 'unsafe_page': 'https://www.itisatrap.org/firefox/its-a-trap.html' }, # Malware URL object { 'button_property': 'safebrowsing.notAnAttackButton.label', 'report_page': 'stopbadware.org', 'unsafe_page': 'https://www.itisatrap.org/firefox/its-an-attack.html' } ] self.prefs.set_pref('browser.safebrowsing.phishing.enabled', True) self.prefs.set_pref('browser.safebrowsing.malware.enabled', True) # Give the browser a little time, because SafeBrowsing.jsm takes a while # between start up and adding the example urls to the db. # hg.mozilla.org/mozilla-central/file/46aebcd9481e/browser/base/content/browser.js#l1194 time.sleep(3) # TODO: Bug 1139544: While we don't have a reliable way to close the safe browsing # notification bar when a test fails, run this test in a new tab. self.browser.tabbar.open_tab()
def setUp(self): FirefoxTestCase.setUp(self) # Each list element represents a window of tabs loaded at # some testing URL self.test_windows = set([ # Window 1. Note the comma after the absolute_url call - # this is Python's way of declaring a 1 item tuple. ( self.marionette.absolute_url('layout/mozilla.html'), ), # Window 2 (self.marionette.absolute_url('layout/mozilla_organizations.html'), self.marionette.absolute_url('layout/mozilla_community.html')), # Window 3 (self.marionette.absolute_url('layout/mozilla_governance.html'), self.marionette.absolute_url('layout/mozilla_grants.html')), ]) self.private_windows = set([ (self.marionette.absolute_url('layout/mozilla_mission.html'), self.marionette.absolute_url('layout/mozilla_organizations.html') ), (self.marionette.absolute_url('layout/mozilla_projects.html'), self.marionette.absolute_url('layout/mozilla_mission.html')), ]) self.marionette.enforce_gecko_prefs({ # Set browser to restore previous session 'browser.startup.page': 3, # Make the content load right away instead of waiting for # the user to click on the background tabs 'browser.sessionstore.restore_on_demand': False, # Avoid race conditions by having the content process never # send us session updates unless the parent has explicitly asked # for them via the TabStateFlusher. 'browser.sessionstore.debug.no_auto_updates': True, })
def setUp(self): FirefoxTestCase.setUp(self) # Clear all previous history and cookies. self.places.remove_all_history() self.marionette.delete_all_cookies() self.urls = [ 'layout/mozilla_projects.html', 'layout/mozilla.html', 'layout/mozilla_mission.html', 'cookies/cookie_single.html' ] self.urls = [self.marionette.absolute_url(url) for url in self.urls] # Open the test urls, including the single cookie setting page. def load_urls(): with self.marionette.using_context('content'): for url in self.urls: self.marionette.navigate(url) self.places.wait_for_visited(self.urls, load_urls)
def setUp(self): FirefoxTestCase.setUp(self) # Clear all previous history and cookies. self.places.remove_all_history() self.marionette.delete_all_cookies() self.urls = [ 'layout/mozilla_projects.html', 'layout/mozilla.html', 'layout/mozilla_mission.html', 'cookies/cookie_single.html' ] self.urls = [self.marionette.absolute_url(url) for url in self.urls] # Open the test urls, including the single cookie setting page. def load_urls(): with self.marionette.using_context('content'): for url in self.urls: self.marionette.navigate(url) self.places.wait_for_visited(self.urls, load_urls)
def setUp(self): FirefoxTestCase.setUp(self) # Each list element represents a window of tabs loaded at # some testing URL self.test_windows = set([ # Window 1. Note the comma after the absolute_url call - # this is Python's way of declaring a 1 item tuple. (self.marionette.absolute_url('layout/mozilla.html'), ), # Window 2 (self.marionette.absolute_url('layout/mozilla_organizations.html'), self.marionette.absolute_url('layout/mozilla_community.html')), # Window 3 (self.marionette.absolute_url('layout/mozilla_governance.html'), self.marionette.absolute_url('layout/mozilla_grants.html')), ]) self.private_windows = set([ (self.marionette.absolute_url('layout/mozilla_mission.html'), self.marionette.absolute_url('layout/mozilla_organizations.html')), (self.marionette.absolute_url('layout/mozilla_projects.html'), self.marionette.absolute_url('layout/mozilla_mission.html')), ]) self.marionette.enforce_gecko_prefs({ # Set browser to restore previous session 'browser.startup.page': 3, # Make the content load right away instead of waiting for # the user to click on the background tabs 'browser.sessionstore.restore_on_demand': False, # Avoid race conditions by having the content process never # send us session updates unless the parent has explicitly asked # for them via the TabStateFlusher. 'browser.sessionstore.debug.no_auto_updates': True, })
def setUp(self): FirefoxTestCase.setUp(self) self.urls = [ # Unwanted software URL "https://www.itisatrap.org/firefox/unwanted.html", # Phishing URL "https://www.itisatrap.org/firefox/its-a-trap.html", # Malware URL "https://www.itisatrap.org/firefox/its-an-attack.html", ] self.prefs.set_pref("browser.safebrowsing.enabled", True) self.prefs.set_pref("browser.safebrowsing.malware.enabled", True) # Give the browser a little time, because SafeBrowsing.jsm takes a # while between start up and adding the example urls to the db. # hg.mozilla.org/mozilla-central/file/46aebcd9481e/browser/base/content/browser.js#l1194 time.sleep(3) # TODO: Bug 1139544: While we don't have a reliable way to close the safe browsing # notification bar when a test fails, run this test in a new tab. self.browser.tabbar.open_tab()
def setUp(self): FirefoxTestCase.setUp(self) self.urls = [ # Unwanted software URL 'https://www.itisatrap.org/firefox/unwanted.html', # Phishing URL 'https://www.itisatrap.org/firefox/its-a-trap.html', # Malware URL 'https://www.itisatrap.org/firefox/its-an-attack.html' ] self.prefs.set_pref('browser.safebrowsing.phishing.enabled', True) self.prefs.set_pref('browser.safebrowsing.malware.enabled', True) # Give the browser a little time, because SafeBrowsing.jsm takes a # while between start up and adding the example urls to the db. # hg.mozilla.org/mozilla-central/file/46aebcd9481e/browser/base/content/browser.js#l1194 time.sleep(3) # TODO: Bug 1139544: While we don't have a reliable way to close the safe browsing # notification bar when a test fails, run this test in a new tab. self.browser.tabbar.open_tab()
def setUp(self): FirefoxTestCase.setUp(self) self.test_data = [ # Unwanted software URL { # First two properties are not needed, # since these errors are not reported 'button_property': None, 'report_page': None, 'unsafe_page': 'https://www.itisatrap.org/firefox/unwanted.html' }, # Phishing URL info { 'button_property': 'safebrowsing.notADeceptiveSiteButton.label', 'report_page': 'www.google.com/safebrowsing/report_error', 'unsafe_page': 'https://www.itisatrap.org/firefox/its-a-trap.html' }, # Malware URL object { 'button_property': 'safebrowsing.notAnAttackButton.label', 'report_page': 'www.stopbadware.org', 'unsafe_page': 'https://www.itisatrap.org/firefox/its-an-attack.html' } ] self.prefs.set_pref('browser.safebrowsing.phishing.enabled', True) self.prefs.set_pref('browser.safebrowsing.malware.enabled', True) # Give the browser a little time, because SafeBrowsing.jsm takes a while # between start up and adding the example urls to the db. # hg.mozilla.org/mozilla-central/file/46aebcd9481e/browser/base/content/browser.js#l1194 time.sleep(3) # TODO: Bug 1139544: While we don't have a reliable way to close the safe browsing # notification bar when a test fails, run this test in a new tab. self.browser.tabbar.open_tab()
def setUp(self): FirefoxTestCase.setUp(self)
def setUp(self): FirefoxTestCase.setUp(self) self.urls = [self.marionette.absolute_url('layout/mozilla_governance.html'), self.marionette.absolute_url('layout/mozilla_grants.html'), ]
def setUp(self): FirefoxTestCase.setUp(self) self.software_update = SoftwareUpdate(lambda: self.marionette) self.saved_mar_channels = self.software_update.mar_channels.channels self.software_update.mar_channels.channels = set(['expected', 'channels'])
def setUp(self): FirefoxTestCase.setUp(self) self.browser.navbar.locationbar.clear() self.autocomplete_results = self.browser.navbar.locationbar.autocomplete_results
def setUp(self): FirefoxTestCase.setUp(self) self.locationbar = self.browser.navbar.locationbar
def setUp(self): FirefoxTestCase.setUp(self) self.l10n = L10n(lambda: self.marionette)
def setUp(self): FirefoxTestCase.setUp(self) self.url = self.marionette.absolute_url('security/enable_privilege.html')