summaryrefslogtreecommitdiff
path: root/tests/activeEmpty.py
blob: 8872833a89b46a2c88282ae4aa8bec479db353e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import unittest
import base

class Suite(base.Base):
    def test_1(self):
        """Test case 1"""
        self.start()
        alert = self.driver.switch_to.alert
        self.assertEqual("Howdy, neighbor!", alert.text)
        alert.accept()
        txt = self.body_text()
        self.assertEqual("This one ain't empty.", txt)