harmonydata / harmonydata/harmonyapi

Fix Selenium tests

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2
Forks
16
Avg merge
1m
Merged PRs (30d)
1

Description

## Description

Either Selenium or Chrome has updated, and the Selenium tests (under `tests/selenium` are all failing)

Selenium is there to test that the API and front end are interacting correctly. We test the front end both locally and on remote URL.

## Environment

Provide details regarding the operating system, toolchain, and environment.

* Python 3.11, 3.12 or later

* Google Chrome 127.0.6533.88

## How to Reproduce

```
python -m unittest discover tests/selenium_tests/
```

Error:
```
OSError: [Errno 8] Exec format error: '/home/imt/.wdm/drivers/chromedriver/linux64/127.0.6533.88/chromedriver-linux64/THIRD_PARTY_NOTICES.chromedriver'
```

## Expected Behavior

Tests pass

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `python -m unittest discover tests/selenium_tests/` and compare the documented `tests/selenium` location with the actual test path. Investigate why the driver setup attempts to execute `THIRD_PARTY_NOTICES.chromedriver` under the downloaded ChromeDriver directory. Done means the Selenium tests pass against the stated Python and Chrome environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.