Homec4science

testutils: force localisation in web tests

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Feb 15 2012, 15:37.

Description

testutils: force localisation in web tests

  • In testutils, when preparing the Firefox browser instance, use a profile where the accept_language is set to 'en', so that the default localisation of Invenio is English.
  • After login, check if the language is correct and otherwise redirect the user to the correct language.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 15 2012, 18:51
Parents
R3600:f93bb2d54a09: intbitset: disable big tests if small RAM
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:a3a3660c876b: testutils: force localisation in web tests (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Feb 15 2012, 18:51