summaryrefslogtreecommitdiff
path: root/service/test
AgeCommit message (Collapse)Author
2017-03-16[#1012] Extracts generation of recovery code to AccountRecoveryAnike Arni
with @tayanefernandes
2017-03-15[#924] Fix duplication of testsThais Siqueira
with @anikarni
2017-03-15[#924] Fix typo on bonafide session variable name.Thais Siqueira
with @anikarni
2017-03-14[#924] Implements update recovery code through bitmaskThais Siqueira
with @anikarni
2017-03-10[#923] Fix functional test on login pageSriram Viswanathan
2017-03-10|#000|Sriram| Fix functional test - get element by id rather than css ↵Sriram Viswanathan
selector for cc-bcc collapse
2017-03-01Fix soledad shared_db argument when testingTulio Casagrande
2017-02-21[#907] Change auth-error urlTulio Casagrande
with @anikarni
2017-02-21[#907] Translate auth error message on loginTulio Casagrande
with @anikarni
2017-02-21[#907] Makes login page responsiveAnike Arni
2017-02-17[#907] Click tag child on functional testsTulio Casagrande
with @anikarni
2017-02-17[#907] Fix functional tests on snapTulio Casagrande
2017-02-17[#907] Change functional tests to check for visibilityTulio Casagrande
2017-02-17[#907] Change default webdriver to chromeTulio Casagrande
with @anikarni
2017-02-17[#907] Add retry when tag reference was lostTulio Casagrande
2017-02-17[#907] Fix selectors to work with chromedriverTulio Casagrande
2017-02-16[#907] Bundles login static files separatelyAnike Arni
Due to conflicts with public and protected urls, login and interstitial files have to be on a different public url from inbox and resources that require login. Therefore, here, we delegate that logic to webpack. Now we have a '/public' url and a '/assets' url for those static assets.
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.