Skip to content

Commit 4fde465

Browse files
Final before submission
1 parent bdefb36 commit 4fde465

File tree

14 files changed

+66
-5
lines changed

14 files changed

+66
-5
lines changed

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dashboard.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
enabled: false
5454
},
5555
title: {
56-
text: 'SeleniumBase Dashboard ⚪'
56+
text: 'Group 9 Test Result Dashboard'
5757
},
5858
subtitle: {
5959
text: ''
@@ -161,7 +161,7 @@
161161

162162
{
163163
name: 'Untested',
164-
y: 2,
164+
y: 0,
165165
color: '#eaeaea'
166166
},
167167

@@ -173,13 +173,13 @@
173173

174174
{
175175
name: 'Failed',
176-
y: 0,
176+
y: 2,
177177
color: '#f17476'
178178
},
179179

180180
]
181181
}]
182182
});
183183
</script>
184-
<div></div><table border="1px solid #e6e6e6;" width="100%;" padding: 5px; font-size="12px;" text-align="left;" id="results-table"><thead id="results-table-head"><tr style="background-color: #F7F7FD;"><th col="result">Result</th><th col="name">Test</th><th col="duration">Duration</th><th col="links">Links</th></tr></thead><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_cart.py::CartPageTest::test_add_to_cart_LoggedIn</td><td>28.89</td><td>-</td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_cart.py::CartPageTest::test_add_to_cart_NotLoggedIn</td><td>16.34</td><td>-</td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_home.py::HomePageTest::test_header_links</td><td>14.35</td><td>-</td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_home.py::HomePageTest::test_home_page</td><td>9.08</td><td>-</td></tr></tbody><tbody class="untested results-table-row"><tr><td class="col-result">Unreported</td><td>tests/test_login.py::LoginTest::test_login_page</td><td>-</td><td>-</td></tr></tbody><tbody class="untested results-table-row"><tr><td class="col-result">Unreported</td><td>tests/test_login.py::LoginTest::test_registration_page</td><td>-</td><td>-</td></tr></tbody></table><br /><b>Last updated:</b> Wednesday, February 22, 2023 at 12:05:25 AM (EDT, UTC-05:00)<p></p><div><b>Status:</b> Test Run ENDED: Some results UNREPORTED due to skipped tearDown()</div><p></p><p><div>Generated by: <b><a href="https://seleniumbase.io/">SeleniumBase</a></b></div></p><p></p><script type="text/javascript" src="assets/live.js#html"></script>
184+
<div></div><table border="1px solid #e6e6e6;" width="100%;" padding: 5px; font-size="12px;" text-align="left;" id="results-table"><thead id="results-table-head"><tr style="background-color: #F7F7FD;"><th col="result">Result</th><th col="name">Test</th><th col="duration">Duration</th><th col="links">Links</th></tr></thead><tbody class="failed results-table-row"><tr style="background-color: #FFF8F8;"><td class="col-result">Failed</td><td>tests/test_cart.py::CartPageTest::test_add_to_cart_LoggedIn</td><td>20.62</td><td><a href="latest_logs/">Logs</a> / <a href="latest_logs/tests.test_cart.CartPageTest.test_add_to_cart_LoggedIn/">Data</a></td></tr></tbody><tbody class="failed results-table-row"><tr style="background-color: #FFF8F8;"><td class="col-result">Failed</td><td>tests/test_cart.py::CartPageTest::test_add_to_cart_NotLoggedIn</td><td>9.75</td><td><a href="latest_logs/">Logs</a> / <a href="latest_logs/tests.test_cart.CartPageTest.test_add_to_cart_NotLoggedIn/">Data</a></td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_home.py::HomePageTest::test_header_links</td><td>13.78</td><td>-</td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_home.py::HomePageTest::test_home_page</td><td>9.33</td><td>-</td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_login.py::LoginTest::test_login_page</td><td>10.42</td><td>-</td></tr></tbody><tbody class="passed results-table-row"><tr style="background-color: #F8FFF8;"><td class="col-result">Passed</td><td>tests/test_login.py::LoginTest::test_registration_page</td><td>37.92</td><td>-</td></tr></tbody></table><br /><b>Last updated:</b> Wednesday, February 22, 2023 at 5:25:34 PM (EDT, UTC-05:00)<p></p><div><b>Status:</b> Test Run Complete: <b>2 tests failed!</b> --- (<b><a href="latest_logs/">See latest logs for details</a></b>)</div><p></p><p><div>Generated by: <b><a href="https://seleniumbase.io/">SeleniumBase</a></b></div></p><p></p><script type="text/javascript" src="assets/live.js#html"></script>
185185
<!--Test Run Complete-->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
tests/test_cart.py::CartPageTest::test_add_to_cart_LoggedIn
2+
--------------------------------------------------------------------
3+
Last Page: https://dishdelish.netlify.app/
4+
Duration: 20.62s
5+
Browser: Chrome 110.0.5481.100 / headless
6+
Driver: chromedriver 110.0.5481.77
7+
Timestamp: 1677104646 (Unix Timestamp)
8+
Date: Wednesday, February 22, 2023
9+
Time: 5:24:06 PM (EDT, UTC-05:00)
10+
--------------------------------------------------------------------
11+
Traceback: File "/Users/nishant/opt/anaconda3/lib/python3.9/unittest/case.py", line 592, in run
12+
self._callTestMethod(testMethod)
13+
File "/Users/nishant/opt/anaconda3/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
14+
method()
15+
File "/Users/nishant/Desktop/Python_Projects/Selenium/tests/test_cart.py", line 54, in test_add_to_cart_LoggedIn
16+
self.UserLoggedIn();
17+
File "/Users/nishant/Desktop/Python_Projects/Selenium/page_objects/cart_page.py", line 53, in UserLoggedIn
18+
self.click(self.search_using_menu);
19+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 360, in click
20+
element = page_actions.wait_for_element_visible(
21+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/page_actions.py", line 465, in wait_for_element_visible
22+
timeout_exception(NoSuchElementException, message)
23+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/page_actions.py", line 228, in timeout_exception
24+
raise exc(msg)
25+
Exception: Message:
26+
Element {.//h6[text()='Namaste']} was not present after 7 seconds!

latest_logs/tests.test_cart.CartPageTest.test_add_to_cart_LoggedIn/page_source.html

+2
Large diffs are not rendered by default.
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
tests/test_cart.py::CartPageTest::test_add_to_cart_NotLoggedIn
2+
--------------------------------------------------------------------
3+
Last Page: https://dishdelish.netlify.app/
4+
Duration: 9.75s
5+
Browser: Chrome 110.0.5481.100 / headless
6+
Driver: chromedriver 110.0.5481.77
7+
Timestamp: 1677104657 (Unix Timestamp)
8+
Date: Wednesday, February 22, 2023
9+
Time: 5:24:17 PM (EDT, UTC-05:00)
10+
--------------------------------------------------------------------
11+
Traceback: File "/Users/nishant/opt/anaconda3/lib/python3.9/unittest/case.py", line 592, in run
12+
self._callTestMethod(testMethod)
13+
File "/Users/nishant/opt/anaconda3/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
14+
method()
15+
File "/Users/nishant/Desktop/Python_Projects/Selenium/tests/test_cart.py", line 15, in test_add_to_cart_NotLoggedIn
16+
self.slow_click(self.search_text);
17+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 604, in slow_click
18+
self.click(selector, by=by, timeout=timeout, delay=1.05)
19+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/base_case.py", line 360, in click
20+
element = page_actions.wait_for_element_visible(
21+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/page_actions.py", line 465, in wait_for_element_visible
22+
timeout_exception(NoSuchElementException, message)
23+
File "/Users/nishant/opt/anaconda3/lib/python3.9/site-packages/seleniumbase/fixtures/page_actions.py", line 228, in timeout_exception
24+
raise exc(msg)
25+
Exception: Message:
26+
Element {.//h6[text()='Asha tiffins']} was not present after 7 seconds!

latest_logs/tests.test_cart.CartPageTest.test_add_to_cart_NotLoggedIn/page_source.html

+2
Large diffs are not rendered by default.
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

tests/test_registration.py

-1
This file was deleted.

0 commit comments

Comments
 (0)