3 Commits

Author SHA1 Message Date
Matt Borland
841c5af539 Tests pass in languages other than English
The selenium tests run with --only-selenium would fail if launched in when
the environment's LANG was other than English, e.g.:

 LANG=fr_FR ./run_tests.sh --only-selenium

This was due to tests that used an element's localized content rather than
other clues to look for presence of errors, etc.

Change-Id: Icec6de16e6924f128b8e65e0891db6c2b14e3830
Closes-Bug: 1377043
2015-01-14 12:59:42 -07:00
ChenZheng
c7d5371b47 Fix order of arguments in assertEqual
Some tests used incorrect order assertEqual(observed, expected).

The correct order expected by testtools is
assertEqual(expected, observed).

Change-Id: Iabf6e55146412b57b6a6544f312f9510f762566a
Partial-Bug: #1259292
2014-09-01 10:41:52 +08:00
Timur Sufiev
24b58b6a5e Rename selenium.py -> selenium_tests.py
Do this to avoid problems with importing from selenium package in
these files.

Change-Id: I90da4e178f66d059bfab55d1e7db5e6d02be1ef7
Closes-Bug: #1339023
2014-08-06 15:13:11 +00:00