Skip to content

ERROR IN -------Tests\functional_tests\test_functional.py  #1

@AnubhaR94

Description

@AnubhaR94

2020-06-06T16:32:50.7091339Z ================================== FAILURES ===================================
2020-06-06T16:32:50.7103926Z ________________________ FunctionalTests.test_selenium ________________________
2020-06-06T16:32:50.7104476Z
2020-06-06T16:32:50.7112459Z self = <test_functional.FunctionalTests testMethod=test_selenium>
2020-06-06T16:32:50.7112982Z
2020-06-06T16:32:50.7113385Z def test_selenium(self):
2020-06-06T16:32:50.7113871Z webAppUrl = pytest.config.getoption('webAppUrl')
2020-06-06T16:32:50.7114591Z start_timestamp = time.time()
2020-06-06T16:32:50.7115971Z end_timestamp = start_timestamp + 60*10
2020-06-06T16:32:50.7116862Z while True:
2020-06-06T16:32:50.7117319Z try:
2020-06-06T16:32:50.7117832Z response = self.driver.get(webAppUrl)
2020-06-06T16:32:50.7118738Z title = self.driver.title
2020-06-06T16:32:50.7119172Z > self.assertIn("Home Page - Python Flask Application", title)
2020-06-06T16:32:50.7119875Z E AssertionError: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7120320Z
2020-06-06T16:32:50.7120879Z Tests\functional_tests\test_functional.py:25: AssertionError
2020-06-06T16:32:50.7130614Z ---------------------------- Captured stdout call -----------------------------
2020-06-06T16:32:50.7185209Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7201889Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7203478Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7206235Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7207313Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7208601Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7209656Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7211267Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7212288Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7213309Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7214720Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7217775Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7219110Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7220333Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7222088Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7223144Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7224200Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7225359Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7226486Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7227529Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7228912Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7230333Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7231431Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7232667Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7233850Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7234863Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7235891Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7236912Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7238489Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7239953Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7241364Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7242422Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7243449Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7245081Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7246114Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7247192Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7248208Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7250804Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7252078Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7253634Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7254640Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7255693Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7256728Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7257930Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7259834Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7261401Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7262636Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7263703Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7264769Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7265891Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7267731Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7268970Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7269996Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7271362Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7272469Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7273487Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7275298Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7276472Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7277531Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7279081Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7280462Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7281668Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7283121Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7284148Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7285337Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7286367Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7287396Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7288423Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7289446Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7290475Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7291686Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7292917Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7293952Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7294976Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7296004Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7297017Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7298033Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7299057Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7300075Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7301096Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7302178Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7303660Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7304680Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7305700Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7306714Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7307729Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7308754Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7309779Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7310945Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7311937Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7312923Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7313911Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7314939Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7315920Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7316907Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7318008Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7318997Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7320007Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7320989Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7321981Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7322972Z ##[error]Test test_selenium failed with error: 'Home Page - Python Flask Application' not found in u''
2020-06-06T16:32:50.7323851Z ============================== warnings summary ===============================
2020-06-06T16:32:50.7324391Z Tests/functional_tests/test_functional.py::FunctionalTests::test_selenium
2020-06-06T16:32:50.7324896Z D:\a\r1\a\Tests\functional_tests\test_functional.py:14: DeprecationWarning: use options instead of chrome_options
2020-06-06T16:32:50.7325403Z self.driver = webdriver.Chrome(os.path.join(os.environ["ChromeWebDriver"], 'chromedriver.exe'), chrome_options=options)
2020-06-06T16:32:50.7325870Z
2020-06-06T16:32:50.7326102Z Tests/functional_tests/test_functional.py::FunctionalTests::test_selenium
2020-06-06T16:32:50.7326860Z D:\a\r1\a\Tests\functional_tests\test_functional.py:18: PytestDeprecationWarning: the pytest.config global is deprecated. Please use request.config or pytest_configure (if you're a pytest plugin) instead.
2020-06-06T16:32:50.7327371Z webAppUrl = pytest.config.getoption('webAppUrl')
2020-06-06T16:32:50.7327572Z
2020-06-06T16:32:50.7327928Z -- Docs: https://docs.pytest.org/en/latest/warnings.html
2020-06-06T16:32:50.7328276Z --------- generated xml file: D:\a\r1\a\TestResults\test-results.xml ----------
2020-06-06T16:32:50.7328616Z =================== 1 failed, 2 warnings in 645.88 seconds ====================
2020-06-06T16:32:50.9730739Z ##[error]Cmd.exe exited with code '1'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions