mirror of
https://github.com/TrentSPalmer/hugo_themes_report.git
synced 2024-12-04 16:41:31 -08:00
rename function test_description_per_min_hugo_version.py
This commit is contained in:
parent
7c60b0e398
commit
2a2ac442f4
@ -3,7 +3,7 @@ from unittest import TestCase
|
|||||||
|
|
||||||
|
|
||||||
class TestDescriptionPerMinHugoVersion(TestDescription, TestCase):
|
class TestDescriptionPerMinHugoVersion(TestDescription, TestCase):
|
||||||
def test_min_hug_version(self):
|
def test_description_per_min_hugo_version(self):
|
||||||
|
|
||||||
self.driver.find_element_by_id('button-for-filter-by-minver').click()
|
self.driver.find_element_by_id('button-for-filter-by-minver').click()
|
||||||
|
|
||||||
@ -21,8 +21,7 @@ class TestDescriptionPerMinHugoVersion(TestDescription, TestCase):
|
|||||||
|
|
||||||
for x in inputs:
|
for x in inputs:
|
||||||
button = self.driver.find_element_by_id(
|
button = self.driver.find_element_by_id(
|
||||||
x
|
x).find_element_by_xpath('..')
|
||||||
).find_element_by_xpath('..')
|
|
||||||
|
|
||||||
self.min_ver = button.find_element_by_tag_name('label').text
|
self.min_ver = button.find_element_by_tag_name('label').text
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user