PromucFlow_constructor/app/client/cypress/integration/Regression_TestSuite/ClientSideTests
Manish Kumar ee31529aae fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052)
## Description
Since we have introduced the error handling framework, each plugin
produces error messages specific to the plugin execution exception. This
Pr is just about standardising these error messages.
In this PR we are handling only five plugins as mentioned:
- Rest API
- MongoDB
- Postgres
- MySql
- Google Sheets

> Modifying error messages for five plugins Rest API, Mongo, Postgres,
MySQL, and Google Sheets for improving consistency.

In addition it also takes care of the following issues
- If the downstream error message is available response.body will hold
that value and it will hold the appsmith error message otherwise
- Don't override the actual http status code with Appsmith error code in
case of RestAPI and GraphQL plugins

Fixes #20438 #21022

## Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## How Has This Been Tested?
- Manual

## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag

---------

Co-authored-by: subrata <subrata@appsmith.com>
Co-authored-by: ChandanBalajiBP <104058110+ChandanBalajiBP@users.noreply.github.com>
(cherry picked from commit 60626a14cf)
2023-03-06 10:01:26 +05:30
..
ActionExecution test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
AdminSettings test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
AuditLogs test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
Autocomplete test: Flaky test fix (#21019) 2023-03-03 18:05:53 +05:30
Binding test: Script updates for flaky tests (#20846) 2023-02-22 11:31:25 +05:30
Branding test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
BugTests fix: Ensure backward compatibility w.r.t. statusCode and response.body in case of errors (#21052) 2023-03-06 10:01:26 +05:30
CodeComment test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
DynamicHeight test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
EmbedSettings test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
ExplorerTests test: Flaky test fix (#21019) 2023-03-03 18:05:53 +05:30
FormLogin test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
FormNativeToRawTests test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
GenerateCRUD test: Cypress tests - Grouping logical it blocks - Part 1 (#20305) 2023-02-25 00:35:19 +05:30
Git test: Flaky test fix (#21019) 2023-03-03 18:05:53 +05:30
Github test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Google test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
IDE feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
JSLibrary fix: JSPDF output API crash (#20544) 2023-02-10 13:13:22 +05:30
Linting test: Fix flaky tests + Add clean up for git repos (#20319) 2023-02-06 13:07:01 +05:30
Onboarding fix: onboarding widget selection (#21050) 2023-03-03 15:50:14 +05:30
OtherUIFeatures feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
PeekOverlay feat: peek overlay (#20053) 2023-02-17 21:33:34 +05:30
PropertyPane test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Refactoring test: Cypress Flaky fixes + Mock api update + PgAdminspec fix (#20032) 2023-02-02 13:29:24 +05:30
SettingsPane test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
Templates test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
ThemingTests test: Flaky test fix (#20950) 2023-02-24 22:41:25 +05:30
VisualTests feat: URL Navigation for Widgets (#20202) 2023-02-21 19:08:16 +05:30
Widgets fix: UI inconsistency in log tab (#21037) 2023-03-03 18:19:50 +05:30
Workspace fix: UI inconsistency in log tab (#21037) 2023-03-03 18:19:50 +05:30