Commit 913ee97b authored by hanna alemu's avatar hanna alemu
Browse files

Bug 1791647 - Check home page checkbox by default for colorway upgrade screen r=dmose

parent 860b0acb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -399,6 +399,7 @@ const BASE_MESSAGES = () => [
              label: {
                string_id: "mr2022-onboarding-existing-colorway-checkbox-label",
              },
              defaultValue: true,
              action: {
                type: "CONFIGURE_HOMEPAGE",
                data: { homePage: "default", newtab: "default" },
+3 −2
Original line number Diff line number Diff line
@@ -162,6 +162,7 @@ add_task(async function test_aboutwelcome_upgrade_mr_prefs_off() {

/**
 * Test homepage/newtab prefs start off as non-defaults and do not change
 * Unchecking checkbox which is checked by default
 */
add_task(
  async function test_aboutwelcome_upgrade_mr_prefs_non_default_unchecked() {
@@ -189,6 +190,7 @@ add_task(
      //Unexpected selectors:
      []
    );
    browser.document.querySelector("#action-checkbox").click();

    await clickVisibleButton(browser, ".action-buttons button.primary");
    await waitForDialogClose(browser);
@@ -209,6 +211,7 @@ add_task(

/**
 * Test homepage/newtab prefs start off as non-defaults and do change
 * checkbox is checked by default
 */
add_task(
  async function test_aboutwelcome_upgrade_mr_prefs_non_default_checked() {
@@ -236,8 +239,6 @@ add_task(
      []
    );

    browser.document.querySelector("#action-checkbox").click();

    await clickVisibleButton(browser, ".action-buttons button.primary");
    await waitForDialogClose(browser);