-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-T636 Description field for incoming and outgoing webhooks can hold 500 characters #6682
MM-T636 Description field for incoming and outgoing webhooks can hold 500 characters #6682
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @MikeworX
Please find my comments. Also, please try to make the filename simple and short. Adding the assertions as filename does not looks good as it makes it lengthy. You can make it short like:
description_length_check_spec.js
...webhook/description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js
Outdated
Show resolved
Hide resolved
...webhook/description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js
Outdated
Show resolved
Hide resolved
...webhook/description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js
Outdated
Show resolved
Hide resolved
...webhook/description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @MikeworX! Please see comments.
e2e/cypress/integration/integrations/incoming_webhook/description_length_check_spec.js
Outdated
Show resolved
Hide resolved
e2e/cypress/integration/integrations/incoming_webhook/description_length_check_spec.js
Outdated
Show resolved
Hide resolved
e2e/cypress/integration/integrations/incoming_webhook/description_length_check_spec.js
Outdated
Show resolved
Hide resolved
...webhook/description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js
Outdated
Show resolved
Hide resolved
e2e/cypress/integration/integrations/incoming_webhook/description_length_check_spec.js
Outdated
Show resolved
Hide resolved
e2e/cypress/integration/integrations/incoming_webhook/description_length_check_spec.js
Outdated
Show resolved
Hide resolved
…500_characters_spec.js name change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikeworX Thanks for updating. Looks good to me! I left last comment which I missed during the previous review.
e2e/cypress/integration/integrations/incoming_webhook/description_length_check_spec.js
Outdated
Show resolved
Hide resolved
…ikeworX/mattermost-webapp into description-field-can-hold-500
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @MikeworX. LGTM
/update-branch |
…o MM-20457 * 'master' of github.com:Tak-Iwamoto/mattermost-webapp: (87 commits) MM-T644 Integrations display on team where they were created (mattermost#6752) [MM-20478] Migrate post_header module to TypeScript (mattermost#6631) [MM-20599] Migrated select_team component to Typescript (mattermost#6574) MM-20554 Migrate 'components/delete_post_modal' module and associated tests to TypeScript (mattermost#6656) [MM-24436]- Add a threshold from bottom for new messages toast (mattermost#5828) [MM-20489] Migrate failed_post_options and its tests to typescript (mattermost#6717) [MM-28063] Cloud Telemetry - Admin Console (mattermost#6762) [MM-29559][MM-29558] Company Info Fixes (mattermost#6764) [MM-29557] [MM-29590] Update subscription when purchase modal closes (mattermost#6765) [MM-29615] Fixed subscription page so it doesn't load until subscription info is loaded (mattermost#6766) [MM-28064] Add telemetry in various places around cloud message banners (mattermost#6763) migrate changeCSS function CSS variable for mobile CSS .tutorial-steps__container selector. (mattermost#6743) [MM-27231]: cypress test for MM-T1837 (mattermost#6676) [MM-28062] Add telemetry for in-app purchase flow (mattermost#6760) MM-27454 - Contact Us and Billing Documentation Links (mattermost#6731) [MM-20514] Migrates components/password reset send link to typescript (mattermost#6584) Cloud Billing polish Soft GA (mattermost#6740) [MM-28221] Payment Info Edit/View (mattermost#6709) MM-T636 Description field for incoming and outgoing webhooks can hold 500 characters (mattermost#6682) Translations update from Weblate (mattermost#6748) ...
… 500 characters (#6682) * first run * fixes * refactor, add sanity check * Delete description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js name change * move let into describe block Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
… 500 characters (#6682) * first run * fixes * refactor, add sanity check * Delete description_field_for_incoming_and_outgoing_webhooks_can_hold_500_characters_spec.js name change * move let into describe block Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
This PR validates that the description field for both incoming and outgoing webhooks can only hold 500 characters.
The webhook add page is loaded, then 503 characters are typed into the description field. The character count in the field is then asserted to be 500 and not 503.
vercel
TM4J