fix: label for data type in s3 create file action (#32484)

This commit is contained in:
Aman Agarwal 2024-04-08 22:58:56 +05:30 committed by GitHub
parent d1fc52e1e6
commit 732026fc06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View File

@ -153,7 +153,11 @@ describe(
response.body.data.pluginErrorDetails.appsmithErrorMessage,
).to.contains("File content is not base64 encoded.");
});
dataSources.ValidateNSelectDropdown("File data type", "Base64", "Text");
dataSources.ValidateNSelectDropdown(
"File data type",
"Base64",
"Text / Binary",
);
dataSources.RunQuery({ toValidateResponse: false });
cy.wait("@postExecute").then(({ response }) => {
@ -417,7 +421,11 @@ describe(
fileName = "S3Crud_" + uid;
cy.typeValueNValidate(fileName, formControls.s3FilePath);
dataSources.ValidateNSelectDropdown("File data type", "Base64", "Text");
dataSources.ValidateNSelectDropdown(
"File data type",
"Base64",
"Text / Binary",
);
cy.typeValueNValidate(
'{"data": "Hi, this is Automation script adding file for S3 CRUD New Page validation!"}',
formControls.rawBody,

View File

@ -41,7 +41,7 @@
"value": "YES"
},
{
"label": "Text",
"label": "Text / Binary",
"value": "NO"
}
]