Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional tests start before Selenium is ready #1338

Open
schrolla opened this issue Sep 26, 2024 · 1 comment
Open

Functional tests start before Selenium is ready #1338

schrolla opened this issue Sep 26, 2024 · 1 comment
Assignees
Labels
bug This issue or pull request addresses broken functionality Testing This issue or task involves testing the automation tool function
Milestone

Comments

@schrolla
Copy link
Collaborator

🐛 Summary

The functional test framework relies on the Selenium web testing framework and associated ChromeDriver to function. Sometimes, the first test is run before the ChromeDriver and Selenium are fully ready and listening locally for interaction. As a result, the first test in a testplan may fail with an error.

To reproduce

Steps to reproduce the behavior:

  1. Run functional tests
  2. Review results for testplans with failures in the first test that indicates "Unable to connect to remote server"

Expected behavior

Selenium and the chrome driver to be up and ready by the time tests need it and execute without error.

Any helpful log output or screenshots

Example of the error seen when this bug is triggered.
Screenshot 2024-09-26 at 9 07 11 AM

@schrolla schrolla added bug This issue or pull request addresses broken functionality Testing This issue or task involves testing the automation tool function labels Sep 26, 2024
@schrolla schrolla added this to the Kraken milestone Oct 7, 2024
@schrolla schrolla modified the milestones: Kraken, Backlog Nov 6, 2024
@james-garriss
Copy link
Collaborator

Should this issue be linked to #1525? If we replace Selenium with something else, say Beautiful Soup, then possibly this issue will just go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality Testing This issue or task involves testing the automation tool function
Projects
None yet
Development

No branches or pull requests

2 participants