Skip to content

Conversation

@tim-schilling
Copy link
Member

Closes #1251

@tim-schilling
Copy link
Member Author

Hmm, this has broken travis.

@tim-schilling
Copy link
Member Author

There we go. It's not as clean as I expected, I didn't realize we also had to install geckodriver, but it appears to be running those tests successfully.

@tim-schilling
Copy link
Member Author

tim-schilling commented Sep 26, 2020 via email

Copy link
Contributor

@jdufresne jdufresne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise, LGTM. Thanks!

Ignores the selenium logfile that's created for firefox.
It makes sense to run the selenium tests in the ideal configuration
which is postgres and latest stable version of django.

Remove selenium version limitation.

Pass through the TRAVIS and DJANGO_SELENIUM_TESTS environment variables.

Use headless mode for selenium when testing via Travis.

Install geckodriver before running selenium tests.
@tim-schilling
Copy link
Member Author

tim-schilling commented Sep 26, 2020

Updated to reference v0.27.0 of geckodriver.

@matthiask matthiask merged commit 916172c into django-commons:master Sep 30, 2020
@matthiask
Copy link
Member

Great, thanks!

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.

Discussion - Enable selenium in Travis tests

3 participants