GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Unverified Commit 90692b7c authored by boklm's avatar boklm
Browse files

Bug 22587: add an FPCentral test

parent 65f4a56a
......@@ -497,6 +497,13 @@ our @tests = (
marionette_test => 'pinning',
use_net => 1,
name => 'fpcentral',
type => 'marionette',
descr => 'Check the browser fingerprint using fpcentral',
fpcentral_url => '',
use_net => 1,
sub set_test_prefs {
from marionette_driver import By
from marionette_driver.errors import MarionetteException
from marionette_harness import MarionetteTestCase
import testsuite
class Test(MarionetteTestCase):
def setUp(self):
ts = testsuite.TestSuite()
self.ts = ts
self.test_page_url = ts.t['test']['fpcentral_url']
if 'timeout' in ts.t['test']:
self.timeout = ts.t['test']['timeout']
self.timeout = 50000
def test_page(self):
with self.marionette.using_context('content'):
elt = self.marionette.find_element('id', 'acceptableSummaryResult');
self.assertEqual(elt.text, 'All attributes have an acceptable value.')
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