summaryrefslogtreecommitdiff
path: root/tests/jsbspace.py
blob: b29d44b994f20494d0a9d76774c37dbdf12d4f6d (plain)
1
2
3
4
5
6
7
8
9
10
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)