If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
Notes: Jira ticket
Test Key: TS13548
Help write an automated test using cypress for the following test case:
Note: This test assumes you already have an account on the server and have logged in.
Expected:
See our end-to-end testing documentation for reference - https://developers.mattermost.com/contribute/webapp/end-to-end-tests/
I'll attempt this one!
When the team member is added, System message posts to Town Square "[user2] added to the team by [user1]" and uses "channel" for Off-Topic. Should it be using "channel" instead of "team"?
Thanks for working on this @courtneypattison! :+1:
The current behaviour (master) is:
[user2] added to the team by you. gets posted in ~town-square[user2] added to the channel by [user1]. gets posted in ~off-topic.@lindalumitchell Is this the correct behaviour?
Thanks @courtneypattison and @hanzei!
Yes, the stated behavior is correct. The reason is that Town Square is the one required default channel for the team; users cannot leave it. If a user is on the team, they will be in that channel.
Off-Topic is currently a default channel that users are also auto-added to when they join a team, but users can choose to leave Off-Topic.
So the idea is that being added to Town Square is an indicator that the user has joined the team rather than just any one channel, so the message communicates that information.
Thanks @lindalumitchell. :+1:
Does this solve your questions @courtneypattison?
Yes, that's perfect! Thank you @hanzei and @lindalumitchell :)
Most helpful comment
Yes, that's perfect! Thank you @hanzei and @lindalumitchell :)