summaryrefslogtreecommitdiff
path: root/tests/appjs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/appjs.py')
-rw-r--r--tests/appjs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/appjs.py b/tests/appjs.py
new file mode 100644
index 00000000..02ac2193
--- /dev/null
+++ b/tests/appjs.py
@@ -0,0 +1,11 @@
+import unittest
+import base
+
+class Suite(base.Base):
+ def test_1(self):
+ """Test case 1"""
+ self.start()
+ el = self.xpath('button')
+ el.click()
+ alert = self.driver.switch_to.alert
+ self.assertEqual("3", alert.text)