mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1277669 - skip a couple of browserUITelemetry tests in dev edition. r=Gijs
--HG-- extra : rebase_source : fcfdf361a00ee27edfd8e2bb2fdc01a116a2b2d4
This commit is contained in:
parent
5d3755f656
commit
933529f47d
@ -10,12 +10,18 @@ function test() {
|
||||
|
||||
let { CustomizableUI, BrowserUITelemetry } = s;
|
||||
|
||||
Assert.ok(CustomizableUI.inDefaultState,
|
||||
"No other test should have left CUI in a dirty state.");
|
||||
// Bug 1278176 - DevEdition never has the UI in a default state by default.
|
||||
if (!AppConstants.MOZ_DEV_EDITION) {
|
||||
Assert.ok(CustomizableUI.inDefaultState,
|
||||
"No other test should have left CUI in a dirty state.");
|
||||
}
|
||||
|
||||
let result = BrowserUITelemetry._getWindowMeasurements(window, 0);
|
||||
|
||||
Assert.deepEqual(result.defaultMoved, []);
|
||||
// Bug 1278176 - DevEdition always reports the developer-button is moved.
|
||||
if (!AppConstants.MOZ_DEV_EDITION) {
|
||||
Assert.deepEqual(result.defaultMoved, []);
|
||||
}
|
||||
Assert.deepEqual(result.nondefaultAdded, []);
|
||||
// This one is a bit weird - the "social-share-button" is dynamically added
|
||||
// to the toolbar as the feature is first used - but it's listed as being in
|
||||
|
Loading…
Reference in New Issue
Block a user