mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 7123012427f92f0dc38a120e6e86a75b6c03aab5
This commit is contained in:
parent
912359fcbd
commit
b492a3e8b1
45 changed files with 688 additions and 232 deletions
|
@ -11,12 +11,12 @@ class ForwardTest(base_test.WebDriverBaseTest):
|
|||
def test_forward(self):
|
||||
self.driver.get(self.webserver.where_is('navigation/res/forwardStart.html'))
|
||||
self.driver.get(self.webserver.where_is('navigation/res/forwardNext.html'))
|
||||
nextbody = self.driver.find_element_by_css("body").text
|
||||
self.driver.go_back()
|
||||
currbody = self.driver.find_element_by_css("body").text
|
||||
nextbody = self.driver.find_element_by_css_selector("body").text
|
||||
self.driver.back()
|
||||
currbody = self.driver.find_element_by_css_selector("body").text
|
||||
self.assertNotEqual(nextbody, currbody)
|
||||
self.driver.go_forward()
|
||||
currbody = self.driver.find_element_by_css("body").text
|
||||
self.driver.forward()
|
||||
currbody = self.driver.find_element_by_css_selector("body").text
|
||||
self.assertEqual(nextbody, currbody)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue