pytest-based UI tests add fix form of comment
Comment changed to # form as docstring should only appear at the beginning of a function or class Change-Id: I79c88d0236229f163d99fbc046dcf09ed9d85845
This commit is contained in:
parent
681f9537c2
commit
df2906b7f9
@ -76,14 +76,13 @@ def test_delete_multiple_images_rows(live_server, driver, dashboard_data,
|
||||
image_names.append(image.name)
|
||||
image_names.sort()
|
||||
string_image_names = ", ".join(image_names)
|
||||
"""
|
||||
Line below for finding image row is just an auxiliary step.
|
||||
Image tab is loaded in more steps. When checkbox is clicked immediately
|
||||
after the page is opened, the checkbox is automatically refreshed to
|
||||
unclicked status in less than second because the page/content is filled
|
||||
dynamically.And although page seems to be fully loaded there is still
|
||||
activity in the background.
|
||||
"""
|
||||
|
||||
# Line below for finding image row is just an auxiliary step.
|
||||
# Image tab is loaded in more steps. When checkbox is clicked
|
||||
# immediately after the page is opened, the checkbox is automatically
|
||||
# refreshed to unclicked status in less than second because the
|
||||
# page/content is filled dynamically. And although page seems to
|
||||
# be fully loaded there is still activity in the background.
|
||||
driver.find_element_by_xpath(f"//a[text()='{image_names[0]}']")
|
||||
|
||||
driver.find_element_by_css_selector(
|
||||
|
Loading…
Reference in New Issue
Block a user