def METHOD_NAME(self):
    def clear_js_vars(d_obj: dict) -> dict:
        result = d_obj.copy()
        doc = result.get("doc", {})
        doc.pop("modified", None)
        return result
    self.login_test1()
    d = self.create_doc()
    r = self.get(d.url, as_tree=True)
    self.assert_js_variable(r, "score_infos", None)
    d.document.set_settings({"show_scoreboard": True})
    r = self.get(d.url, as_tree=True)
    self.assert_js_variable(r, "score_infos", [])
    d.document.add_text(
        """