FEATURE: Allow overriding text size from a different device (#6955)
This brings the feature in line with the theme selection system
This commit is contained in:
@@ -135,17 +135,13 @@ QUnit.test("font size change", async assert => {
|
||||
|
||||
await savePreferences();
|
||||
|
||||
assert.equal($.cookie("text_size"), "larger", "cookie is set");
|
||||
assert.equal($.cookie("text_size"), "larger|1", "cookie is set");
|
||||
await click(".text-size input[type=checkbox]");
|
||||
await expandSelectKit(".text-size .combobox");
|
||||
await selectKitSelectRowByValue("largest", ".text-size .combobox");
|
||||
|
||||
await savePreferences();
|
||||
assert.equal(
|
||||
$.cookie("text_size"),
|
||||
null,
|
||||
"cookie is unset when matches user preference"
|
||||
);
|
||||
assert.equal($.cookie("text_size"), "larger|1", "cookie remains the same");
|
||||
|
||||
$.removeCookie("text_size");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user