Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
WillOWisp_Lab1
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
Margarita Perez
WillOWisp_Lab1
Commits
f03b1a9e
Commit
f03b1a9e
authored
Mar 09, 2020
by
Margarita Perez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nearly last changes
parent
78b8cc53
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
geckodriver.log
geckodriver.log
+19
-0
detail_sunflowey.html
heroes/templates/detail_sunflowey.html
+1
-1
lab1_functional_test.py
lab1_functional_test.py
+3
-5
No files found.
geckodriver.log
View file @
f03b1a9e
...
@@ -1029,3 +1029,22 @@ JavaScript error: resource://gre/modules/osfile/osfile_async_front.jsm, line 426
...
@@ -1029,3 +1029,22 @@ JavaScript error: resource://gre/modules/osfile/osfile_async_front.jsm, line 426
1583770284492 Marionette INFO Listening on port 56623
1583770284492 Marionette INFO Listening on port 56623
1583770284518 Marionette WARN TLS certificate errors will be ignored for this session
1583770284518 Marionette WARN TLS certificate errors will be ignored for this session
1583770284645 Marionette INFO Stopped listening on port 56623
1583770284645 Marionette INFO Stopped listening on port 56623
1583771506878 Marionette INFO Stopped listening on port 56573
1583771509231 Marionette INFO Stopped listening on port 56463
1583771592659 mozrunner::runner INFO Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "-marionette" "-foreground" "-no-remote" "-profile" "/var/folders/jk/ncp9rjp91gn2rlr8sr1qkmb40000gn/T/rust_mozprofile9wHZGL"
1583771593081 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583771593318 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583771593318 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583771593318 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583771593318 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583771594955 Marionette INFO Listening on port 56697
1583771595054 Marionette WARN TLS certificate errors will be ignored for this session
1583771596105 mozrunner::runner INFO Running command: "/Applications/Firefox.app/Contents/MacOS/firefox-bin" "-marionette" "-foreground" "-no-remote" "-profile" "/var/folders/jk/ncp9rjp91gn2rlr8sr1qkmb40000gn/T/rust_mozprofileQXjG5c"
1583771596493 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583771596743 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583771596744 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583771596744 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583771596744 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583771598386 Marionette INFO Listening on port 56752
1583771598396 Marionette WARN TLS certificate errors will be ignored for this session
1583771598527 Marionette INFO Stopped listening on port 56752
heroes/templates/detail_sunflowey.html
View file @
f03b1a9e
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<dl>
<dl>
<dt>
Health Points
</dt><dd>
650
</dd>
<dt>
Health Points
</dt><dd>
650
</dd>
<dt>
Base Attack Damage
</dt><dd>
43
</dd>
<dt>
Base Attack Damage
</dt><dd>
43
</dd>
<dt>
Skills
</dt><dd
id =
"sunfloweykills"
>
Power Pellet, Sunshine, Pollen Punch
</dd>
<dt>
Skills
</dt><dd
id =
"sunfloweykills"
>
Power Pellet, Sunshine, Pollen Punch
</dd>
<dt>
Lore
</dt><dd
id =
"sunfloweyLore"
>
I am Sunflowey. Sometimes a sun, sometimes a flower.
</dd>
<dt>
Lore
</dt><dd
id =
"sunfloweyLore"
>
I am Sunflowey. Sometimes a sun, sometimes a flower.
</dd>
<dt><a
href=
"/heroes/"
>
Back to Heroes List
</a></dt>
<dt><a
href=
"/heroes/"
>
Back to Heroes List
</a></dt>
</dl>
</dl>
...
...
lab1_functional_test.py
View file @
f03b1a9e
...
@@ -49,7 +49,6 @@ class NewVisitorTest(unittest.TestCase):
...
@@ -49,7 +49,6 @@ class NewVisitorTest(unittest.TestCase):
sunflowey_damage
=
self
.
browser
.
find_element_by_id
(
'sunfloweyDamage'
)
sunflowey_damage
=
self
.
browser
.
find_element_by_id
(
'sunfloweyDamage'
)
self
.
assertIn
(
'Sunflowey'
,
sunflowey_damage
)
self
.
assertIn
(
'Sunflowey'
,
sunflowey_damage
)
# When she selects one of the heroes, she is sent to another page
# When she selects one of the heroes, she is sent to another page
# containing more information about the hero (additional stats, lore, image).
# containing more information about the hero (additional stats, lore, image).
#stats
#stats
...
@@ -60,7 +59,6 @@ class NewVisitorTest(unittest.TestCase):
...
@@ -60,7 +59,6 @@ class NewVisitorTest(unittest.TestCase):
sunflowey_skills
=
self
.
browser
.
find_element_by_tag_id
(
'sunfloweySkills'
)
sunflowey_skills
=
self
.
browser
.
find_element_by_tag_id
(
'sunfloweySkills'
)
self
.
assertIn
(
'Power Pellet, Sunshine, Pollen Punch'
,
sunflowey_skills
)
self
.
assertIn
(
'Power Pellet, Sunshine, Pollen Punch'
,
sunflowey_skills
)
#lore
#lore
cloud_lore
=
self
.
browser
.
find_element_by_tag_id
(
'cloudLore'
)
cloud_lore
=
self
.
browser
.
find_element_by_tag_id
(
'cloudLore'
)
self
.
assertIn
(
'I am a cloud. When I pee you call it "rain".'
,
cloud_lore
)
self
.
assertIn
(
'I am a cloud. When I pee you call it "rain".'
,
cloud_lore
)
...
@@ -73,17 +71,17 @@ class NewVisitorTest(unittest.TestCase):
...
@@ -73,17 +71,17 @@ class NewVisitorTest(unittest.TestCase):
#cloud
#cloud
self
.
browser
.
find_element_by_link_text
(
'cloud'
)
.
click
()
self
.
browser
.
find_element_by_link_text
(
'cloud'
)
.
click
()
self
.
assertIn
(
'/hero/cloud'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'/hero/cloud'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'Cloud'
,
self
.
browser
.
title
)
self
.
assertIn
(
'
Detail -
Cloud'
,
self
.
browser
.
title
)
#jester
#jester
self
.
browser
.
find_element_by_link_text
(
'jester'
)
.
click
()
self
.
browser
.
find_element_by_link_text
(
'jester'
)
.
click
()
self
.
assertIn
(
'/hero/jester'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'/hero/jester'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'Jester'
,
self
.
browser
.
title
)
self
.
assertIn
(
'
Detail -
Jester'
,
self
.
browser
.
title
)
#sunflowey
#sunflowey
self
.
browser
.
find_element_by_link_text
(
'sunflowey'
)
.
click
()
self
.
browser
.
find_element_by_link_text
(
'sunflowey'
)
.
click
()
self
.
assertIn
(
'/hero/sunflowey'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'/hero/sunflowey'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'Sunflowey'
,
self
.
browser
.
title
)
self
.
assertIn
(
'
Detail -
Sunflowey'
,
self
.
browser
.
title
)
# While she is in a specific hero's page, she sees a button labeled "Back to Heroes List".
# While she is in a specific hero's page, she sees a button labeled "Back to Heroes List".
# She clicks this and she is redirected back to the wiki's homepage.
# She clicks this and she is redirected back to the wiki's homepage.
...
...
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