Skip to content

HarryRybacki-zz/osf-ui-tests-1

 
 

Repository files navigation

OSF-UI-Tests

OSF user interface smoke tests with Selenium as the tool of choice.

Selenium test suites broken down into test specific areas i.e.:

  • User account creation tests
  • --or--
  • Project dashboard tests

These test suites are composed of individual tests i.e.:

  • Try to create a user without a password
  • --or--
  • Try to create a user with a short password

Guidelines for adding tests

  • Factor common functions into util.py
  • Put database info (user names, project titles) in config.py
  • Make sure that all database entries created during tests are cleared during teardown

Issues:

  • Testing file submission with Selenium. Currently using blueimp. See page for issue: blueimp/jQuery-File-Upload#1228 Possible workrounds include: use requests to submit post request or via javascipt.

Next steps:

  • Finish file upload/deletion testing.
  • Create registration tests
  • Create add/delete contributer tests
  • Move testing to Sauce Labs

Notes: If issues arise during tests, look at the following suites first.

  • user_creations_tests
  • project_creation_tests
  • utils -- relies heavily on the aforementioned test suites.

About

Selenium-based UI tests for the Open Science Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%