Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
willowisp
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
Bienvenido Villabroza
willowisp
Commits
8889444f
Commit
8889444f
authored
Mar 07, 2020
by
thisLexic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
title and heading of detail page of cloud is correct
parent
3ea66a87
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
2 deletions
+17
-2
geckodriver.log
willowisp/geckodriver.log
+9
-0
tests.cpython-37.pyc
willowisp/heroes/__pycache__/tests.cpython-37.pyc
+0
-0
detail_cloud.html
willowisp/heroes/templates/heroes/detail_cloud.html
+2
-2
tests.py
willowisp/heroes/tests.py
+6
-0
No files found.
willowisp/geckodriver.log
View file @
8889444f
...
...
@@ -367,3 +367,12 @@ JavaScript error: resource://services-settings/RemoteSettingsClient.jsm, line 14
1583566668367 Marionette INFO Listening on port 34453
1583566668447 Marionette WARN TLS certificate errors will be ignored for this session
1583566670539 Marionette INFO Stopped listening on port 34453
1583567073159 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileqxS9ta"
1583567073870 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583567075407 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583567075407 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583567075408 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583567075408 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583567078349 Marionette INFO Listening on port 38017
1583567078381 Marionette WARN TLS certificate errors will be ignored for this session
1583567080341 Marionette INFO Stopped listening on port 38017
willowisp/heroes/__pycache__/tests.cpython-37.pyc
View file @
8889444f
No preview for this file type
willowisp/heroes/templates/heroes/detail_cloud.html
View file @
8889444f
...
...
@@ -2,11 +2,11 @@
<!DOCTYPE html>
<html>
<head>
<title>
Detail - Cloud
</title>
<title
id=
'title'
>
Detail - Cloud
</title>
</head>
<body>
<img
src=
"./cloud.png"
style=
"width: 10vw;"
/>
<h1>
Detail - Cloud
</h1>
<h1
id=
'heading'
>
Detail - Cloud
</h1>
<dl>
<dt>
Health Points
</dt><dd>
600
</dd>
<dt>
Base Attack Damage
</dt><dd>
57
</dd>
...
...
willowisp/heroes/tests.py
View file @
8889444f
...
...
@@ -45,6 +45,12 @@ class NewVisitorTest(unittest.TestCase):
# containing more information about the hero (additional stats, lore, image).
self
.
browser
.
get
(
'http://127.0.0.1:8000/heroes/cloud'
)
# She spots the page title and header mentions the name of the hero she selected.
detail
=
self
.
browser
.
find_element_by_id
(
'title'
)
self
.
assertEqual
(
detail
.
get_attribute
(
'innerHTML'
),
'Detail - Cloud'
)
detail
=
self
.
browser
.
find_element_by_id
(
'heading'
)
self
.
assertEqual
(
detail
.
get_attribute
(
'innerHTML'
),
'Detail - Cloud'
)
self
.
fail
(
'Finish the test!'
)
\ No newline at end of file
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