Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
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
Kyla Nicole Villegas
Lab1
Commits
dcb26e2e
Commit
dcb26e2e
authored
Mar 07, 2020
by
Kyla Villegas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uploading lab1 files
parent
a8c5a288
Pipeline
#922
failed with stages
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
geckodriver.log
geckodriver.log
+32
-0
lab1_functional_test.py
lab1_functional_test.py
+2
-2
No files found.
geckodriver.log
View file @
dcb26e2e
...
@@ -2011,3 +2011,35 @@ JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't fin
...
@@ -2011,3 +2011,35 @@ JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't fin
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583595932909 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\Admin\\AppData\\Local\\Temp\\rust_mozprofile8svKDb"
1583595933520 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583595934129 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583595934129 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583595934130 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583595934130 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.
1583595936344 Marionette INFO Listening on port 49360
1583595936540 Marionette WARN TLS certificate errors will be ignored for this session
1583595937808 Marionette INFO Stopped listening on port 49360
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
1583596009274 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\Admin\\AppData\\Local\\Temp\\rust_mozprofile3OG2jI"
1583596009947 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583596010579 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583596010579 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583596010579 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583596010580 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.
1583596012761 Marionette INFO Listening on port 49402
1583596012907 Marionette WARN TLS certificate errors will be ignored for this session
1583596014147 Marionette INFO Stopped listening on port 49402
###!!! [Child][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel::SendAndWait] Error: Channel error: cannot send/recv
lab1_functional_test.py
View file @
dcb26e2e
...
@@ -17,8 +17,6 @@ class NewVisitorTest(unittest.TestCase):
...
@@ -17,8 +17,6 @@ class NewVisitorTest(unittest.TestCase):
# She notices the page title and header mention
# She notices the page title and header mention
# 'The Will of the Wisps Wiki'
# 'The Will of the Wisps Wiki'
self
.
assertIn
(
'The Will of the Wisps Wiki'
,
self
.
browser
.
title
)
self
.
assertIn
(
'The Will of the Wisps Wiki'
,
self
.
browser
.
title
)
# header_text = self.browser.find_elements_by_tag_name('head')
# self.assertIn('The Will of the Wisps Wiki', header_text)
# She sees a list containing three heroes with their corresponding
# She sees a list containing three heroes with their corresponding
# names, health points, and damage
# names, health points, and damage
...
@@ -78,5 +76,7 @@ class NewVisitorTest(unittest.TestCase):
...
@@ -78,5 +76,7 @@ class NewVisitorTest(unittest.TestCase):
self
.
assertEqual
(
'http://localhost:8000/heroes'
,
self
.
browser
.
current_url
)
self
.
assertEqual
(
'http://localhost:8000/heroes'
,
self
.
browser
.
current_url
)
self
.
assertIn
(
'The Will of the Wisps Wiki'
,
self
.
browser
.
title
)
self
.
assertIn
(
'The Will of the Wisps Wiki'
,
self
.
browser
.
title
)
self
.
fail
(
'Finish the test!'
)
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
unittest
.
main
(
warnings
=
'ignore'
)
unittest
.
main
(
warnings
=
'ignore'
)
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