rsjudge17 / ubiquity-xforms

Automatically exported from code.google.com/p/ubiquity-xforms
0 stars 0 forks source link

Selnium driver pages are not detecting successful submissions in Safari if @replace="all" #583

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Pending the resolution of issue 581, replace="all" submissions work correctly 
in Safari. However, all of the related W3C tests fail when run in Selenium, 
because the locators used are failing to pick up the submission result.

For instance, in 11.1.a, the submission can be seen to work and the page is 
replaced by the correct result data. However, the Selenese locator 
'/html/body/pre' does not match any element in the DOM, according to the 
error in Selenium. Further, changing this locator to simply '//pre' also does 
not enable Selenium to fetch an element from the DOM.

Original issue reported on code.google.com by phil.boo...@gtempaccount.com on 7 Oct 2009 at 11:30

GoogleCodeExporter commented 9 years ago
With fresh, Monday-morning eyes, I've noticed that many of the chapter 11 
driver 
pages are using the wrong syntax for the locator argument (missing the 'xpath=' 
prefix). No idea why this wasn't a problem in Firefox and IE but, whatever, 
correcting the driver pages allows lots of tests to pass in Safari.

Also, there were a whole bunch of driver pages that were actually using 
non-existing 
Selenese commands, probably a copy/paste error. These tests were failing in all 
three 
browsers I tried and I took the liberty of fixing them in the same commit.

Fix went into trunk at r3052.

Original comment by phil.boo...@gtempaccount.com on 12 Oct 2009 at 10:50

GoogleCodeExporter commented 9 years ago

Original comment by phil.boo...@gtempaccount.com on 12 Oct 2009 at 10:51