-
Notifications
You must be signed in to change notification settings - Fork 0
/
behave-report.html
59 lines (57 loc) · 21.6 KB
/
behave-report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE HTML><html><head><title>Behave Test Report</title><meta content="text/html;charset=utf-8" http-equiv="content-type" /><style type="text/css"><!--
@charset "utf-8"; .passed{}.failed{}.error{}.skipped{}.undefined{}.summary{}.failed_scenarios{}.footer{}body{font-size:0;color:white;margin:0;padding:0}.behave,td,th{font:normal 11px "Lucida Grande",Helvetica,sans-serif;background:white;color:black}.behave #behave-header,td #behave-header,th #behave-header{background:#65c400;color:white;height:8em}.behave #behave-header #expand-collapse p,td #behave-header #expand-collapse p,th #behave-header #expand-collapse p{float:right;margin:0 0 0 10px}.behave .scenario h3,td .scenario h3,th .scenario h3,.background h3{font-size:11px;padding:3px;margin:0;background:#65c400;color:white;font-weight:bold}.background h3{font-size:1.2em;background:#666}.behave h1,td h1,th h1{margin:0 10px 0 10px;padding:10px;font-family:"Lucida Grande",Helvetica,sans-serif;font-size:2em;position:absolute}.behave h4,td h4,th h4{margin-bottom:2px}.behave div.feature,td div.feature,th div.feature{padding:2px;margin:0 10px 5px 10px}.behave div.examples,td div.examples,th div.examples{padding:0 0 0 1em}.behave .stats,td .stats,th .stats{margin:2em}.behave .summary ul.features li,td .summary ul.features li,th .summary ul.features li{display:inline}.behave .step_name,td .step_name,th .step_name{float:left}.behave .step_file,td .step_file,th .step_file{text-align:right;color:#999}.behave .step_file a,td .step_file a,th .step_file a{color:#999}.behave .scenario_file,td .scenario_file,th .scenario_file{float:right;color:#999}.behave .step_duration{padding-left:1em}.behave .tag,td .tag,th .tag{font-weight:bold;color:#246ac1}.behave .backtrace,td .backtrace,th .backtrace{margin-top:0;margin-bottom:0;margin-left:1em;color:black}.behave a,td a,th a{color:#be5c00;margin-right:.5em}.behave a:hover,td a:hover,th a:hover{text-decoration:none}.behave a:visited,td a:visited,th a:visited{font-weight:normal}.behave a div.examples,td a div.examples,th a div.examples{margin:5px 0 5px 15px;color:black}.behave .outline table,td .outline table,th .outline table{margin:0 0 5px 10px}.behave table,td table,th table{border-collapse:collapse}.behave table td,td table td,th table td{padding:3px 3px 3px 5px}.behave table td.failed,.behave table td.passed,.behave table td.skipped,.behave table td.pending,.behave table td.undefined,td table td.failed,td table td.passed,td table td.skipped,td table td.pending{padding-left:18px;padding-right:10px}.behave table td.failed,td table td.failed,th table td.failed{border-left:5px solid #c20000;border-bottom:1px solid #c20000;background:#fffbd3;color:#c20000}.behave table td.passed,td table td.passed,th table td.passed{border-left:5px solid #65c400;border-bottom:1px solid #65c400;background:#dbffb4;color:#3d7700}.behave table td.skipped,td table td.skipped,th table td.skipped{border-left:5px solid aqua;border-bottom:1px solid aqua;background:#e0ffff;color:#011}.behave table td.pending,td table td.pending,th table td.pending{border-left:5px solid #faf834;border-bottom:1px solid #faf834;background:#fcfb98;color:#131313}.behave table td.undefined,td table td.undefined,th table td.undefined{border-left:5px solid #faf834;border-bottom:1px solid #faf834;background:#fcfb98;color:#131313}.behave table td.message,td table td.message,th table td.message{border-left:5px solid aqua;border-bottom:1px solid aqua;background:#e0ffff;color:#011}.behave ol,td ol,th ol{list-style:none;margin:0;padding:0}.behave ol li.step,td ol li.step,th ol li.step{padding:3px 3px 3px 18px;margin:5px 0 5px 5px}.behave ol li,td ol li,th ol li{margin:0 0 0 1em;padding:0 0 0 .2em}.behave ol li span.param,td ol li span.param,th ol li span.param{font-weight:bold}.behave ol li.failed,td ol li.failed,th ol li.failed{border-left:5px solid #c20000;border-bottom:1px solid #c20000;background:#fffbd3;color:#c20000}.behave ol li.passed,td ol li.passed,th ol li.passed{border-left:5px solid #65c400;border-bottom:1px solid #65c400;background:#dbffb4;color:#3d7700}.behave ol li.skipped,td ol li.skipped,th ol li.skipped{border-left:5px solid aqua;border-bottom:1px solid aqua;background:#e0ffff;color:#011}.behave ol li.pending,td ol li.pending,th ol li.pending{border-left:5px solid #faf834;border-bottom:1px solid #faf834;background:#fcfb98;color:#131313}.behave ol li.undefined,td ol li.undefined,th ol li.undefined{border-left:5px solid #faf834;border-bottom:1px solid #faf834;background:#fcfb98;color:#131313}.behave ol li.message,td ol li.message,th ol li.message{border-left:5px solid aqua;border-bottom:1px solid aqua;background:#e0ffff;color:#011;margin-left:10px}.behave #summary,td #summary,th #summary{margin:0;padding:5px 10px;text-align:right;top:0;right:0;float:right}.behave #summary p,td #summary p,th #summary p{margin:0 0 0 2px}.behave #summary #totals,td #summary #totals,th #summary #totals{font-size:1.2em}.behave .scenario h3.failed,td .scenario h3.failed,th .scenario h3.failed,.background h3.failed{background:#c20000}.behave #behave-header.failed,td #behave-header.failed,th #behave-header.failed{background:#c20000}.behave .scenario h3.undefined,td .scenario h3.undefined,th .scenario h3.undefined,.background h3.undefined{background:#faf834;color:black}.behave #behave-header.undefined,td #behave-header.undefined,th #behave-header.undefined{background:#faf834;color:black}#behave-header.failed a{color:white}pre{white-space:pre-wrap}
--></style><script type="text/javascript"><!--
function Collapsible_toggle(id){var elem=document.getElementById(id);elem.style.display=(elem.style.display=='none'?'block':'none');return false;};function Collapsible_expandAll(className){var elems=document.getElementsByClassName(className);for(var i=0;i<elems.length;i++){elems[i].style.display='block';}};function Collapsible_collapseAll(className){var elems=document.getElementsByClassName(className);for(var i=0;i<elems.length;i++){elems[i].style.display='none';}};function Collapsible_expandAllFailed(){var elems=document.getElementsByClassName('failed');for(var i=0;i<elems.length;i++){var elem=elems[i];if(elem.nodeName=='H3'){elem.parentElement.getElementsByTagName('ol')[0].style.display='block';}}}
--></script></head><body><div class="behave"><div id="behave-header" class="failed"><div id="label"><h1>Behave Test Report</h1></div><div id="summary"><p id="totals"><p id="feature_totals">Features: failed: 4, passed: 1</p><p id="scenario_totals">Scenarios: failed: 5, passed: 3</p><p id="step_totals">Steps: passed: 15, failed: 2, skipped: 18, undefined: 1</p></p><p id="duration">Finished in 69.4 seconds</p><div id="expand-collapse"><a id="expander" href="#" onclick="Collapsible_expandAll('scenario_steps')">Expand All</a><span> | </span><a id="collapser" href="#" onclick="Collapsible_collapseAll('scenario_steps')">Collapse All</a><span> | </span><a id="failed_expander" href="#" onclick="Collapsible_expandAllFailed()">Expand All Failed</a></div></div></div><div class="feature"><h2><span class="val">Feature: Check that the login functionality of the Netflix website is working properly</span></h2><span /></div><div class="background"><h3><span class="val">Background: </span></h3><ol /><span /></div><div class="scenario"><span class="scenario_file">feature/1.login.feature:6</span><h3 onclick="Collapsible_toggle('scenario_0')" class="failed"><span class="val">Scenario: Attempt to login with invalid username and password</span></h3><ol class="scenario_steps" id="scenario_0"><li class="step passed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am on the Netflix login page</span><small class="step_duration">(2.846s)</small></div><div class="step_file"><span>steps/login_steps.py:10</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">When </span><span class="step val">I enter invalid username and password and click on login button</span><small class="step_duration">(0.599s)</small></div><div class="step_file"><span>steps/login_steps.py:15</span></div><span class="embed" /></li><li class="step failed"><div class="step_name"><span class="keyword">Then </span><span class="step val"><span>I should see an error message stating "</span><b>Sorry, we can't find an account with this email address. Please try again or create a new account.</b><span>"</span></span><small class="step_duration">(0.609s)</small></div><div class="step_file"><span>steps/login_steps.py:36</span></div><span class="embed"><a onclick="Collapsible_toggle('embed_1')">Error Message</a><pre id="embed_1" style="display: none">Assertion Failed: Error, the message is incorrect. Expected: Sorry, we can't find an account with this email address. Please try again or create a new account., actual: Incorrect password for utilizatorinvalid@gmail.com
You can use a sign-in code, reset your password or try again.</pre> </span></li></ol><span /></div><div class="scenario"><span class="scenario_file">feature/1.login.feature:10</span><h3 onclick="Collapsible_toggle('scenario_1')"><span class="val">Scenario: Attempt to login with valid username and invalid password</span></h3><ol class="scenario_steps" id="scenario_1"><li class="step passed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am on the Netflix login page</span><small class="step_duration">(1.210s)</small></div><div class="step_file"><span>steps/login_steps.py:10</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">When </span><span class="step val">I enter valid username and invalid password and click on login button</span><small class="step_duration">(0.539s)</small></div><div class="step_file"><span>steps/login_steps.py:22</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">Then </span><span class="step val"><span>I should see an error message containing "</span><b>Incorrect password for iulia.almutairi@gmail.com</b><span>"</span></span><small class="step_duration">(0.559s)</small></div><div class="step_file"><span>steps/login_steps.py:41</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val"><span>I should see an error message containing "</span><b>You can use a sign-in code, reset your password or try again</b><span>"</span></span><small class="step_duration">(0.045s)</small></div><div class="step_file"><span>steps/login_steps.py:41</span></div><span class="embed" /></li></ol><span /></div><div class="scenario"><span class="scenario_file">feature/1.login.feature:17</span><h3 onclick="Collapsible_toggle('scenario_2')"><span class="val">Scenario: Successful login with valid username and password</span></h3><ol class="scenario_steps" id="scenario_2"><li class="step passed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am on the Netflix login page</span><small class="step_duration">(0.862s)</small></div><div class="step_file"><span>steps/login_steps.py:10</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">When </span><span class="step val">I enter valid username and password and click on login button</span><small class="step_duration">(0.508s)</small></div><div class="step_file"><span>steps/login_steps.py:29</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">Then </span><span class="step val">I should be logged in successfully and redirected to the "Choose your profile" page</span><small class="step_duration">(2.659s)</small></div><div class="step_file"><span>steps/login_steps.py:46</span></div><span class="embed" /></li></ol><span /></div><div class="feature"><h2><span class="val">Feature: Manage Netflix Profiles</span></h2><span /></div><div class="background"><h3><span class="val">Background: </span></h3><ol /><span /></div><div class="scenario"><span class="scenario_file">feature/2.manage_profile.feature:6</span><h3 onclick="Collapsible_toggle('scenario_3')"><span class="val">Scenario: Add a new profile</span></h3><ol class="scenario_steps" id="scenario_3"><li class="step passed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am logged in to Netflix</span><small class="step_duration">(0.008s)</small></div><div class="step_file"><span>steps/manage_steps.py:6</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">When </span><span class="step val">I click on the "Adauga un profil" icon</span><small class="step_duration">(5.112s)</small></div><div class="step_file"><span>steps/manage_steps.py:13</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val"><span>I enter "</span><b>abc</b><span>" into the profile name input field</span></span><small class="step_duration">(5.112s)</small></div><div class="step_file"><span>steps/manage_steps.py:20</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val">I click the "Continuare" button</span><small class="step_duration">(5.122s)</small></div><div class="step_file"><span>steps/manage_steps.py:26</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">Then </span><span class="step val"><span>a profile named "</span><b>abc</b><span>" should be created</span></span><small class="step_duration">(5.175s)</small></div><div class="step_file"><span>steps/manage_steps.py:32</span></div><span class="embed" /></li></ol><span /></div><div class="feature"><h2><span class="val">Feature: Rename Netflix Profile</span></h2><span /></div><div class="background"><h3><span class="val">Background: </span></h3><ol /><span /></div><div class="scenario"><span class="scenario_file">feature/3.rename_profile.feature:6</span><h3 onclick="Collapsible_toggle('scenario_4')" class="failed"><span class="val">Scenario: Rename the profile from "abc" to "Utilizator Testare"</span></h3><ol class="scenario_steps" id="scenario_4"><li class="step passed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am logged in to Netflix</span><small class="step_duration">(0.016s)</small></div><div class="step_file"><span>steps/manage_steps.py:6</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">When </span><span class="step val">I click on "Gestionarea profilurilor" button</span><small class="step_duration">(7.451s)</small></div><div class="step_file"><span>steps/rename_steps.py:5</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val">I click on "abc" profile icon</span><small class="step_duration">(5.107s)</small></div><div class="step_file"><span>steps/rename_steps.py:11</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val"><span>I rename the user profile to "</span><b>Utilizator Testare</b><span>"</span></span><small class="step_duration">(5.214s)</small></div><div class="step_file"><span>steps/rename_steps.py:20</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val">I scroll down</span><small class="step_duration">(5.022s)</small></div><div class="step_file"><span>steps/rename_steps.py:25</span></div><span class="embed" /></li><li class="step passed"><div class="step_name"><span class="keyword">And </span><span class="step val">I click on "Salvare" button</span><small class="step_duration">(5.130s)</small></div><div class="step_file"><span>steps/rename_steps.py:30</span></div><span class="embed" /></li><li class="step failed"><div class="step_name"><span class="keyword">And </span><span class="step val">I click on "Gata" button</span><small class="step_duration">(10.430s)</small></div><div class="step_file"><span>steps/rename_steps.py:35</span></div><span class="embed"><a onclick="Collapsible_toggle('embed_2')">Error Message</a><pre id="embed_2" style="display: none">Traceback (most recent call last):
File "C:\Users\iulia\AppData\Local\Programs\Python\Python312\Lib\site-packages\behave\model.py", line 1329, in run
match.run(runner.context)
File "C:\Users\iulia\AppData\Local\Programs\Python\Python312\Lib\site-packages\behave\matchers.py", line 98, in run
self.func(context, *args, **kwargs)
File "steps\rename_steps.py", line 37, in click_done_button
context.rename_page.click_done_button()
File "D:\Pycharm\ProiectFinalAlmutairiIulia\pages\rename_page.py", line 44, in click_done_button
done_button = self.wait.until(EC.presence_of_element_located(self.done_button))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iulia\AppData\Local\Programs\Python\Python312\Lib\site-packages\selenium\webdriver\support\wait.py", line 105, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
GetHandleVerifier [0x00007FF7AF911F22+60322]
(No symbol) [0x00007FF7AF88CE99]
(No symbol) [0x00007FF7AF747EBA]
(No symbol) [0x00007FF7AF797676]
(No symbol) [0x00007FF7AF79773C]
(No symbol) [0x00007FF7AF7DE967]
(No symbol) [0x00007FF7AF7BC25F]
(No symbol) [0x00007FF7AF7DBC80]
(No symbol) [0x00007FF7AF7BBFC3]
(No symbol) [0x00007FF7AF789617]
(No symbol) [0x00007FF7AF78A211]
GetHandleVerifier [0x00007FF7AFC2946D+3301613]
GetHandleVerifier [0x00007FF7AFC73693+3605267]
GetHandleVerifier [0x00007FF7AFC69410+3563664]
GetHandleVerifier [0x00007FF7AF9C42F6+790390]
(No symbol) [0x00007FF7AF8974DF]
(No symbol) [0x00007FF7AF8933D4]
(No symbol) [0x00007FF7AF893562]
(No symbol) [0x00007FF7AF882F6F]
BaseThreadInitThunk [0x00007FFF32D6257D+29]
RtlUserThreadStart [0x00007FFF3492AA48+40]
Captured stdout:
Current URL: https://www.netflix.com/browse
Found Manage Profiles button: <selenium.webdriver.remote.webelement.WebElement (session="571c7c36f107f473820c0c203502393e", element="f.57A3E719A5E567A2FA72255A36A3661A.d.3A339A2F362790954851591949C38DD0.e.145")>
Clicked on Manage Profiles button
Found abc Profile icon: <selenium.webdriver.remote.webelement.WebElement (session="571c7c36f107f473820c0c203502393e", element="f.57A3E719A5E567A2FA72255A36A3661A.d.6A85ACB1DB06071E96286573E07F4ED3.e.185")>
Clicked on abc Profile icon
Clicked on abc Profile icon
Found Profile Name input: <selenium.webdriver.remote.webelement.WebElement (session="571c7c36f107f473820c0c203502393e", element="f.57A3E719A5E567A2FA72255A36A3661A.d.6A85ACB1DB06071E96286573E07F4ED3.e.197")>
Renamed profile to: Utilizator Testare
Found Save button: <selenium.webdriver.remote.webelement.WebElement (session="571c7c36f107f473820c0c203502393e", element="f.57A3E719A5E567A2FA72255A36A3661A.d.6A85ACB1DB06071E96286573E07F4ED3.e.207")>
Clicked on Save button</pre> </span></li></ol><span /></div><div class="feature"><h2><span class="val">Feature: Rights Changing</span></h2><span /></div><div class="background"><h3><span class="val">Background: </span></h3><ol /><span /></div><div class="scenario"><span class="scenario_file">feature/4. rights_change.feature:6</span><h3 onclick="Collapsible_toggle('scenario_5')" class="failed"><span class="val">Scenario: </span></h3><ol class="scenario_steps" id="scenario_5"><li class="step failed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am logged in to Netflix</span><small class="step_duration">(0.012s)</small></div><div class="step_file"><span>steps/manage_steps.py:6</span></div><span class="embed"><a onclick="Collapsible_toggle('embed_3')">Error Message</a><pre id="embed_3" style="display: none">Assertion Failed: Expected URL: https://www.netflix.com/browse, Actual URL: https://www.netflix.com/ManageProfiles
Captured stdout:
Current URL: https://www.netflix.com/ManageProfiles</pre> </span></li></ol><span /></div><div class="feature"><h2><span class="val">Feature: Search bar</span></h2><span /></div><div class="background"><h3><span class="val">Background: </span></h3><ol /><span /></div><div class="scenario"><span class="scenario_file">feature/5.search.feature:6</span><h3 onclick="Collapsible_toggle('scenario_6')" class="failed"><span class="val">Scenario: </span></h3><ol class="scenario_steps" id="scenario_6"><li class="step failed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am logged in to Netflix</span><small class="step_duration">(0.014s)</small></div><div class="step_file"><span>steps/manage_steps.py:6</span></div><span class="embed"><a onclick="Collapsible_toggle('embed_4')">Error Message</a><pre id="embed_4" style="display: none">Assertion Failed: Expected URL: https://www.netflix.com/browse, Actual URL: https://www.netflix.com/ManageProfiles
Captured stdout:
Current URL: https://www.netflix.com/ManageProfiles</pre> </span></li></ol><span /></div><div class="scenario"><span class="scenario_file">feature/5.search.feature:13</span><h3 onclick="Collapsible_toggle('scenario_7')" class="failed"><span class="val">Scenario: </span></h3><ol class="scenario_steps" id="scenario_7"><li class="step failed"><div class="step_name"><span class="keyword">Given </span><span class="step val">I am logged in to Netflix</span><small class="step_duration">(0.012s)</small></div><div class="step_file"><span>steps/manage_steps.py:6</span></div><span class="embed"><a onclick="Collapsible_toggle('embed_5')">Error Message</a><pre id="embed_5" style="display: none">Assertion Failed: Expected URL: https://www.netflix.com/browse, Actual URL: https://www.netflix.com/ManageProfiles
Captured stdout:
Current URL: https://www.netflix.com/ManageProfiles</pre> </span></li></ol><span /></div></div></body></html>