summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-01-15sasl: Use the nick from the presence if the ad-hoc one is not setlouiz’
fix #3450
2021-01-14Print each e2e test output on only one linelouiz’
2020-09-23Trivial comment change in an e2e testlouiz’
2020-09-23Always send direct messages to the user’s bare JIDJonas Schäfer
This has the following advantages: - Works while all resources are offline (persistent channels) - Helps with combating duplicate messages when sent to different resources, resources going offline, carbon-copying etc. etc. As a side effect, this also makes the MUC PMs not be MUC PMs and always be emitted from the server-wide JID of the sending user. Fixes #3313.
2020-08-16In CAP messages, handle the last arg as a list of capabilitieslouiz’
Instead of just one. This fixes the issue of the "trailing whitespace" since we now split it on ' ' Fix #3442
2020-08-16Fix the parsing of IRC messages, especially with trailing spaceslouiz’
2020-08-12Handle SASL failures by displaying a message and aborting the connection9.0-rc1louiz’
2020-06-15e2e: do not fail to start if no irc database exist yetlouiz’
2020-06-15Implement SASL plain authenticationlouiz’
2020-05-06e2e: accept a regexp version of oragono, not just 2.0.0louiz’
2020-05-05Create oragono TLS certificate automatically before each e2e runlouiz’
2020-05-05Remove raw_names_command e2e testlouiz’
2020-05-05Modify oragono’s conf four our testslouiz’
2020-05-05Add the default oragono conflouiz’
2020-05-05Update the tests to work with oragonolouiz’
2020-05-05Start oragono instead of charybdislouiz’
2020-05-05e2e: Switch from coroutines to async, for python3.8louiz’
2020-04-19Demonstrate bug #3429louiz’
2020-03-11Merge remote-tracking branch 'linkmauve/die-gc1.0-die'louiz’
2020-03-11Remove the part of the force-join test that checks the nick changedlouiz’
Because we actually don’t change the nick, we ignore it, just like in the case of a normal join (of an other resource, or an other channel on the same server).
2020-03-11And modify the tests to work, by adding the <x/> node in all join presenceslouiz’
2020-03-11Fix a type stable-id -> stanza-id, and add a test case to be exhaustivelouiz’
2020-03-11Announce the urn:xmpp:sid:0 NS in MUC's disco#infolouiz’
As required by XEP 0359 Should fix #3369
2020-03-11Make sure we keep the stable-id and origin-id nodes when requiredlouiz’
See https://xmpp.org/extensions/xep-0359.html
2020-03-10Add a test to check that XEP-45 stable ID thing is respectedlouiz’
See https://xmpp.org/extensions/xep-0045.html#message
2020-03-02Demonstrate issue #3423 with e2e testslouiz’
2020-03-02e2e: fix the timeout code for expect_unorderedlouiz’
2020-03-02Rename the e2e nicks to make things easier to debuglouiz’
2019-11-13e2e: Add a 10s timeout for expect_stanzalouiz’
Otherwise, if we expect a stanza and biboumi never sends it, we just hang here. Now, we display a nice error after 10 seconds, and move on to the next test, as other failures (xpath doesn’t match) do
2019-11-09e2e: Implicitely include the handshake in all testslouiz’
Instead of having to write it manually everytime
2019-11-09Clean the __main__ file of the e2e testslouiz’
I forgot to remove some things when I moved them into functions.py
2019-11-06Add a missing max_history_length field in the IRC server option formlouiz’
2019-11-06e2e: Test the behaviour on bad integer value for ad-hoc confslouiz’
2019-11-06Add a test for MAM without an “end” valuelouiz’
2019-10-31Split all the e2e tests in their own fileslouiz’
Some duplication is avoided, but most importantly: it’s much much cleaner, easier to find, functions have been cleaned up (functools.partial usages are now hidden), etc.
2019-09-23Remove a duplicate e2e testlouiz’
2019-09-23Add tests for non anonymous roomslouiz’
See #3390
2019-09-22Expect a 210 code in the "change nick on join" e2e testlouiz’
2019-09-18Update the e2e test to work with latest slixmpplouiz’
2019-09-14Update the tests to reflect the next->complete changelouiz’
2019-08-25Add a test for outgoing /me messages that confirms issue #3382louiz’
2019-08-20XEP-0410: set not-in-the-room error condition to not-acceptableJonas Schäfer
XEP-0410 demands that. This changes the error condition for all pings to the room, even those which aren’t self-pings, if the sender is not joined. The conditions of XEP-0410 were based on observing existing implementations.
2019-08-20XEP-0410: implement server-side optimisation for self-pingsJonas Schäfer
This prevents the ping from round-tripping through IRC and possibly a random other client of the user. Please see XEP-0410 for the rationale. Fixes #3385.
2018-10-04Do not send the IRC host directly as real JID of the userrefactor-resourcesJonas Schäfer
Fixes #3381
2018-09-17Add a test demonstrating #3378louiz’
2018-08-26Flush stdout between each e2e testlouiz’
2018-08-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-08-23Trivial move of a variable in a smaller “ifndef” scopelouiz’
2018-07-27Fix a few e2e tests that could fail due to race conditionlouiz’
The order of the messages received can be different, if the IRC server decides so, or lags, or something.
2018-07-25Add two more sleeps, for the same reasonlouiz’