def test_slowly_typing(self):
        "should be able to slowly type some text in a field"
        for name in ['type-input', 'type-textarea']:
            self.browser.visit(EXAMPLE_APP + 'type')
            num = 0
            num_max = 6
            for key in self.browser.type(name, 'typing', slowly=True):
                self.assertEqual(self.browser.is_text_present("#%d" % num), True)
                num += 1
            self.assertEqual(num, num_max)

            element = self.browser.find_by_name(name)
            self.assertEqual(element.value, 'typing')
dataset/ETHPy150Open cobrateam/splinter/tests/type.py/SlowlyTypeTest.test_slowly_typing/original