]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/tests/faq_page.py
resolves an issue with the vertical alignment of the text in the form buttons
[osqa.git] / forum / skins / default / tests / faq_page.py
1 from selenium import selenium
2 import unittest, time, re
3
4 class faq_page(unittest.TestCase):
5     def setUp(self):
6         self.verificationErrors = []
7         self.selenium = selenium("localhost", 4444, "*chrome", "http://127.0.0.1:8000/")
8         self.selenium.start()
9     
10     def test_faq_page(self):
11         sel = self.selenium
12         sel.open("/faq/")
13         try: self.failUnless(sel.is_text_present("FAQ"))
14         except AssertionError, e: self.verificationErrors.append(str(e))
15     
16     def tearDown(self):
17         self.selenium.stop()
18         self.assertEqual([], self.verificationErrors)
19
20 if __name__ == "__main__":
21     unittest.main()