Skip to content

fix: Resolve Selenium test failures by adding Firefox support and fixing test cleanup - #4693

Closed
ankit-sonata wants to merge 3 commits into
openedx:masterfrom
ankit-sonata:feat/course-discovery-jammy
Closed

ankit-sonata wants to merge 3 commits into
openedx:masterfrom
ankit-sonata:feat/course-discovery-jammy

Conversation

@ankit-sonata

Copy link
Copy Markdown

Description
This PR adds Firefox and geckodriver support to enable Selenium-based functional tests in the Docker environment.

Changes
Dockerfile
Installed Firefox 145.0.1 from Mozilla official binaries
Installed geckodriver 0.36.0 from GitHub releases
Added required GTK/X11 runtime dependencies for headless Firefox operation
Set GECKODRIVER_PATH environment variable for test discovery

@ankit-sonata

Copy link
Copy Markdown
Author

@openedx/committers-course-discovery

@deborahgu

Copy link
Copy Markdown
Member

We'll see what @openedx/committers-course-discovery have to say, but I'm not sure if we should be editing the repo Dockerfile anymore, @ankit-sonata, I believe its presence is deprecated and we should probably be using https://github.com/edx/public-dockerfiles/blob/main/dockerfiles/course-discovery.Dockerfile instead. But I'm not sure and the commiters will have the final word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants