Skip to content

Commit eccd6ba

Browse files
committed
TEST
1 parent f907d59 commit eccd6ba

3 files changed

Lines changed: 11 additions & 4 deletions

File tree

test/integration/jasmine-boot.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ async function runTests(results) {
3636
"freetext_editor_spec.mjs",
3737
"highlight_editor_spec.mjs",
3838
"ink_editor_spec.mjs",
39-
"scripting_spec.mjs",
4039
"signature_editor_spec.mjs",
4140
"stamp_editor_spec.mjs",
4241
"text_field_spec.mjs",

test/integration/scripting_spec.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
awaitPromise,
1818
clearInput,
1919
closePages,
20-
closeSinglePage,
2120
getAnnotationStorage,
2221
getComputedStyleSelector,
2322
getFirstSerialized,
@@ -427,6 +426,10 @@ describe("Interaction", () => {
427426
});
428427
});
429428

429+
afterEach(async () => {
430+
await closePages(pages);
431+
});
432+
430433
it("must execute WillPrint and DidPrint actions", async () => {
431434
await Promise.all(
432435
pages.map(async ([browserName, page]) => {
@@ -450,7 +453,6 @@ describe("Interaction", () => {
450453
await page.waitForFunction(
451454
`${getQuerySelector("50R")}.value === "DidPrint"`
452455
);
453-
await closeSinglePage(page);
454456
})
455457
);
456458
});

test/test.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,12 @@ async function startBrowser({
963963
"browser.topsites.contile.enabled": false,
964964
// Disable logging for remote settings.
965965
"services.settings.loglevel": "off",
966+
// Disable AI/ML functionality.
967+
"browser.ml.enable": false,
968+
"browser.ml.chat.enabled": false,
969+
"browser.ml.linkPreview.enabled": false,
970+
"browser.tabs.groups.smart.enabled": false,
971+
"browser.tabs.groups.smart.userEnabled": false,
966972
...extraPrefsFirefox,
967973
};
968974
}
@@ -984,7 +990,7 @@ async function startBrowsers({ baseUrl, initializeSession }) {
984990
// prevent the disk from filling up over time.
985991
await puppeteer.trimCache();
986992

987-
const browserNames = ["firefox", "chrome"];
993+
const browserNames = ["firefox"];
988994
if (options.noChrome) {
989995
browserNames.splice(1, 1);
990996
}

0 commit comments

Comments
 (0)