mirror of
https://github.com/konpa/devicon.git
synced 2025-08-30 09:40:04 +02:00
Add screenshot code, update the CONTRIBUTING.md and fix clojure
This commit is contained in:
@@ -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']"))
|
||||
|
8
.github/workflows/build_icons.yml
vendored
8
.github/workflows/build_icons.yml
vendored
@@ -27,10 +27,16 @@ jobs:
|
||||
./icomoon.json ./devicon.json ./icons ./ --headless
|
||||
- name: Upload geckodriver.log for debugging purposes
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{always()}}
|
||||
if: ${{failure()}}
|
||||
with:
|
||||
name: geckodriver-log
|
||||
path: ./geckodriver.log
|
||||
- name: Upload screenshot of the newly made icons
|
||||
uses: actions/upload-artifact@v2
|
||||
if: ${{success()}}
|
||||
with:
|
||||
name: new_icons
|
||||
path: ./.github/scripts/new_icons.png
|
||||
- name: Running npm task for building devicon.min.css
|
||||
if: ${{ success() }}
|
||||
run: npm run build-css
|
||||
|
Reference in New Issue
Block a user