PromucFlow_constructor/app/client/cypress
Anand Srinivasan bd2cc8d612
fix: display picture - prevent invalid files (#22900)
## Description

When selecting a display picture, show alert on selecting invalid file
type.
e.g. when you rename a pdf file to png and try to upload it

Design system changes:
https://github.com/appsmithorg/design-system/pull/466

Fixes #22592

Media
https://www.loom.com/share/f8971769aaad422fb86c6b02306102ce


## Type of change
- Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?
- Cypress
- Manual

### Test Plan
> Add Testsmith test cases links that relate to this PR

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [x] My code follows the style guidelines of this project
- [x] 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
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test
2023-05-04 11:26:17 +05:30
..
fixtures fix: display picture - prevent invalid files (#22900) 2023-05-04 11:26:17 +05:30
integration fix: display picture - prevent invalid files (#22900) 2023-05-04 11:26:17 +05:30
locators feat: signposting stickiness (#22088) 2023-05-02 15:22:05 +05:30
manual_TestSuite test: Disable the gsheet test (#22111) 2023-04-05 14:34:24 +05:30
patches
plugins
snapshots/Smoke_TestSuite/ClientSideTests/VisualTests feat: Auto indent and save code on pressing Ctrl/Cmd + S (#22176) 2023-04-16 18:21:32 +05:30
support fix: display picture - prevent invalid files (#22900) 2023-05-04 11:26:17 +05:30
.eslintrc.json chore: improve husky and lint-staged checks (#21679) 2023-03-23 17:02:18 +05:30
apply-patches.js ci: CI optimisation to reduce ci-test run time and modularise docker image building (#21219) 2023-03-10 12:51:32 +05:30
cypress-docker-compose.yml ci: Add lint check to the build step (#21442) 2023-03-20 22:50:44 +05:30
index.ts
init-mssql-dump-for-test.sql test: Cypress - Automated basic tests for MsSQL DS (#21446) 2023-03-16 23:58:32 +05:30
init-mysql-dump-for-test.sql
init-pg-dump-for-test.sql
package.json feat: Add support for tab in autocompletion (#22653) 2023-04-28 15:32:40 +05:30
setup-test-ci.sh ci: run fat container docker inside perf tests and update setup-perf-test workflow to use localhost for accessing dev environment (#20280) 2023-02-07 15:56:41 +05:30
setup-test.sh test: Cypress migration to TED GITEA (#18799) 2023-02-15 01:12:45 +05:30
test.sh test: Moving specs to run on FatContainer + Gitea migration (#18920) 2023-01-25 11:09:02 +05:30
tsconfig.json ci: Add lint check to the build step (#21442) 2023-03-20 22:50:44 +05:30
xataadd.sh ci: Comment failing tests to PR (#18450) 2022-12-19 16:23:39 +05:30
xatadel.sh ci: Comment failing tests to PR (#18450) 2022-12-19 16:23:39 +05:30