Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
Lab1-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
Abigail Moreno
Lab1-Willowisp
Commits
7cfdac4f
Commit
7cfdac4f
authored
Mar 10, 2020
by
abbeeeeyyyyy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the final bug
parent
34fe90df
Pipeline
#954
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
164 additions
and
13 deletions
+164
-13
geckodriver.log
willowisp/geckodriver.log
+151
-0
heroes.html
willowisp/heroes/templates/heroes.html
+2
-2
lab1_functional_test.py
willowisp/lab1_functional_test.py
+11
-11
No files found.
willowisp/geckodriver.log
View file @
7cfdac4f
...
...
@@ -526,3 +526,154 @@ JavaScript error: resource://gre/modules/NewTabUtils.jsm, line 669: NS_ERROR_UNE
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583849718866 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\ABBYMO~1\\AppData\\Local\\Temp\\rust_mozprofilehGcAp3"
1583849719480 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583849720753 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583849720753 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583849720754 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583849720754 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1583849723290 Marionette INFO Listening on port 63789
1583849723789 Marionette WARN TLS certificate errors will be ignored for this session
1583849724972 Marionette INFO Stopped listening on port 63789
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583849896344 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\ABBYMO~1\\AppData\\Local\\Temp\\rust_mozprofileMUUDEH"
1583849897313 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583849898569 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583849898569 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583849898569 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583849898569 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1583849900380 Marionette INFO Listening on port 63869
1583849900658 Marionette WARN TLS certificate errors will be ignored for this session
1583849902227 Marionette INFO Stopped listening on port 63869
JavaScript error: resource://gre/modules/NewTabUtils.jsm, line 669: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavHistoryService.asyncExecuteLegacyQuery]
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583849985958 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\ABBYMO~1\\AppData\\Local\\Temp\\rust_mozprofileUvGljQ"
1583849986586 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583849987883 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583849987883 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583849987884 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583849987884 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1583849989780 Marionette INFO Listening on port 63928
1583849990272 Marionette WARN TLS certificate errors will be ignored for this session
1583849992242 Marionette INFO Stopped listening on port 63928
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
1583850019980 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\ABBYMO~1\\AppData\\Local\\Temp\\rust_mozprofileuOm63r"
1583850020586 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583850021739 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583850021739 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583850021739 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583850021739 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1583850024550 Marionette INFO Listening on port 63964
1583850024899 Marionette WARN TLS certificate errors will be ignored for this session
1583850027475 Marionette INFO Stopped listening on port 63964
1583850028006 addons.xpi WARN Addon with ID amazondotcom@search.mozilla.org already installed, older version will be disabled
1583850028007 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028007 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028049 addons.xpi WARN Addon with ID bing@search.mozilla.org already installed, older version will be disabled
1583850028049 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028049 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028068 addons.xpi WARN Addon with ID google@search.mozilla.org already installed, older version will be disabled
1583850028069 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028069 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028089 addons.xpi WARN Addon with ID twitter@search.mozilla.org already installed, older version will be disabled
1583850028090 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028090 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028121 addons.xpi WARN Addon with ID wikipedia@search.mozilla.org already installed, older version will be disabled
1583850028122 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028122 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028134 addons.xpi WARN Addon with ID ddg@search.mozilla.org already installed, older version will be disabled
1583850028135 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
makeAddonVisible@XPIDatabase.jsm:2267:10
addToDatabase@XPIDatabase.jsm:2194:12
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
1583850028135 addons.xpi-utils WARN Error: XPI database modified after shutdown began(resource://gre/modules/addons/XPIDatabase.jsm:1464:17) JS Stack trace: saveChanges@XPIDatabase.jsm:1464:17
addToDatabase@XPIDatabase.jsm:2197:10
install@XPIInstall.jsm:4338:27
update@XPIProvider.jsm:2046:13
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583850174289 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\ABBYMO~1\\AppData\\Local\\Temp\\rust_mozprofile4iJ4Q8"
1583850175077 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583850176390 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583850176390 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583850176390 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583850176390 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1583850178828 Marionette INFO Listening on port 64021
1583850179204 Marionette WARN TLS certificate errors will be ignored for this session
1583850181146 Marionette INFO Stopped listening on port 64021
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583850233447 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\ABBYMO~1\\AppData\\Local\\Temp\\rust_mozprofilef0UEdq"
1583850234057 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583850235460 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583850235460 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583850235460 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583850235460 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
1583850237829 Marionette INFO Listening on port 64066
1583850237870 Marionette WARN TLS certificate errors will be ignored for this session
1583850239816 Marionette INFO Stopped listening on port 64066
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
willowisp/heroes/templates/heroes.html
View file @
7cfdac4f
...
...
@@ -26,8 +26,8 @@
<dl>
<dt>
Health Points
</dt>
<dd
id=
"hp-sunflowey"
>
650
</dd>
<dt>
id="d-sunflowey">
Base Attack Damage
</dt>
<dd>
43
</dd>
<dt>
Base Attack Damage
</dt>
<dd
id=
"d-sunflowey"
>
43
</dd>
</dl>
</body>
...
...
willowisp/lab1_functional_test.py
View file @
7cfdac4f
...
...
@@ -20,17 +20,17 @@ class NewVisitorTest(unittest.TestCase):
# She sees a list containing three heroes with their corresponding
# names, health points, and damage
self
.
assertIn
(
'Jester'
,
self
.
browser
.
find_element_by_id
(
'jester'
))
self
.
assertIn
(
'660'
,
self
.
browser
.
find_element_by_id
(
'hp-jester'
))
self
.
assertIn
(
'64'
,
self
.
browser
.
find_element_by_id
(
'd-jester'
))
self
.
assertIn
(
'Jester'
,
self
.
browser
.
find_element_by_id
(
'jester'
)
.
text
)
self
.
assertIn
(
'660'
,
self
.
browser
.
find_element_by_id
(
'hp-jester'
)
.
text
)
self
.
assertIn
(
'64'
,
self
.
browser
.
find_element_by_id
(
'd-jester'
)
.
text
)
self
.
assertIn
(
'Cloud'
,
self
.
browser
.
find_element_by_id
(
'cloud'
))
self
.
assertIn
(
'600'
,
self
.
browser
.
find_element_by_id
(
'hp-cloud'
))
self
.
assertIn
(
'57'
,
self
.
browser
.
find_element_by_id
(
'd-cloud'
))
self
.
assertIn
(
'Cloud'
,
self
.
browser
.
find_element_by_id
(
'cloud'
)
.
text
)
self
.
assertIn
(
'600'
,
self
.
browser
.
find_element_by_id
(
'hp-cloud'
)
.
text
)
self
.
assertIn
(
'57'
,
self
.
browser
.
find_element_by_id
(
'd-cloud'
)
.
text
)
self
.
assertIn
(
'Sunflowey'
,
self
.
browser
.
find_element_by_id
(
'sunflowey'
))
self
.
assertIn
(
'650'
,
self
.
browser
.
find_element_by_id
(
'hp-sunflowey'
))
self
.
assertIn
(
'43'
,
self
.
browser
.
find_element_by_id
(
'd-sunflowey'
))
self
.
assertIn
(
'Sunflowey'
,
self
.
browser
.
find_element_by_id
(
'sunflowey'
)
.
text
)
self
.
assertIn
(
'650'
,
self
.
browser
.
find_element_by_id
(
'hp-sunflowey'
)
.
text
)
self
.
assertIn
(
'43'
,
self
.
browser
.
find_element_by_id
(
'd-sunflowey'
)
.
text
)
# When she selects one of the heroes, she is sent to another page
...
...
@@ -68,14 +68,14 @@ class NewVisitorTest(unittest.TestCase):
# She spots the page title and header mentions the name of the hero she selected.
self
.
assertIn
(
'Detail - Sunflowey'
,
self
.
browser
.
title
)
self
.
assertIn
(
'Detail - Su
u
nflowey'
,
self
.
browser
.
find_element_by_tag_name
(
'h1'
)
.
text
)
self
.
assertIn
(
'Detail - Sunflowey'
,
self
.
browser
.
find_element_by_tag_name
(
'h1'
)
.
text
)
# 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.
homePageLink
=
self
.
browser
.
find_element_by_link_text
(
'Back to Heroes List'
)
homePageLink
.
click
()
#
self.fail('Finish the test!')
self
.
fail
(
'Finish the test!'
)
...
...
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