- <div id="data-container" data-jsonblob="{"environment": {"Python": "3.11.14", "Platform": "Linux-6.14.0-1017-azure-x86_64-with-glibc2.39", "Packages": {"pytest": "7.4.3", "pluggy": "1.6.0"}, "Plugins": {"bdd": "6.1.1", "base-url": "2.1.0", "playwright": "0.7.1", "metadata": "3.1.1", "html": "4.1.1", "json-report": "1.5.0"}, "CI": "true", "JAVA_HOME": "/usr/lib/jvm/temurin-17-jdk-amd64", "Base URL": ""}, "tests": {"tests/authentication/test_01_brute_force_password.py::test_brute_force_password": [{"extras": [], "result": "Passed", "testId": "tests/authentication/test_01_brute_force_password.py::test_brute_force_password", "duration": "00:06:21", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">tests/authentication/test_01_brute_force_password.py::test_brute_force_password</td>", "<td class=\"col-duration\">00:06:21</td>", "<td class=\"col-links\"></td>"], "log": "No log output captured."}], "tests/authentication/test_02_credential_guessing.py::test_credential_guessing": [{"extras": [], "result": "Passed", "testId": "tests/authentication/test_02_credential_guessing.py::test_credential_guessing", "duration": "00:01:34", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">tests/authentication/test_02_credential_guessing.py::test_credential_guessing</td>", "<td class=\"col-duration\">00:01:34</td>", "<td class=\"col-links\"></td>"], "log": "No log output captured."}], "tests/authentication/test_03_password_attack_6_attempts.py::test_password_attack_6": [{"extras": [], "result": "Passed", "testId": "tests/authentication/test_03_password_attack_6_attempts.py::test_password_attack_6", "duration": "00:01:01", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">tests/authentication/test_03_password_attack_6_attempts.py::test_password_attack_6</td>", "<td class=\"col-duration\">00:01:01</td>", "<td class=\"col-links\"></td>"], "log": "No log output captured."}], "tests/authentication/test_04_password_attack_7_attempts.py::test_password_attack_7": [{"extras": [], "result": "Passed", "testId": "tests/authentication/test_04_password_attack_7_attempts.py::test_password_attack_7", "duration": "00:01:09", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">tests/authentication/test_04_password_attack_7_attempts.py::test_password_attack_7</td>", "<td class=\"col-duration\">00:01:09</td>", "<td class=\"col-links\"></td>"], "log": "No log output captured."}], "tests/authentication/test_05_password_attack_8_attempts.py::test_password_attack_8": [{"extras": [], "result": "Passed", "testId": "tests/authentication/test_05_password_attack_8_attempts.py::test_password_attack_8", "duration": "00:01:17", "resultsTableRow": ["<td class=\"col-result\">Passed</td>", "<td class=\"col-testId\">tests/authentication/test_05_password_attack_8_attempts.py::test_password_attack_8</td>", "<td class=\"col-duration\">00:01:17</td>", "<td class=\"col-links\"></td>"], "log": "No log output captured."}], "tests/session_management/test_01_session_hijacking.py::test_session_hijacking": [{"extras": [], "result": "Failed", "testId": "tests/session_management/test_01_session_hijacking.py::test_session_hijacking", "duration": "00:00:09", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">tests/session_management/test_01_session_hijacking.py::test_session_hijacking</td>", "<td class=\"col-duration\">00:00:09</td>", "<td class=\"col-links\"></td>"], "log": "fixturefunc = &lt;function user_logged_in at 0x7f586b07a3e0&gt;\nrequest = &lt;FixtureRequest for &lt;Function test_session_hijacking&gt;&gt;\nkwargs = {&#x27;browser&#x27;: &lt;Page url=&#x27;http://localhost/openmrs/spa/login&#x27;&gt;}\n\n def call_fixture_func(\n fixturefunc: &quot;_FixtureFunc[FixtureValue]&quot;, request: FixtureRequest, kwargs\n ) -&gt; FixtureValue:\n if is_generator(fixturefunc):\n fixturefunc = cast(\n Callable[..., Generator[FixtureValue, None, None]], fixturefunc\n )\n generator = fixturefunc(**kwargs)\n try:\n fixture_result = next(generator)\n except StopIteration:\n raise ValueError(f&quot;{request.fixturename} did not yield a value&quot;) from None\n finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)\n request.addfinalizer(finalizer)\n else:\n fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)\n&gt; fixture_result = fixturefunc(**kwargs)\n\n/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/_pytest/fixtures.py:902: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nbrowser = &lt;Page url=&#x27;http://localhost/openmrs/spa/login&#x27;&gt;\n\n @pytest_bdd.given(&#x27;the OpenMRS 3 home page is show after login&#x27;)\n def user_logged_in(browser):\n &quot;&quot;&quot;User logs in and establishes a session&quot;&quot;&quot;\n print(&quot;\\n&quot; + &quot;=&quot;*60)\n print(&quot;BACKGROUND: User Login&quot;)\n print(&quot;=&quot;*60)\n \n # Navigate to login\n browser.goto(O3_LOGIN_URL)\n browser.wait_for_timeout(2000)\n \n # Perform two-step login\n success = perform_login(browser)\n&gt; assert success, f&quot;Login failed - URL: {browser.url}&quot;\nE AssertionError: Login failed - URL: http://localhost/openmrs/spa/login\nE assert False\n\ntests/session_management/test_01_session_hijacking.py:27: AssertionError\n"}], "tests/session_management/test_02_idle_timeout.py::test_idle_timeout": [{"extras": [], "result": "Failed", "testId": "tests/session_management/test_02_idle_timeout.py::test_idle_timeout", "duration": "00:00:09", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">tests/session_management/test_02_idle_timeout.py::test_idle_timeout</td>", "<td class=\"col-duration\">00:00:09</td>", "<td class=\"col-links\"></td>"], "log": "fixturefunc = &lt;function user_logged_in at 0x7f586b07ad40&gt;\nrequest = &lt;FixtureRequest for &lt;Function test_idle_timeout&gt;&gt;\nkwargs = {&#x27;browser&#x27;: &lt;Page url=&#x27;http://localhost/openmrs/spa/login&#x27;&gt;}\n\n def call_fixture_func(\n fixturefunc: &quot;_FixtureFunc[FixtureValue]&quot;, request: FixtureRequest, kwargs\n ) -&gt; FixtureValue:\n if is_generator(fixturefunc):\n fixturefunc = cast(\n Callable[..., Generator[FixtureValue, None, None]], fixturefunc\n )\n generator = fixturefunc(**kwargs)\n try:\n fixture_result = next(generator)\n except StopIteration:\n raise ValueError(f&quot;{request.fixturename} did not yield a value&quot;) from None\n finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)\n request.addfinalizer(finalizer)\n else:\n fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)\n&gt; fixture_result = fixturefunc(**kwargs)\n\n/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/_pytest/fixtures.py:902: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nbrowser = &lt;Page url=&#x27;http://localhost/openmrs/spa/login&#x27;&gt;\n\n @pytest_bdd.given(&#x27;the OpenMRS 3 home page is show after login&#x27;)\n def user_logged_in(browser):\n &quot;&quot;&quot;User logs in and establishes a session&quot;&quot;&quot;\n print(&quot;\\n&quot; + &quot;=&quot;*60)\n print(&quot;BACKGROUND: User Login&quot;)\n print(&quot;=&quot;*60)\n \n # Navigate to login\n browser.goto(O3_LOGIN_URL)\n browser.wait_for_timeout(2000)\n \n # Perform two-step login\n success = perform_login(browser)\n&gt; assert success, f&quot;Login failed - URL: {browser.url}&quot;\nE AssertionError: Login failed - URL: http://localhost/openmrs/spa/login\nE assert False\n\ntests/session_management/test_02_idle_timeout.py:26: AssertionError\n"}], "tests/session_management/test_03_expired_session_reuse.py::test_expired_session_reuse": [{"extras": [], "result": "Failed", "testId": "tests/session_management/test_03_expired_session_reuse.py::test_expired_session_reuse", "duration": "00:00:09", "resultsTableRow": ["<td class=\"col-result\">Failed</td>", "<td class=\"col-testId\">tests/session_management/test_03_expired_session_reuse.py::test_expired_session_reuse</td>", "<td class=\"col-duration\">00:00:09</td>", "<td class=\"col-links\"></td>"], "log": "fixturefunc = &lt;function user_logged_in at 0x7f586b07b560&gt;\nrequest = &lt;FixtureRequest for &lt;Function test_expired_session_reuse&gt;&gt;\nkwargs = {&#x27;browser&#x27;: &lt;Page url=&#x27;http://localhost/openmrs/spa/login&#x27;&gt;}\n\n def call_fixture_func(\n fixturefunc: &quot;_FixtureFunc[FixtureValue]&quot;, request: FixtureRequest, kwargs\n ) -&gt; FixtureValue:\n if is_generator(fixturefunc):\n fixturefunc = cast(\n Callable[..., Generator[FixtureValue, None, None]], fixturefunc\n )\n generator = fixturefunc(**kwargs)\n try:\n fixture_result = next(generator)\n except StopIteration:\n raise ValueError(f&quot;{request.fixturename} did not yield a value&quot;) from None\n finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)\n request.addfinalizer(finalizer)\n else:\n fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)\n&gt; fixture_result = fixturefunc(**kwargs)\n\n/opt/hostedtoolcache/Python/3.11.14/x64/lib/python3.11/site-packages/_pytest/fixtures.py:902: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nbrowser = &lt;Page url=&#x27;http://localhost/openmrs/spa/login&#x27;&gt;\n\n @pytest_bdd.given(&#x27;the OpenMRS 3 home page is show after login&#x27;)\n def user_logged_in(browser):\n &quot;&quot;&quot;User logs in and establishes a session&quot;&quot;&quot;\n print(&quot;\\n&quot; + &quot;=&quot;*60)\n print(&quot;BACKGROUND: User Login&quot;)\n print(&quot;=&quot;*60)\n \n # Navigate to login\n browser.goto(O3_LOGIN_URL)\n browser.wait_for_timeout(2000)\n \n # Perform two-step login\n success = perform_login(browser)\n&gt; assert success, f&quot;Login failed - URL: {browser.url}&quot;\nE AssertionError: Login failed - URL: http://localhost/openmrs/spa/login\nE assert False\n\ntests/session_management/test_03_expired_session_reuse.py:26: AssertionError\n"}]}, "renderCollapsed": ["passed"], "initialSort": "result", "title": "report.html"}"></div>
0 commit comments