@pytest.mark.parametrize('i, item', enumerate(ITEMS))
def test_titles(objects, i, item):
 assert (objects.history.itemAt(i).title() == item.title)

@ pytest . mark . parametrize ( 'i, item' , enumerate ( ITEMS ) ) def test_titles ( objects , i , item ) : assert ( objects . history . itemAt ( i ) . title ( ) == item . title )
check if the titles were loaded correctly .