Fixed ExecutionParams (#6284)

This commit is contained in:
yatinappsmith 2021-07-30 18:33:34 +05:30 committed by GitHub
parent 607012388e
commit de1088f84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -114,7 +114,7 @@
"inputType": "TEXT",
"label": "Endpoint",
"widgetName": "EndpointInput",
"defaultText": "offers",
"defaultText": "users",
"type": "INPUT_WIDGET",
"isLoading": false,
"parentColumnSpace": 71.75,

View File

@ -54,7 +54,7 @@ describe("API Panel Test Functionality", function() {
cy.testJsontext("tabledata", "{{Query1.data}}");
// Assert 'posts' data (default)
cy.readTabledataPublish("0", "1").then((cellData) => {
expect(cellData).to.be.equal("Ximenez Kainz");
expect(cellData).to.be.equal("Test user 7");
});
// Choose static button
cy.SearchEntityandOpen("StaticButton");
@ -65,7 +65,7 @@ describe("API Panel Test Functionality", function() {
// Bind with MultiApi with static value
cy.testJsontext(
"onclick",
"{{Query1.run(undefined, undefined, { tableName: 'orders' })}}",
"{{Query1.run(undefined, undefined, { tableName: 'users' })}}",
);
cy.get(commonlocators.editPropCrossButton).click({ force: true });
@ -86,7 +86,7 @@ describe("API Panel Test Functionality", function() {
// Assert on load data in table
cy.readTabledataPublish("0", "1").then((cellData) => {
expect(cellData).to.be.equal("Ximenez Kainz");
expect(cellData).to.be.equal("Test user 7");
});
// Click Static button
@ -104,7 +104,7 @@ describe("API Panel Test Functionality", function() {
cy.wait(5000);
// Assert statically bound "users" data
cy.readTabledataPublish("1", "1").then((cellData) => {
expect(cellData).to.be.equal("OUT_FOR_DELIVERY");
expect(cellData).to.be.equal("Test user 8");
});
// Click dynamic button
@ -122,7 +122,7 @@ describe("API Panel Test Functionality", function() {
cy.wait(5000);
// Assert dynamically bound "todos" data
cy.readTabledataPublish("0", "1").then((cellData) => {
expect(cellData).to.be.equal("DISCOUNT");
expect(cellData).to.be.equal("Test user 7");
});
});
});