You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can someone knows how to make a td cell multiple lines ?
from this function pytest_html_results_table_row I treid to add , html.br() but it's not doing what it should.
here an example
text = ''
for row in rows:
text += f"{row}<br>"
cells.insert(5, html.td(text))
but it create a 1 long string like: text_1<br>text_2<br>text_3<br>
i wanted to be:
text_1
text_2
text_3
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can someone knows how to make a td cell multiple lines ?
from this function pytest_html_results_table_row I treid to add
, html.br() but it's not doing what it should.
here an example
but it create a 1 long string like: text_1<br>text_2<br>text_3<br>
i wanted to be:
text_1
text_2
text_3
Beta Was this translation helpful? Give feedback.
All reactions