Commit 28356ebe authored by thisLexic's avatar thisLexic

urls used are changed to follow lab specs

parent c73b4565
......@@ -423,3 +423,34 @@ JavaScript error: resource://services-settings/RemoteSettingsClient.jsm, line 14
1583567707423 Marionette WARN TLS certificate errors will be ignored for this session
1583567709832 Marionette INFO Stopped listening on port 32941
JavaScript error: resource://services-settings/RemoteSettingsClient.jsm, line 144: Error: Unknown callback
1583568021147 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileukJ9aq"
1583568021961 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583568023635 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583568023635 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583568023635 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583568023636 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583568026523 Marionette INFO Listening on port 46673
1583568026572 Marionette WARN TLS certificate errors will be ignored for this session
1583568028112 Marionette INFO Stopped listening on port 46673
JavaScript error: resource://activity-stream/lib/PlacesFeed.jsm, line 246: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsINavHistoryService.removeObserver]
JavaScript error: resource://services-settings/RemoteSettingsClient.jsm, line 144: Error: Unknown callback
console.error: (new Error("Connection closed before committing the transaction.", "resource://gre/modules/Sqlite.jsm", 683))
JavaScript error: resource://gre/modules/Sqlite.jsm, line 912: Error: Connection is not open.
1583568077462 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofilezTj5b0"
1583568078224 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583568080029 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583568080030 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583568080030 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583568080030 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583568083035 Marionette INFO Listening on port 32929
1583568083090 Marionette WARN TLS certificate errors will be ignored for this session
1583568085097 Marionette INFO Stopped listening on port 32929
1583568145080 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileIHfL04"
1583568145868 addons.webextension.doh-rollout@mozilla.org WARN Loading extension 'doh-rollout@mozilla.org': Reading manifest: Invalid extension permission: networkStatus
1583568147694 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
1583568147694 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: telemetry
1583568147694 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
1583568147694 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
1583568150523 Marionette INFO Listening on port 33803
1583568150597 Marionette WARN TLS certificate errors will be ignored for this session
1583568152877 Marionette INFO Stopped listening on port 33803
......@@ -13,6 +13,6 @@
<dt>Skills</dt><dd>Nimbus, Rain Cloud, Thunderbolt</dd>
<dt>Lore</dt><dd>I am a cloud. When I pee you call it 'rain'.</dd>
</dl>
<button><a href="/" id='button'>Back to Heroes List</a></button>
<button><a href="/heroes" id='button'>Back to Heroes List</a></button>
</body>
</html>
\ No newline at end of file
......@@ -12,6 +12,6 @@
<dt>Skills</dt><dd>Laugh, Dance, Smile</dd>
<dt>Lore</dt><dd>I do it for the LOLs.</dd>
</dl>
<button><a href="/" id='button'>Back to Heroes List</a></button>
<button><a href="/heroes" id='button'>Back to Heroes List</a></button>
</body>
</html>
\ No newline at end of file
......@@ -12,6 +12,6 @@
<dt>Skills</dt><dd>Power Pellet, Sunshine, Pollen Punch</dd>
<dt>Lore</dt><dd>I am Sunflowey. Sometimes a sun, sometimes a flower.</dd>
</dl>
<button><a href="/" id='button'>Back to Heroes List</a></button>
<button><a href="/heroes" id='button'>Back to Heroes List</a></button>
</body>
</html>
\ No newline at end of file
......@@ -46,7 +46,7 @@ class NewVisitorTest(unittest.TestCase):
# When she selects one of the heroes, she is sent to another page
# containing more information about the hero (additional stats, lore, image).
self.browser.get('http://127.0.0.1:8000/heroes/cloud')
self.browser.get('http://127.0.0.1:8000/hero/cloud')
# She spots the page title and header mentions the name of the hero she selected.
detail = self.browser.find_element_by_id('title')
......
......@@ -3,7 +3,8 @@ from .views import home_page, cloud, jester, sunflowey
urlpatterns = [
url(r'^$', home_page, name = 'home_page'),
url(r'^heroes/cloud$', cloud, name = 'cloud'),
url(r'^heroes/jester$', jester, name = 'jester'),
url(r'^heroes/sunflowey$', sunflowey, name = 'sunflowey'),
url(r'^heroes$', home_page, name = 'home_page'),
url(r'^hero/cloud$', cloud, name = 'cloud'),
url(r'^hero/jester$', jester, name = 'jester'),
url(r'^hero/sunflowey$', sunflowey, name = 'sunflowey'),
]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment