Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606823475-practice
Commits
17203989
Commit
17203989
authored
Sep 29, 2019
by
Muhammad Ilham Peruzzi
Browse files
Add regex in test case and add new functional test for new user
parent
9952bb30
Changes
1
Hide whitespace changes
Inline
Side-by-side
functional_tests/tests.py
View file @
17203989
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment