PromucFlow_constructor/app/client/cypress/e2e/Regression/ServerSide
Nilansh Bansal af6540fc85
fix: cypress test for multipart/form-data (#39356)
## Description
> This PR fixes the cypress test for API multipart/form-data when the
FilePicker is selected as Base64

We have updated the cypress test to use `{{FilePicker1.files[0].data}}`
instead of `{{FilePicker1.files[0]}}`, this is because for base64 type
file picker we have to use `.data` property to make the file upload work
successfully.
Earlier, while the cypress test was passing with
{{FilePicker1.files[0]}} but the uploaded image was corrupted (please
check the screen recording below).


https://github.com/user-attachments/assets/c8cf07a1-db1c-4065-913a-00d544fe7e2b




Fixes #39354 

## Automation

/ok-to-test tags="@tag.Datasource"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> 🟣 🟣 🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/13408509228>
> Commit: 7b2360f4c5967d6082a442ed2eba15d6348dad6b
> Workflow: `PR Automation test suite`
> Tags: `@tag.Datasource`
> Spec: ``
> <hr>Wed, 19 Feb 2025 08:40:23 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


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

## Summary by CodeRabbit

- **Tests**
  - Updated file upload tests to properly validate file data extraction.
- Added a test scenario for adding new pages to enhance page management
verification.
- Revised page selection during tests for more accurate validation
outcomes.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-19 09:28:39 +00:00
..
ActionExecution chore: Reverted appsmith url (#37267) 2024-11-20 10:46:51 +05:30
ApiTests fix: cypress test for multipart/form-data (#39356) 2025-02-19 09:28:39 +00:00
AppLevelImport chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
Datasources fix: skip snowflake test cases in cypress (#39304) 2025-02-17 11:19:12 +05:30
GenerateCRUD fix: Fix the S3 error case (#39240) 2025-02-13 16:42:14 +05:30
JsFunctionExecution chore: Debugger Quick wins (#37954) 2024-12-10 14:43:40 +00:00
LoginTests chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
MySQL_Datatypes feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
OnLoadTests chore: skipping cases for mockdb usage (#38888) 2025-01-30 11:47:38 +05:30
Params feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
Postgres_DataTypes feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
QueryPane fix: check mongo spec 1 fix (#39168) 2025-02-11 15:14:13 +05:30