summaryrefslogtreecommitdiff
path: root/tests/jsbspace.py
diff options
context:
space:
mode:
authorGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-05-08 17:25:29 +0600
committerGravatar Artyom Shalkhakov <artyom.shalkhakov@gmail.com>2018-05-08 17:25:29 +0600
commit1078553f5a8de2a5e85dbd49058370afeefa68c7 (patch)
tree5ad865ff4d91578fa2923930a83b6ffd003d3fd4 /tests/jsbspace.py
parentc293746d4c34ccb7abb8af41f7d05940aa7e4076 (diff)
Adding jsbspace for #121.
Diffstat (limited to 'tests/jsbspace.py')
-rw-r--r--tests/jsbspace.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/jsbspace.py b/tests/jsbspace.py
new file mode 100644
index 00000000..b29d44b9
--- /dev/null
+++ b/tests/jsbspace.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('Some \btext', alert.text)