Skip to content

Commit

Permalink
debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed May 13, 2024
1 parent fbd9f67 commit 369bd59
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions game/end_to_end_tests/test_level_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ def test_multiple_houses(self):
add_road_button.click()
action.move_to_element(add_road_button).move_by_offset(600, 0).click_and_hold().move_by_offset(300, 0).click().perform()

grid_paper = self.selenium.find_elements(By.ID, "paper")
assert len(grid_paper) > 0

road_image = grid_paper.find_elements(By.XPATH, ".//svg/image[href='/static/game/raphael_image/road_tiles/road/dead_end.svg']")
assert len(road_image) > 0
grid_paper = self.selenium.find_element(By.ID, "paper")

add_house_button = self.selenium.find_element(By.ID, "add_house")
add_house_button.click()
Expand Down

0 comments on commit 369bd59

Please sign in to comment.