1
0
mirror of https://github.com/konpa/devicon.git synced 2025-08-12 01:24:42 +02:00

Add screenshot code, update the CONTRIBUTING.md and fix clojure

This commit is contained in:
Thomas Bui
2020-10-11 20:19:41 -07:00
parent 0fe65a0f3a
commit e6cb7bb3fd
5 changed files with 22 additions and 6 deletions

View File

@@ -130,6 +130,8 @@ class SeleniumRunner:
self.test_for_possible_alert(self.SHORT_WAIT_IN_SEC, "Dismiss")
self.remove_color_from_icon()
# take a screenshot of the icons that were just added
self.driver.save_screenshot("new_icons.png");
self.click_hamburger_input()
select_all_button = WebDriverWait(self.driver, self.LONG_WAIT_IN_SEC).until(
ec.element_to_be_clickable((By.XPATH, "//button[text()='Select All']"))