Fakultas Ilmu Komputer UI

Commit 17203989 authored by Muhammad Ilham Peruzzi's avatar Muhammad Ilham Peruzzi
Browse files

Add regex in test case and add new functional test for new user

parent 9952bb30
......@@ -56,4 +56,8 @@ class NewVisitorTest(LiveServerTestCase):
inputbox.send_keys('Activity' + str(i))
inputbox.send_keys(Keys.ENTER)
assert 'oh tidak' in self.browser.page_source
\ No newline at end of file
assert 'oh tidak' in self.browser.page_source
edith_list_url = self.browser.current_url
self.assertRegex(edith_list_url, '/lists/.+')
self.check_for_row_in_list_table('1: Buy peacock feathers')
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment