trisquel-icecat/icecat/devtools/client/jsonview/test/browser_jsonview_manifest.js

15 lines
431 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
const TEST_JSON_URL = URL_ROOT + "manifest_json.json";
add_task(async function () {
info("Test manifest JSON file started");
await addJsonViewTab(TEST_JSON_URL);
const count = await getElementCount(".jsonPanelBox .treeTable .treeRow");
is(count, 37, "There must be expected number of rows");
});