summaryrefslogtreecommitdiff
path: root/service/test
AgeCommit message (Collapse)Author
2017-02-16[#907] Adapt login status to work with single userTulio Casagrande
with @anikarni
2017-02-16[#907] Convert login page to reactTulio Casagrande
with @anikarni
2017-02-14Revert "Revert "[#888] Fix soledad class contract to be compatible with new ↵Anike Arni
merge. with @thaissiqueira."" This reverts commit 1e6e165a3fc397e45884eaec1122ba0cc5ff923e.
2017-02-13[#907] Rename successful login variables and methodsTulio Casagrande
2017-02-10[#907] Add login status to sessionTulio Casagrande
2017-02-09[#922] Rename backup account flowTayane Fernandes
To differentiate between the account recovery flow and the set backup email flow, we renamed all resources and url to reflect this. with @anikarni
2017-02-02[#922] Adds test for recovery resouceAnike Arni
with @tayanefernandes
2017-01-21Remove old UploadKeyError testTulio Casagrande
I was surprised this test was not working correctly.
2017-01-21Re-raise the same exception to keep contextTulio Casagrande
2017-01-21Make registering of events for fresh accounts a bit more robust by replacing ↵Ola Bini
the old events if they were not cleaned up after previous errors
2017-01-20Rebase previous PR on current master - see PR #915 for detailsOla Bini
2017-01-20Merge pull request #916 from olabini/fix-broken-assert-welcome-emailTulio Casagrande
Fix broken test for default language for user
2017-01-19Add copyright statements to all Python files that doesn't have itOla Bini
2017-01-19Fix broken test for default language for userOla Bini
2017-01-17[#885] Adds test to ensure the right type for user_uuid and passphraseThais Siqueira
with @tayanefernandes
2017-01-13Mock register events to not complain about zmq certsTulio Casagrande
Related with: #815
2017-01-12Re-raise the exception after closing the sessionTayane Fernandes
We were trying to setup services even after closing the session. We fixed it and added unit test. Related with: #815
2017-01-10Check if key is synchronized with server at every loginTulio Casagrande
This is a temporary solution when uploading a regenerated key fails. It's going to attempt the upload again on the subsequent logins. The drawback with this solution, is that the fetch remote can increase the login time, specially with multiple users. See: #815
2017-01-10Fix regenerate keys test flowTulio Casagrande
The regenerate key test was not checking if the UploadKeyError exception was raised Related with: #815
2017-01-09Log user's current key for easier debugTulio Casagrande
Related with: #815
2017-01-05Revert "[#888] Fix soledad class contract to be compatible with new merge. ↵Anike Arni
with @thaissiqueira." This reverts commit ebdeec4ad6d0f91bc60fd34a580fc02787026692.
2017-01-04[#888] Fix soledad class contract to be compatible with new merge. with ↵Anike Arni
@thaissiqueira.
2017-01-03Fixed mockito conflict with zopeBruno Wagner
I bumped into this problem where trial would try to clean up after running the SiteTest and run into an error 'RememberedInvocation has no attribute "_implied"' That happened because mockito is strict with the set of functions it's mock accepts and _implied doesn't exist. It didn't really make sense in this test context so I've adapted the test to use MagicMock instead and now the test pass without problems.
2017-01-02[#851] minor refactoring, and using the right keymanager branchNavaL
2017-01-02[#850] refactoring as a result of moving should_renew to be in keyNavaL
2017-01-02[#850] keys will now be renewed two months before expiry dateNavaL
2017-01-02[#815] regenerating new keys when the current one expiresNavaL
2017-01-02[#815] regenerating new keys when the current one expiresNavaL
2016-12-14[#845] Fixes pep8 line spacingAnike Arni
with @thaissiqueira
2016-12-14[#845] Fixes absence of email in functional testAnike Arni
We noticed we had timeout issues while waiting for an email in inbox. To solve this, we stopped using deferred in async calls and used @wait_for instead. With @thaissiqueira.
2016-12-14Move functional tests to find elements with waitsTulio Casagrande
We were using the Selenium native find_element in a few places, which could raise a TimeoutException. I changed to use our timed out version and also renamed the internal methods to prevent misuse
2016-12-14[#869] Move from stdlib to twisted trial unittestDenis Costa
2016-12-14Increase timeout between interstitial and inboxTulio Casagrande
When testing against staging, sometimes the first login is not completed within the default 20 seconds, so I doubled the timeout.
2016-12-08Remove dead codeTulio Casagrande
2016-12-08Revert "[#801] Merge branch 'signup'"Roald de Vries
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
2016-12-08Revert "[#801] add signup resource + tests"Roald de Vries
This reverts commit db1cf22ca3a86027828aba30417e79363a380350.
2016-12-08Revert "[#801] PEP8"Roald de Vries
This reverts commit 58789c81745f849a92aeb13149cf2a9a146cca60.
2016-12-08Revert "[#801] disable failing test until it's implemented"Roald de Vries
This reverts commit 7aa07d93b8b18ca6cda4b4a5a2235b19f64bbae2.
2016-12-08Revert "[#801] serve signup page from signup resource"Roald de Vries
This reverts commit b6c655b8a15d610166313949b96fadb181627f90.
2016-12-08Revert "[#801] Mocked event server on resource unit test"Roald de Vries
This reverts commit 6f61691980fe11e2eb9c2b56b1acf16a2ceabce3.
2016-12-07[#801] Mocked event server on resource unit testTulio Casagrande
The resource unit test was breaking because the RootResource initialize calls an event register (and the event queue is not initialized on unit tests). We mocked the registering of events so the unit tests don't try to touch the event queue at all.
2016-12-07[#801] serve signup page from signup resourceZara Gebru
2016-12-07[#801] disable failing test until it's implementedRoald de Vries
2016-12-07[#801] PEP8Roald de Vries
2016-12-07[#801] add signup resource + testsZara Gebru
2016-12-07[#801] Merge branch 'signup'Roald de Vries
2016-12-06clean up parameters of authsessionwrapperZara Gebru
2016-12-06Remove sleep time when waiting for interstitialTulio Casagrande
See: https://github.com/pixelated/project-issues/issues/381
2016-12-06remove some TODO'sRoald de Vries
2016-12-06fix parameter for root resourceZara Gebru