You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attachment does not collapse –––––––––––––––––––––––––
Create an incoming webhook ad send POST with attachment
View the webhook post that has the attachment
Type /collapse and press Enter
Observe the integration post with the Message Attachment
Expected
Does not collapse
Test Folder:/cypress/integration/integrations/incoming_webhook Test code arrangement:
describe('Integrations/Incoming Webhook', () => {
it('MM-T642 Attachment does not collapse', () => {
// code
});
});
Notes:
Do not add @prod label in a spec file
If you're writing script into a newly created test file, @prod label should not be included.
If you're adding script into an existing test file, @prod label should removed.
Use queries from testing-library whenever possible. We share the same philosophy as the testing-library when doing UI automation like "Interact with your app the same way as your users" and so, please follow their guidelines especially when querying an element.
hmhealey
changed the title
Write Webapp E2E with Cypress: "MM-T642 Attachment does not collapse"
Write Web App E2E with Cypress: "MM-T642 Attachment does not collapse"
Apr 27, 2023
See our documentation for Webapp end-to-end testing with Cypress for reference.
MM-T642 Attachment does not collapse
Steps
Attachment does not collapse–––––––––––––––––––––––––
Expected
Test Folder:
/cypress/integration/integrations/incoming_webhook
Test code arrangement:
Notes:
@prod
label in a spec file@prod
label should not be included.@prod
label should removed.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.
The text was updated successfully, but these errors were encountered: