Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Django Lab 1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Keith Adrian Santos
Django Lab 1
Commits
493b8d98
Commit
493b8d98
authored
Mar 06, 2020
by
Keith Adrian Santos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the list checker
parent
70f1f870
Pipeline
#792
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lab1_functional_test.py
lab1_functional_test.py
+5
-3
No files found.
lab1_functional_test.py
View file @
493b8d98
...
...
@@ -20,9 +20,11 @@ class NewVisitorTest(unittest.TestCase):
# She sees a list containing three heroes with their corresponding
# names, health points, and damage
listtext
=
self
.
browser
.
find_element_by_tag_name
(
'li'
)
.
text
self
.
assertTrue
(
'Cloud'
in
listtext
)
textholder
=
self
.
browser
.
find_element_by_tag_name
(
'li'
)
.
text
self
.
assertTrue
(
'Cloud'
,
'600'
,
'57'
in
textholder
)
self
.
assertTrue
(
'Jester'
,
'660'
,
'64'
in
textholder
)
self
.
assertTrue
(
'Sunflowey'
,
'650'
,
'43'
in
textholder
)
# When she selects one of the heroes, she is sent to another page
# containing more information about the hero (additional stats, lore, image).
...
...
Write
Preview
Markdown
is supported
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