add_list_item() helper added to functional_tests.base; further propagated into .test_layout_and_styling, .test_list_item_validation, .test_my_lists & .test_simple_list_creation; all FTs passing locally (tho js-dependent FT still require nginx to serve scripts properly in docker or on server)

This commit is contained in:
Disco DeDisco
2026-02-07 19:44:47 -05:00
parent 10ba5b84e4
commit 58b526f434
5 changed files with 59 additions and 31 deletions

View File

@@ -17,9 +17,7 @@ class LayoutAndStylingTest(FunctionalTest):
delta=10,
)
inputbox.send_keys('testing')
inputbox.send_keys(Keys.ENTER)
self.wait_for_row_in_list_table('1. testing')
self.add_list_item("testing")
inputbox = self.get_item_input_box()
self.assertAlmostEqual(
inputbox.location['x'] + inputbox.size['width'] / 2,