Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606835595-practice
Commits
5c3353ac
Commit
5c3353ac
authored
Sep 18, 2019
by
Kevin Albert Simanjuntak
Browse files
fixed functional_tests.py
parent
ce2962f1
Pipeline
#19960
passed with stage
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functional_tests.py
View file @
5c3353ac
...
...
@@ -15,10 +15,9 @@ class NewVisitorTest(unittest.TestCase):
self
.
browser
.
get
(
'http://localhost:8000/homepage'
)
# She notices the page title and header mention to-do lists
head_text
=
self
.
browser
.
find_element_by_tag_name
(
'head'
).
text
body_text
=
self
.
browser
.
find_element_by_tag_name
(
'body'
).
text
self
.
assertIn
(
'To-Do'
,
self
.
browser
.
title
)
self
.
assertIn
(
'Kevin Albert Simanjuntak'
,
paragraph1
_text
)
self
.
assertIn
(
'Kevin Albert Simanjuntak'
,
body
_text
)
self
.
assertIn
(
'NPM'
,
body_text
)
# She is invited to enter a to-do item straight away
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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