harmonydata / harmonydata/harmonyapi

Fix Selenium tests

Ouverte
#7 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
2
Forks
16
Merge moyen
1 min
PR mergées (30 j)
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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
testing-qa
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.