From 80b0075f14d70b47ad70feebc1c74403c06a0e29 Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Fri, 16 Mar 2012 15:26:07 -0400 Subject: [PATCH] Fixed test_that_user_can_select_run. --- test_homepage.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test_homepage.py b/test_homepage.py index d2d247f..5092d67 100644 --- a/test_homepage.py +++ b/test_homepage.py @@ -64,8 +64,8 @@ class TestHomepage(BaseTest): run = self.create_run(mozwebqa_logged_in, activate=True) home_pg.go_to_homepage_page() - home_pg.select_item(run['cycle']['product']['name']) - home_pg.select_item(run['cycle']['name']) + home_pg.select_item(run['version']['product']['name']) + home_pg.select_item(run['version']['name']) Assert.false(home_pg.is_element_visible(run['run_tests_locator'])) @@ -73,5 +73,4 @@ class TestHomepage(BaseTest): Assert.true(home_pg.is_element_visible(run['run_tests_locator'])) - # TODO: uncomment when platform allows for deleting activated cycles/runs - #self.delete_run(mozwebqa_logged_in, run, delete_cycle=True, delete_product=True) + self.delete_product(mozwebqa_logged_in, product=run['version']['product'])