PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide
saiprabhu-dandanayak a6c109b3ba
feat: allow multiple lines in alert component (#36126)
### Description
 
### Fixes :
[#30851](https://github.com/appsmithorg/appsmith/issues/30851)

I have raised this pr in-order to allow multiple lines in alert message

### Screenshots

### passing `\n` in the message
![Screenshot from 2024-09-05
13-51-43](https://github.com/user-attachments/assets/02f5fe58-44a6-40e1-a366-c909018e4417)

### unable to parse `\n`
![Screenshot from 2024-09-05
13-50-06](https://github.com/user-attachments/assets/e5fe1d14-4c80-4c5d-8f67-350788d8d84c)

### After issue is resolved
![Screenshot from 2024-09-05
13-55-01](https://github.com/user-attachments/assets/05c8477c-d593-4b5e-9de0-9b6867234c3f)

### Cypress Testing video


https://github.com/user-attachments/assets/ec826cef-664f-4392-b81e-9974178e65ec







<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new styled component `StyledPre` for enhanced formatting
in toast notifications.
- Enhanced the Toast component to better render content, improving
readability by preserving whitespace and formatting.
- Added automated tests for the button widget's alert functionality,
ensuring correct display of messages with newline characters.

- **Bug Fixes**
- Improved the display of alert messages in toast notifications,
ensuring they respect original formatting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-30 11:15:51 +01:00
..
ActionExecution chore: Replacing ted api call for resources (#36472) 2024-09-25 19:41:00 +05:30
AdminSettings chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
Anvil fix: disable anvil snapshots tests (#36422) 2024-09-19 14:22:21 +03:00
AppNavigation chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
AuditLogs chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
Autocomplete chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
Binding chore: Replacing ted api call for resources (#36472) 2024-09-25 19:41:00 +05:30
Branding test: Updating the locator for upgrade button on admin settings (#33872) 2024-05-31 21:07:28 +05:30
BugTests chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
CodeComment
CommunityTemplate fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
Debugger chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
DynamicHeight chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
Editor test: Cypress - separated exclude airgap cases and tagged them (#30588) 2024-01-24 16:47:58 +05:30
EmbedSettings test: Cypress | Added Dynamic checks for Flaky fix + Cypress upgrade (#30840) 2024-02-02 16:01:59 +05:30
ExplorerTests chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
Fork chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
FormLogin chore: change snapshot package (#35867) 2024-09-12 11:09:42 +03:00
FormNativeToRawTests fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
Git fix: fixed autocommit spec for airgap (#36579) 2024-09-27 18:07:57 +08:00
Github chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
Google chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
Homepage feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
IDE test: udpated 3rd party api for Commandclick nav spec (#36545) 2024-09-26 12:09:17 +05:30
JSLibrary
JSObject test: fix JsObjectMutation flaky test (#32936) 2024-04-26 18:19:22 +05:30
Linting fix: show linting errors on browser API added (#32732) 2024-04-18 18:49:15 +05:30
MobileResponsiveTests test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
Onboarding chore: Remove unnecessary flag ab_show_templates_instead_of_blank_canvas_enabled (#33313) 2024-05-13 09:32:00 +05:30
OneClickBinding chore: Replacing ted api call for resources (#36472) 2024-09-25 19:41:00 +05:30
OtherUIFeatures chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
PartialImportExport test: PartialExport_Widgets_spec - updated test validation logic (#33371) 2024-05-21 18:40:02 +05:30
PeekOverlay
Performance
ProductRamps chore: rm dr ce (#34765) 2024-07-31 08:24:51 +05:30
PropertyPane
PublishedApps
Refactoring
SetProperty chore: Replacing ted api call for resources (#36472) 2024-09-25 19:41:00 +05:30
SettingsPane chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
Templates chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
ThemingTests fix: Theming Selected new Font is reverted whenever Color is removed (#36119) 2024-09-06 12:46:51 +05:30
UserProfile feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
VisualTests chore: change snapshot package (#35867) 2024-09-12 11:09:42 +03:00
Widgets feat: allow multiple lines in alert component (#36126) 2024-09-30 11:15:51 +01:00
Workspace chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30