def test_html_interractive_asset_plays_from_resource(self):
     resPage = ResourceViewPageSS(self.driver, self.wait, html_interactive_asset_resourceId)
     resPage.clickInterractiveAsset()
     firstPageTitle = self.driver.title
     resPage.clickLinkOnPageByIndex(2)
     secondPageTitle = self.driver.title
     self.assertNotEqual(firstPageTitle, secondPageTitle, "No interaction was performed with the asset")
 def test_flash_interractive_asset_plays_from_resource(self):
     resPage = ResourceViewPageSS(self.driver, self.wait, flash_interactive_asset_resourceId)
     new_page = resPage.clickInterractiveAsset()
     self.assertTrue(new_page.elementExistsById("flash"), "Pop-up contains no interactive flash")