- Timestamp:
- 15 Dec 2014, 06:45:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/documents/tests/test_browser.py
r12237 r12238 217 217 self.browser.getControl(name="form.html_multilang").value = """ 218 218 <h1>Hello World</h1> 219 >>de<< 220 <h1>Hallo Welt</h1> 219 221 """ 220 222 self.browser.getControl("Save").click() … … 224 226 self.assertTrue( 225 227 '<h1>Hello World</h1>' in self.browser.contents) 228 self.assertFalse( 229 '<h1>Hallo Welt</h1>' in self.browser.contents) 230 self.browser.getLink("de").click() 231 self.assertFalse( 232 '<h1>Hello World</h1>' in self.browser.contents) 233 self.assertTrue( 234 '<h1>Hallo Welt</h1>' in self.browser.contents) 226 235 227 236 # Transitions can be performed … … 229 238 self.browser.getLink("Transition").click() 230 239 self.browser.getControl(name="transition").value = ['publish'] 231 self.browser.getControl("S ave").click()240 self.browser.getControl("Speichern").click() 232 241 self.assertEqual(document.state, 'published') 233 242 234 243 # Documents can be removed 244 self.browser.getLink("en", index=2).click() 235 245 self.browser.getLink("Documents").click() 236 246 self.browser.getLink("Manage").click()
Note: See TracChangeset for help on using the changeset viewer.