it("switches the type of an input from text to password when true", () => {
    const text = createElement("input", {
      type: "text",
      autocapitalize: "off",
      autocorrect: "off",