add global attributes and change abbr test

This commit is contained in:
Fabio Pliger
2024-02-27 11:01:19 -06:00
parent 850f8c6651
commit c518e7978f
2 changed files with 7 additions and 7 deletions

View File

@@ -100,7 +100,8 @@ class TestElements(PyScriptTest):
assert "clicked" not in self.console.log.lines == []
def test_abbr(self):
abbr = self._create_el_and_basic_asserts("abbr", "click me")
abbr = self._create_el_and_basic_asserts("abbr", "some text")
assert abbr.text == "some text"
def test_element_button(self):
button = self._create_el_and_basic_asserts("button", "click me")