forked from mrlan/EnglishPal
Close the web browswer after finishing each test case
parent
49ead93bcb
commit
a4db1edffb
|
@ -33,4 +33,5 @@ def test_bug551(driver, URL):
|
||||||
font_weight = word.value_of_css_property("font-weight")
|
font_weight = word.value_of_css_property("font-weight")
|
||||||
assert font_weight == expected_font_weight, f"选中部分的单词的字体样式错误"
|
assert font_weight == expected_font_weight, f"选中部分的单词的字体样式错误"
|
||||||
|
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
driver.quit()
|
||||||
|
|
Loading…
Reference in New Issue