PromucFlow_constructor/app/client/cypress/fixtures
Rahul Barwal cfb6c99196
chore: Add cypress specs for partial import and export functionality (#30166)
## Description

This pull request adds partial import and export tests to the
application. It includes the following changes:

- Adds exported file to be used in partial import export tests

- Add export and import options to EntityExplorer

- Adds spec to test export functionality.

- Add PartialImportExportLocators.ts, EntityCheckboxSelector.tsx,
JSExportedOnly.json, and index.tsx

- Add test for partial export functionality for selected datasources

- Adds test to check all exported sections one by one

- Refactor partial export functionality tests

- Refactor export and import locators

- Add test for partial import functionality

#### PR fixes following issue(s)
Fixes #30029 
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### 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
- [ ] 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


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

- **New Features**
- Introduced partial export and import functionality for components such
as JavaScript objects, queries, widgets, and data sources.
	- Enhanced Entity Explorer with new "Export" and "Import" actions.

- **Tests**
	- Added test cases for validating partial export and import features.
- Updated test suite to include direct app level import with data
sources.

- **Refactor**
- Modified access level for the `uploadFile` property in the HomePage
class to facilitate testing.

- **Style**
	- Updated UI components with test identifiers to improve testability.

- **Chores**
	- Updated the list of tests for running limited test scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2024-01-17 11:20:01 +05:30
..
Bugs
Datatypes
Files
ImportApps
Listv2
PartialImportExport chore: Add cypress specs for partial import and export functionality (#30166) 2024-01-17 11:20:01 +05:30
Table
Templates
Videos
AAAFlowerVase.jpeg
AAAGlobeChristmas.jpeg
addWidgetTable-mock.json
alignmentWithDynamicHeightDsl.json
AllWidgetsDsl.json
apiParallelDsl.json
apiTableDsl.json
appNavigationTestingApp.json
appNavigationTestingAppWithLongPageNamesAndTitle.json
Appsmith.gif
appsmithlogo.png
audioWidgetDsl.json
autocomp.json
autoHeightContentAlignmentDSL.json
autoHeightInvisibleWidgetsDSL.json
autoHeightOverlapDSL.json
autoLayoutAutoHeight.json fix: View mode dimension observer (#29071) 2023-11-28 19:58:58 +05:30
autoLayoutContainerWidgetDsl.json
autoLayoutCopyPaste.json
autoLayoutReflow.json
AutoLayoutTableWidgetDsl.json
AutolayoutWidgetsDsl.json
base64imagedsl.json
basicDsl.json
basicNumberDataTableDsl.json
basicTabledsl.json
buttonApiDsl.json
buttondsl.json
ButtonGroup_MenuButton_Width_dsl.json
buttonGroupDsl.json
buttonLintErrorDsl.json
buttonRecaptchaDsl.json
CameraDsl.json
CanvasResizeDsl.json
categorySliderWidgetDsl.json
chartCustomDataDsl.json
chartCustomSankeyDataDsl.json
ChartDsl.json
ChartLoadingDsl.json
ChartTextDsl.json
chartUpdatedDsl.json
checkboxgroupDsl.json
CMSdsl.json
commondsl.json
CommunityIssuesExport.json
ConcreteHouse.jpg
containerdsl.json
ContainerWithOtherWidgetsDsl.json
ContextSwitching.json
conversionDslWithDynamicBindings.json
conversionFrAutoLayoutDsl.json
CurrencyInputDynamic.json
CurrencyInputIssueExport.json
customWidget.json chore: custom widget (#28926) 2023-12-28 12:16:28 +05:30
datasources.json
datepicker_switchDsl.json
datePicker2dsl.json
datePickerdsl.json
datePickerV2Updated_dsl.json
debuggerDependencyDsl.json
debuggerTableDsl.json
defaultFilterText.json
defaultMetadataDsl.json
defaultMetaDsl.json
defaultTableDsl.json
defaultTableV2Dsl.json
DeleteGitRepos.json
deprecatedWidgets.json
disabledWidgetsDsl.json
displayWidgetDsl.json
DividerDsl.json
DocumentViewerDsl.json
dropDownWidget_reset_check_dsl.json
dynamicHeightCanvasResizeDsl.json
dynamicHeightContainerCheckboxdsl.json
dynamicHeightContainerdsl.json
dynamicHeightContainerScrolldsl.json
DynamicHeightDefaultHeightdsl.json
dynamicHeightFormSwitchdsl.json
dynamicHeightListDsl.json
DynamicHeightListTextDsl.json
DynamicHeightModalDsl.json
dynamicHeightStatboxdsl.json
dynamicHeigthContainerFixedDsl.json
dynamicTabWidgetdsl.json
editorContextdsl.json
emptyDSL.json
EmptyListWidget.json
exampleEncodedDocs.js
executeAction.json
executionParamsDsl.json
explorerHiddenWidgets.json
exported-app.json
exportedApp.json
filepickerDsl.json
filePickerTableDSL.json
filePickerV2_reset_check_dsl.json
filePickerV2WidgetReskinDsl.json
fontData.json
forkedApp.json
forkNonSignedInUser.json
formChangeDSL.json
formDataDsl.json
formdsl.json
formdsl1.json
formHasChangesDsl.json
formInputTableDsl.json
formInputTableV2Dsl.json
formResetDsl.json
formSelectDsl.json
formSelectTreeselectDsl.json
formSwitchDsl.json
formWidgetdsl.json
formWidgetWithInputValCheckDsl.json
formWithInputdsl.json
formWithRTEDsl.json
formWithtabdsl.json
gitImport.json
googleSource.json
iconButtonWidgetsDsl.json
IframeDsl.json
IframeOnSrcDocChange.json
ImageHugWidgetDsl.json
ImportAppAllAccess.json test: Fix for gsheet failures (#30249) 2024-01-12 17:54:02 +05:30
ImportAppReadAccess.json test: Gsheet automation phase 2 (#27711) 2023-10-11 13:04:47 +05:30
ImportAppReadWriteAccess.json test: Gsheet automation phase 2 (#27711) 2023-10-11 13:04:47 +05:30
ImportAppSelectedAccess.json test: Gsheet automation phase 2 (#27711) 2023-10-11 13:04:47 +05:30
inputBindingdsl.json
inputdsl.json
inputMaxCharDsl.json
inputWidgetMobileDsl.json
InputWidgetV2InsideListDSL.json
Invalid_binding_dsl.json
invisibleWidgetdsl.json
Js_toggle_dsl.json
JSApiOnLoadDsl.json
jsFunctionTriggerDsl.json
JSObjectMutationTestApp.json
JsObjecWithGitdsl.json
JSObjOnLoadApp.json
jsonFormDslWithoutSchema.json
jsonFormDslWithSchema.json
jsonFormDslWithSchemaAndWithoutSourceData.json
jsonFormDynamicHeightDsl.json
jsonFormInModalDsl.json
jsonFormUnicodeDSLWithoutSourceData.json
jsonTextDsl.json
largeJSONData.json
layoutdsl.json
lazyRender.json
library_export.json
listdsl.json
listRegression2Dsl.json
listRegression3Dsl.json
listRegressionDsl.json
listV2AudioVideoDsl.json
listV2ButtonsDsl.json
listV2NestedDsl.json fix: Check for parent widget existence to render drop target (#28275) 2023-10-23 16:41:40 +05:30
listv2PaginationDsl.json
ListVulnerabilityDSL.json
listwidgetData.json fix: defer data update for js objects (#29564) 2023-12-14 14:10:32 +05:30
listwidgetdsl.json
listWidgetLintDsl.json
ListWidgetWithDataAndButtonDSL.json
longCanvasDsl.json
mainContainerOverflow.json fix: Fixed Layout system: Main container background underflow (#29796) 2024-01-03 01:17:56 +05:30
MapChartDsl.json
Mapdsl.json
menuButtonDsl.json
mobileresponisvenessDsl.json
mobileresponsiveness_multipleDsl.json
mobileViewScrollDsl.json
ModalDsl.json
modalOnTableFilterPaneDsl.json
modalScroll.json
modalWidgetBGcolorDSL.json
modalWidgetTestApp.json
mongo_GET_Actions.json
mongo_GET_selectTableDropdown.json
mongo_POST_Actions.json
mongo_PUT_replaceLayoutWithCRUD.json chore: App Sidebar testing (#28479) 2023-11-15 08:01:12 +05:30
mongoAppdsl.json
multiPartFormDataDsl.json
multipleContainerdsl.json
MultipleInput.json
MultipleWidgetDsl.json
multiSelectDsl.json
multiSelectedRowUpdationDsl.json
multiSelectedRowUpdationTableV2Dsl.json
multiTreeSelectDsl.json
mySQL_GET_Actions.json
mySQL_GET_selectTableDropdown.json
mySQL_POST_Execute.json
mySQL_PUT_replaceLayoutWithCRUD.json
navigateToInputDsl.json
navigateTotabledsl.json
newFormDsl.json
noiseDsl.json
numberSliderWidgetDsl.json
omnibarDsl.json
one_postgres.json
onPageLoadActionsDsl.json
PageLoadDsl.json
paramsDsl.json
patchjson.txt
PgAdmindsl.json
PhoneInputDynamic.json
plugins.json
postInviteStub.json
postjson.txt
previewMode.json
promisesBtnDsl.json
promisesBtnImgDsl.json
promisesBtnListDsl.json
promisesStoreValueDsl.json
publishedModeToastToggleDsl.json
putjson.txt
qr.mjpeg
radioGroup_int_value_dsl.json
rangeSliderWidgetDsl.json
replay.json
REPO.ts
resetPassword.json
resetWidgetDSL.json fix: resetWidget doesn't reset child widgets inside a list (#30121) 2024-01-09 18:51:56 +05:30
ResizeListDsl.json
richTextEditorDsl.json
rundsl.json
sample-pdf-file.pdf
Sample.tsv
SampleXLS.xls
saveAction.json
Select_table_dsl.json
SelectDslWithEmptyOptions.json
selectMultiSelectTreeSelectWidgetDsl.json
selectWidgetDsl.json
SimpleBinding.json
slashcommandDsl.json
SMTPTestdsl.json fix: revert #28841 (#29197) 2023-11-29 17:36:38 +01:00
snippetDsl.json
snippetErrordsl.json
snippingTableDsl.json
StatboxDsl.json
SwitchGroupWidgetDsl.json
swtchTableDsl.json
swtchTableV2Dsl.json
tabdsl.json
tabInputDsl.json
tableAndChart.json
tableAndTextDsl.json
TableClientSearch.json
TableFilterImportApp.json
tableInputDsl.json
TableMigrationAppExported.json
TableMigrationDsl.json
tableNewDsl.json
tableNewDslWithPagination.json
tableResizedColumnsDsl.json
tableTextPaginationDsl.json
tablev1NewDsl.json
tableV2AndTextDsl.json
TableV2ClientSearch.json
tableV2ColumnOrderDsl.json
tableV2NewDsl.json
tableV2NewDslWithPagination.json
tableV2ResizedColumnsDsl.json
tableV2TextPaginationDsl.json
tableV2WidgetCondnFormatDsl.json
tableV2WidgetDsl.json
tableV2WithTextWidgetDsl.json
tableV2WithUrlColumnDsl.json
tableWidgetCondnFormatDsl.json
TableWidgetDatawithEmptyKeys.json
tableWidgetDsl.json
tableWithNumberColumnDsl.json
tableWithTextWidgetDsl.json
tabsDsl.json
tabsWidgetDsl.json
tabsWidgetReset.json
tabsWithWidgetDsl.json
templatePageWithNullbindings.json
Test_csv.csv
test-data-gsheet.ts
test.ppt
testAction.json
testdata.json fix: improve validation error message for Table widget (#29686) 2024-01-03 19:26:33 +05:30
TestDataSet1.json test: Cypress | Promises_1_spec.ts TED URL replace for flaky fix (#29276) 2023-12-05 11:26:22 +05:30
testDoc.docx
testFile.mov
testFile2.mov
TestSpreadsheet.xlsx
textDsl.json
textLintErrorDsl.json
textNewDsl.json
TextTabledsl.json
TextTableV2dsl.json
textWidgetDsl.json
textWidgetDynamicdsl.json
ThemeAppdsl.json
TreeSelectDsl.json
uiBindDsl.json
US_PopulationTest.xlsx
user.json
variables.ts
videoWidgetApp.json
viewdsl.json
WidgetCopyPaste.json
widgetPopupDsl.json
widgetSelection.json
xmlParser.json chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30