From 68c43c6c0cb920ca9bfc5b5c9ddc50888f2ed13e Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 10 May 2024 07:30:14 +0000 Subject: [PATCH] style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf This commit fixes the style issues introduced in ad6a95a according to the output from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf. Details: None --- src/tests/integration_tests/test_ui.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tests/integration_tests/test_ui.py b/src/tests/integration_tests/test_ui.py index 9d7546cde..60627e4e2 100644 --- a/src/tests/integration_tests/test_ui.py +++ b/src/tests/integration_tests/test_ui.py @@ -2,13 +2,15 @@ import pytest from selenium import webdriver from selenium.webdriver.common.by import By -from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC +from selenium.webdriver.support.ui import WebDriverWait + @pytest.fixture def browser(): return webdriver.Chrome() + def test_login(browser): # Test login functionality browser.get("https://pi-nexus-autonomous-banking-network.com/login") @@ -19,12 +21,14 @@ def test_login(browser): browser.find_element_by_name("login").click() WebDriverWait(browser, 10).until(EC.title_contains("Dashboard")) + def test_account_list(browser): # Test account list page browser.get("https://pi-nexus-autonomous-banking-network.com/accounts") account_list = browser.find_elements_by_css_selector(".account-list li") assert len(account_list) > 0 + def test_create_account(browser): # Test create account functionality browser.get("https://pi-nexus-autonomous-banking-network.com/accounts/new")