CenterForOpenScience / osf-selenium-tests

End-to-end tests for the OSF.
3 stars 18 forks source link

[ENG-4445] - Replacing Deprecated FirefoxProfile with Options #237

Closed DougCorell closed 1 year ago

DougCorell commented 1 year ago

Purpose

To eliminate a deprecation warning message by replacing FirefoxProfile with Options when setting up to open the Firefox browser.

Summary of Changes

Reviewer's Actions

git fetch <remote> pull/237/head:testFix/deprecated-firefox-profile

Run this test using You can run any random tests and make sure that with each browser and environment that you no longer see the deprecation error: "DeprecationWarning: Please use FirefoxOptions to set browser profile" at the end of the test run. Run locally and through BrowserStack.

Testing Changes Moving Forward

N/A

Ticket

ENG-4445: SEL: Deprecation Warning Messages in All Test runs - DeprecationWarning: Please use FirefoxOptions to set browser profile https://openscience.atlassian.net/browse/ENG-4445