diff --git a/test/DailyImageWidgetTest.html b/test/DailyImageWidgetTest.html index c74722d..bf53656 100644 --- a/test/DailyImageWidgetTest.html +++ b/test/DailyImageWidgetTest.html @@ -3,7 +3,7 @@ - + DailyImageWidgetTest @@ -99,22 +99,22 @@ assertText - //li[@id='hubblesite-daily-image']/h2 + //*[@id='hubblesite-daily-image']/h2 HubbleSite Daily Image assertElementPresent - //li[@id='hubblesite-daily-image']/a[contains(@href,'hubblesite.org/gallery/album')] + //*[@id='hubblesite-daily-image']/a[contains(@href,'hubblesite.org/gallery/album')] storeAttribute - //li[@id='hubblesite-daily-image']/a[contains(@href,'hubblesite.org/gallery/album')]@title + //*[@id='hubblesite-daily-image']/a[contains(@href,'hubblesite.org/gallery/album')]@title title assertElementPresent - //li[@id='hubblesite-daily-image']//img[contains(@src,'imgsrc.hubblesite.org') and @alt="${title}"] + //*[@id='hubblesite-daily-image']//img[contains(@src,'imgsrc.hubblesite.org') and @alt="${title}"] @@ -129,12 +129,12 @@ uncheck - //input[@name="hubblesite[title]"] + //div[@id='widgets-right']//div[contains(@id,'hubblesite-daily-image')]//input[contains(@name, 'title')] check - //input[@name="hubblesite[credits]"] + //div[@id='widgets-right']//div[contains(@id,'hubblesite-daily-image')]//input[contains(@name, 'credits')]