Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions pages/used_resources_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def check_elements_visibility_on_1st_level_on_page(self):

@allure.step("Get structure of the 2nd level of nesting on the page")
def get_structure_of_2nd_level(self):
# tags = [element.tag_name for element in elements]
return self.elements_are_present(self.locators.PAGE_SECOND_LEVEL_ELEMENTS)

@allure.step("Check if elements of the 2nd level of nesting are visible")
Expand All @@ -37,7 +36,6 @@ def check_elements_visibility_on_2nd_level_on_page(self):

@allure.step("Get structure of the 3rd level of nesting on the page")
def get_structure_of_3rd_level(self):
# tags = [element.tag_name for element in elements]
return self.elements_are_present(self.locators.PAGE_THIRD_LEVEL_ELEMENTS)

@allure.step("Check if elements of the 3rd level of nesting are visible")
Expand All @@ -46,7 +44,6 @@ def check_elements_visibility_on_3rd_level_on_page(self):

@allure.step("Get structure of the 4th level of nesting on the page")
def get_structure_of_4th_level(self):
# tags = [element.tag_name for element in elements]
return self.elements_are_present(self.locators.PAGE_FOURTH_LEVEL_ELEMENTS)

@allure.step("Check if elements of the 4th level of nesting are visible")
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def used_resources_page_open(driver, main_page_open):
page = BasePage(driver)
page.element_is_present_and_clickable(huLocators.MORE_BUTTON).click()
page.element_is_present_and_clickable(huLocators.LINK_USED_RESOURCES).click()
time.sleep(1)
page.check_expected_link(MainPageLinks.URL_USED_RESOURCES_PAGE)


@pytest.fixture()
Expand Down
Loading