[QA] Creating browser tests using site-specific browser permissions

Jeff Hall jhall at wikimedia.org
Thu Nov 21 00:12:01 UTC 2013


I created a Bugzilla ticket today[1] for an interesting challenge from 
the WMF Mobile team, where the goal is to run a browser test that can 
invoke site-specific browser permissions (in this specific case, to 
allow the browser to invoke geolocation behavior to determine the user's 
location).

At least for Firefox, the relevant permission is saved locally in a 
SQLite database file associated with a specific Firefox user profile.  
This works just fine my local workstation (where the profile exists), 
but creates a test dependency that does not seem readily transportable 
to other environments.

I'll continue to do further research on this, but I thought I'd post to 
the list in case anyone has a brilliant insight as to how this might 
work.  And if I do manage to figure out a clever solution, I'll make 
sure to share with the list!

Thanks,

Jeff


1: https://bugzilla.wikimedia.org/show_bug.cgi?id=57333







More information about the QA mailing list