From 4f4c3a0052242733f6d986e1f49b23ba87279f1e Mon Sep 17 00:00:00 2001 From: Harry Date: Wed, 19 Feb 2025 00:02:51 +0000 Subject: [PATCH] flesh out a traceback --- chapter_26_page_pattern.asciidoc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/chapter_26_page_pattern.asciidoc b/chapter_26_page_pattern.asciidoc index bf8ece9a..3f875068 100644 --- a/chapter_26_page_pattern.asciidoc +++ b/chapter_26_page_pattern.asciidoc @@ -396,15 +396,25 @@ It's long past time to run the FT and check if all of this works! [subs="specialcharacters,macros"] ---- $ pass:quotes[*python src/manage.py test functional_tests.test_sharing*] - +[...] + File "...goat-book/src/functional_tests/test_sharing.py", line 35, in +test_can_share_a_list_with_another_user share_box = list_page.get_share_box() [...] + return self.test.browser.find_element( + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + By.CSS_SELECTOR, + ^^^^^^^^^^^^^^^^ + 'input[name="sharee"]', + ^^^^^^^^^^^^^^^^^^^^^^^ + [...] selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: input[name="sharee"]; [...] ---- -That's the expected failure; we don't have an input for email addresses -of people to share with. Let's do a commit: +That's the expected failure; +we don't have an input for email addresses of people to share with. +Let's do a commit: [subs="specialcharacters,quotes"]