11 Commits

Author SHA1 Message Date
Joseph Nuthalapati
42e2995abc
tor: Make tests independent of language
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:22 -04:00
Joseph Nuthalapati
a152811d70
test: sharing: Fix tests that check text in English
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:14 -04:00
Joseph Nuthalapati
2ac2726752
tests: snapshots: Remove find_by_value usages
- find_by_value depends on the language being English

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:10 -04:00
Joseph Nuthalapati
a950371d2a
Fix tests for firstboot, users and groups
- Make browser actions independent of language
- Increase timeout for submit actions since actions like enable take too long on
  slower machines

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:36:04 -04:00
Joseph Nuthalapati
e99b7c942b
tests: Improve waiting for installation and configuration
- Use Selenium's built-in waiting constructs to wait for page loads to complete
- Make tests independent of language (tested in Chinese)

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:35:47 -04:00
Joseph Nuthalapati
b2fea1b0de
language: Fix tests broken by recent feature
Tests were breaking because of the following reasons:
- Language options were moved to another page
- Language selections were changed from English to their respective languages

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:35:39 -04:00
Joseph Nuthalapati
143a24a64a
snapshots: Fix tests broken by UI changes
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-08 12:35:26 -04:00
Sunil Mohan Adapa
436a32d358
sharing: Add functional tests
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-03-12 18:27:29 +05:30
James Valleroy
075ccf402a
functional-tests: Minor cleanup of license headers and whitespace
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:13:11 +01:00
Joseph Nuthalapati
af1406119d
searx: Add basic functional tests
- Tests to enable/disable Searx

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:01:03 +01:00
Joseph Nuthalapati
0bdc2802f2
functional-tests: Merge plinth-tester into plinth
- Rename Plinth-tester to FreedomBox
- Add pytest.ini to discover the root directory for tests easily
- Update README to say that py.test should be run from functional_tests
  directory.
- Add geckodriver.log to .gitignore

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:00:42 +01:00