Commit d34c03da authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Configure testing environment

parent 3851e548
import os
from marionette_harness.marionette_test import MarionetteTestCase
from marionette_driver.addons import Addons
class TestSecuritySettings(MarionetteTestCase):
def setUp(self):
MarionetteTestCase.setUp(self)
addons = Addons(self.marionette)
testDirectory = os.path.dirname(os.path.realpath(__file__))
addons.install(testDirectory + '/../tor-browser-settings.xpi', True)
def test_if_settings_page_is_reachable(self):
with self.marionette.using_context('content'):
self.marionette.navigate('chrome://tor-browser-settings/content/settings.html')
self.assertEqual(self.marionette.title, 'Orfox Settings')
def tearDown(self):
MarionetteTestCase.tearDown(self)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment