Skip to content

Commit

Permalink
Remove usage of unused allure library
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincarrogan committed Dec 19, 2024
1 parent d22bc81 commit cafddfa
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 121 deletions.
2 changes: 0 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
allure-pytest = "~=2.6"
allure-python-commons = "~=2.6"
black = "~=24.3.0"
envparse = "~=0.2"
faker = "~=4.0"
Expand Down
137 changes: 24 additions & 113 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions tests_common/tools/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from re import search
from time import sleep

from allure import attach, attachment_type
from selenium.common.exceptions import NoSuchElementException
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.common.by import By
Expand Down Expand Up @@ -45,11 +44,6 @@ def screen_path():
def save_screenshot(driver, name):
location = path.join(screen_path(), str(name) + ".png")
driver.get_screenshot_as_file(location)
attach(
driver.get_screenshot_as_png(),
now,
attachment_type=attachment_type.PNG,
)


def find_element(driver, by_type, locator):
Expand Down

0 comments on commit cafddfa

Please sign in to comment.