Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
1
1506688872-practice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PMPL
Collection of Practice
2019
1506688872-practice
Commits
04a7a7d8
Commit
04a7a7d8
authored
5 years ago
by
vitosavero
Browse files
Options
Downloads
Patches
Plain Diff
fix functionality test
parent
f2bbfbb3
No related branches found
No related tags found
1 merge request
!1
Homepage
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
superlists/functional_tests.py
+6
-2
6 additions, 2 deletions
superlists/functional_tests.py
superlists/geckodriver.log
+242
-0
242 additions, 0 deletions
superlists/geckodriver.log
with
248 additions
and
2 deletions
superlists/functional_tests.py
+
6
−
2
View file @
04a7a7d8
...
...
@@ -5,7 +5,7 @@ class NewVisitorTest(unittest.TestCase):
def
setUp
(
self
):
self
.
browser
=
webdriver
.
Firefox
()
self
.
browser
.
implicitly_wait
(
3
)
self
.
browser
.
implicitly_wait
(
3
00
)
def
tearDown
(
self
):
self
.
browser
.
quit
()
...
...
@@ -13,7 +13,11 @@ class NewVisitorTest(unittest.TestCase):
def
test_can_start
(
self
):
self
.
browser
.
get
(
'
http://localhost:8000
'
)
self
.
assertIn
(
'
Homepage
'
,
self
.
browser
.
title
)
self
.
fail
(
'
Finish the test!
'
)
checkBody
=
self
.
browser
.
page_source
self
.
assertIn
(
'
Hello World!
'
,
checkBody
)
self
.
assertIn
(
'
Vitosavero Avila Wibisono
'
,
checkBody
)
self
.
assertIn
(
'
1506688872
'
,
checkBody
)
if
__name__
==
'
__main__
'
:
unittest
.
main
(
warnings
=
'
ignore
'
)
This diff is collapsed.
Click to expand it.
superlists/geckodriver.log
+
242
−
0
View file @
04a7a7d8
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment