Microsoft is acquiring GitHub. Decentraleyes is leaving GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Commit d34c03da authored by Thomas Rientjes's avatar Thomas Rientjes

Configure testing environment

parent 3851e548
Pipeline #41 passed with stage
in 11 seconds
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