Correct test workflow

Sanity check test `test_delete_image` starts failed after selenium
upgrade to latest version. After investigation was found out that this
test uses incrorrect argument for call.

Change-Id: I82af75435bd169915c33a49318cd74abe3733c46
Closes-Bug: #1592338
This commit is contained in:
Nikolay Starodubtsev 2016-06-14 13:03:09 +03:00
parent 4efac4428c
commit 96677191a9
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class TestSuiteImage(base.ImageTestCase):
self.driver.find_element_by_xpath(
c.DeleteImageMeta.format(self.image_title)).click()
self.driver.find_element_by_xpath(c.ConfirmDeletion).click()
self.check_element_not_on_page(by.By,
self.check_element_not_on_page(by.By.XPATH,
c.TestImage.format(self.image_title))
self.repair_image()