diff --git a/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/Statbox_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/DynamicHeightStatbox_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/Statbox_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/DynamicHeightStatbox_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/mongoDb_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/JSONForm_mongoDB_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/mongoDb_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/JSONForm_mongoDB_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/postgres_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/JSONForm_postgres_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/postgres_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/JSONFormWidget/JSONForm_postgres_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/mongoDB_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/MultiSelect_MongoDB_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/mongoDB_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/MultiSelect_MongoDB_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/postgres_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/MultiSelect_postgres_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/postgres_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/MultiSelectWidget/MultiSelect_postgres_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/mongoDB_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/Table_MongoDB_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/mongoDB_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/Table_MongoDB_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/postgres_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/Table_postgres_spec.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/postgres_spec.ts rename to app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/Table_postgres_spec.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/RTL_support.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/InputRTL_support.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/RTL_support.ts rename to app/client/cypress/e2e/Regression/ClientSide/Widgets/Input/InputRTL_support.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Multiselect/RTL_support.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelectRTL_support.ts similarity index 100% rename from app/client/cypress/e2e/Regression/ClientSide/Widgets/Multiselect/RTL_support.ts rename to app/client/cypress/e2e/Regression/ClientSide/Widgets/Multiselect/MultiSelectRTL_support.ts diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter2_2_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter2_2_Spec.ts index 2c4260e04d8b..c431157de632 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter2_2_Spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/TableV2Filter2_2_Spec.ts @@ -91,7 +91,7 @@ describe( deployMode.NavigateBacktoEditor(); table.WaitUntilTableLoad(0, 0, "v2"); homePage.NavigateToHome(); - homePage.ImportApp("Table/TableFilterImportApp.json"); + homePage.ImportApp("Table/TableV2FilterImportApp.json"); homePage.AssertImportToast(); deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.TABLE)); table.WaitUntilTableLoad(0, 0, "v2"); diff --git a/app/client/cypress/e2e/Regression/Enterprise/AdminSettings/Admin_settings_spec.js b/app/client/cypress/e2e/Regression/Enterprise/AdminSettings/Admin_Settings_NoAccess_spec.js similarity index 100% rename from app/client/cypress/e2e/Regression/Enterprise/AdminSettings/Admin_settings_spec.js rename to app/client/cypress/e2e/Regression/Enterprise/AdminSettings/Admin_Settings_NoAccess_spec.js diff --git a/app/client/cypress/fixtures/Table/TableFilterImportApp.json b/app/client/cypress/fixtures/Table/TableV2FilterImportApp.json similarity index 100% rename from app/client/cypress/fixtures/Table/TableFilterImportApp.json rename to app/client/cypress/fixtures/Table/TableV2FilterImportApp.json diff --git a/app/client/cypress/manual_TestSuite/API_Datasource_Spec.js b/app/client/cypress/manual_TestSuite/API_Datasource_Spec.js deleted file mode 100644 index 35fb0873bdd3..000000000000 --- a/app/client/cypress/manual_TestSuite/API_Datasource_Spec.js +++ /dev/null @@ -1,52 +0,0 @@ -const commonlocators = require("../../../locators/commonlocators.json"); - -describe("API associated with Datasource", function () { - it("Edit name of the Datasource from Pane and refeclected in the Page ", function () { - // Click on the API datasource - // Click on Action icon (Three Dots) - // Click on "Edit Name" - // Rename the Datasource - // Click on the datasource - // Ensure the name is updated on the Page - }); - it("Edit name of the Datasource from Page and refeclected in the Pane", function () { - // Click on the API datasource - // Navigate to respective - // Click on "Edit " option next to the Name of the datasource - // Rename the Datasource - // Ensure the name is updated in the Pane - }); - it("Edit the API Datasource", function () { - // Click on the API datasource - // Ensure navigation to respective page - // Click on "EDIT" - // Make some changes - // Click on Test - // Click on Save - // Ensure it is refelected in the API - }); - it("Error on trying to Deleting an API Datasource when associated with API ", function () { - // Click on API associated Datasource - // Navigate to respective page - // Click on "Delete" - // Ensure an error message is displayed to user - }); - it("Adding the API to an exsisting Datasource", function () { - // Click on exsisting Datasource - // Navigate to Datasource list page - // Click on "+ New API" - // Ensure new API is added in the RHS Pane - // Click on "Run" - }); - it("Refresh an Datasource ", function () { - // Navigate to the Datasource - // Click on Action icon (Three Dots) - // Click on "Refresh" - // Ensure loading icon - }); - it("User must be displayed with error message when tried to run an empty API ", function () { - // Navigate to the API - // Click on "RUN" - // Ensure an Information j /Ún80jq3message is dispalyed in the Response Body - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Clipboard_Copy_Spec.js b/app/client/cypress/manual_TestSuite/Clipboard_Copy_Spec.js deleted file mode 100644 index af4d499aab60..000000000000 --- a/app/client/cypress/manual_TestSuite/Clipboard_Copy_Spec.js +++ /dev/null @@ -1,43 +0,0 @@ -const dsl = require("../../../fixtures/tableWidgetDsl.json"); - -describe("Test for Clipboard Copy", function () { - it(" Clipboard copy on selecting a row ", function () { - // Add a table widget - // Click on the Property Pane - // Naviagte to Action Items - // Click on "onRow Selection" Dropdown - // Select "Copy to Clipboard" - // Add Text to be copied - // Select a Row from the table - // Add an Input Widget - // Now paste the copied text - // Ensure the text the same as written - }); - it(" Clipboard copy by adding an action button", function () { - // Add a table widget - // Click on the Property Pane - // Naviagte to Action Items - // Click on "Add button" - // Click on the dropdown - // Select on Copy to Clipboard - // Add a Text - // Click on the Action Button - // Add Input Widget - // Paste the text into the widget - // Ensure the text the same as written - }); - it(" Clipboard copy function by converting it to JS ", function () { - // Add a table widget - // Click on the Property Pane - // Naviagte to Action Items - // Click on "Add button" - // Click on the dropdown - // Click on the Js Option - // Add Copy to Clipboard FUNTION - // Add a Text - // Click on the Action Button - // Add Input Widget - // Paste the text into the widget - // Ensure the text the same as written - }); -}); diff --git a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/DatasourceBasicProfile_spec.js b/app/client/cypress/manual_TestSuite/CommentedScriptFiles/DatasourceBasicProfile_spec.js deleted file mode 100644 index aac6a3abef1e..000000000000 --- a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/DatasourceBasicProfile_spec.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Commenting this spec as its flaky - * - * */ -// const testdata = require("../../../../fixtures/testdata.json"); -// describe("Create a rest datasource", function() { -// beforeEach(() => { -// cy.startRoutesForDatasource(); -// }); - -// it("Create a rest datasource", function() { -// cy.NavigateToAPI_Panel(); -// cy.CreateAPI("Testapi"); -// cy.enterDatasource(testdata.basicURl); -// cy.get(".t--store-as-datasource").click(); -// cy.addBasicProfileDetails("test", "test@123"); -// cy.saveDatasource(); -// cy.contains(".datasource-highlight", "envyenksqii9nf3.m.pipedream.net"); -// cy.SaveAndRunAPI(); -// cy.wait(2000); -// var encodedStringBtoA = btoa("test:test@123"); -// cy.log(encodedStringBtoA); -// cy.ResponseStatusCheck(testdata.successStatusCode); -// cy.ResponseTextCheck("Basic ".concat(encodedStringBtoA)); -// }); -// }); diff --git a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Dropdown_spec.js b/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Dropdown_spec.js deleted file mode 100644 index 4b2074fe1a86..000000000000 --- a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Dropdown_spec.js +++ /dev/null @@ -1,181 +0,0 @@ -// const commonlocators = require("../../../../locators/commonlocators.json"); -// const formWidgetsPage = require("../../../../locators/FormWidgets.json"); -// const widgetLocators = require("../../../../locators/Widgets.json"); -// const publish = require("../../../../locators/publishWidgetspage.json"); -// const data = require("../../../../fixtures/TestDataSet1.json"); -// const apiPage = require("../../../../locators/ApiEditor.json"); -// const datasource = require("../../../../locators/DatasourcesEditor.json"); -// const modalWidgetPage = require("../../../../locators/ModalWidget.json"); - -// describe("Dropdown Widget Functionality", function() { -// before(() => { -// _.agHelper.AddDsl("newFormDsl"); -// }); - -// it("Verify Search box for selecting drop-down options", function() { -// cy.openPropertyPane("selectwidget"); -// cy.togglebar(formWidgetsPage.filterCheckbox); -// _.deployMode.DeployApp(); -// cy.get(formWidgetsPage.selectWidget) -// .find(widgetLocators.dropdownSingleSelect) -// .click({ force: true }); -// cy.get(formWidgetsPage.searchBoxDropdown).should("be.visible"); -// }); - -// it("Verify Dropdown default value", function() { -// _.deployMode.DeployApp(); -// cy.get(formWidgetsPage.dropdownDefaultButton).should("contain", "Select"); -// }); - -// it("Selects value with invalid default value", () => { -// cy.openPropertyPane("selectwidget"); -// // Add options in dropdown -// cy.testJsontext("options", JSON.stringify(data.input)); -// // Assign the invalid default value -// cy.testJsontext("defaultoption", "{{ undefined }}"); -// // Select value with invalid default value -// cy.get(formwidgetsPage.selectwidget) -// .find(widgetLocators.dropdownSingleSelect) -// .click({ force: true }); -// cy.get(commonlocators.singleSelectMenuItem) -// .contains("Option 3") -// .click({ force: true }); -// // Varify the selected value -// cy.get(formwidgetsPage.selectwidget) -// .find(widgetLocators.defaultSingleSelectValue) -// .should("have.text", "Option 3"); -// }); - -// it("Verify Dropdown Icon is available", function() { -// _.deployMode.DeployApp(); -// cy.get(formWidgetsPage.dropdowonChevranDown).should("exist"); -// }); - -// // it("Explore Widget related documents Validation", function() { -// // // Open property pane -// // cy.openPropertyPane("selectwidget"); -// // cy.widgetText( -// // "Select", -// // formwidgetsPage.selectwidget, -// // commonlocators.dropdownInner, -// // ); -// // // Click on "Explore widget related docs" button -// // cy.get(formWidgetsPage.exploreWidget).click(); -// // cy.wait(2000); -// // // Verify the widget related document -// // cy.get(formWidgetsPage.widgetRelatedDocument).should("contain", "Select"); -// // cy.wait(2000); -// // cy.get("#header-root").click(); -// // cy.widgetText( -// // "Dropdown1", -// // formwidgetsPage.selectwidget, -// // commonlocators.dropdownInner, -// // ); -// // cy.wait(1000); -// // }); - -// it("Dropdown Close Verification", function() { -// // Open property pane -// cy.SearchEntityandOpen("Dropdown1"); -// // Close propert pane -// cy.closePropertyPane(); -// }); - -// it("Selects value with enter in default value", () => { -// // cy.openPropertyPane("selectwidget"); -// cy.SearchEntityandOpen("Dropdown1"); -// // Enter value in default option -// cy.testJsontext("defaultoption", "3\n"); -// // Verify the default value is selected -// cy.get(formwidgetsPage.selectwidget) -// .find(widgetLocators.defaultSingleSelectValue) -// .should("have.text", "Option 3"); -// }); - -// it("Copy paste dropdown widget", function() { -// const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl"; -// // Open property pane -// cy.SearchEntityandOpen("Dropdown1"); -// cy.widgetText( -// "Dropdown1", -// formwidgetsPage.selectwidget, -// commonlocators.dropdownInner, -// ); -// cy.get("body").type(`{${modifierKey}}c`); -// // eslint-disable-next-line cypress/no-unnecessary-waiting -// cy.wait(500); -// cy.get(commonlocators.toastBody) -// .first() -// .contains("Copied"); -// cy.get("body").click(); -// cy.get("body").type(`{${modifierKey}}v`, { force: true }); -// cy.wait("@updateLayout").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); -// cy.get(commonlocators.toastAction).should("be.visible"); - -// //Check after copying new table widget should not have any warnings -// cy.get('.t--draggable-selectwidget [name="warning"]').should("not.exist"); -// cy.GlobalSearchEntity("Dropdown1Copy"); -// }); - -// it("Dropdown-Delete Verification", function() { -// // Open property pane -// cy.SearchEntityandOpen("Dropdown1Copy"); -// // Delete the Dropdown widget -// cy.deleteWidget(formwidgetsPage.selectwidget); -// _.deployMode.DeployApp(); -// // Verify the Dropdown widget is deleted -// cy.get(formwidgetsPage.selectwidget).should("not.exist"); -// }); - -// it("Dropdown Widget Functionality", function() { -// cy.SearchEntityandOpen("Dropdown1"); -// // Change dropdown name -// cy.widgetText( -// "lock", -// formwidgetsPage.selectwidget, -// commonlocators.containerInnerText, -// ); -// cy.closePropertyPane(); -// }); -// it("Dropdown Functionality To Check disabled Widget", function() { -// cy.openPropertyPane("selectwidget"); -// // Disable the visible JS -// cy.togglebarDisable(commonlocators.visibleCheckbox); -// _.deployMode.DeployApp(); -// // Verify the disabled visible JS -// cy.get(publish.selectwidget + " " + "input").should("not.exist"); -// }); -// it("Dropdown Functionality To UnCheck disabled Widget", function() { -// cy.SearchEntityandOpen("lock"); -// // Check the visible JS -// cy.togglebar(commonlocators.visibleCheckbox); -// _.deployMode.DeployApp(); -// // Verify the checked visible JS -// cy.get(publish.selectwidget).should("exist"); -// }); -// it("Toggle JS - Dropdown-Unckeck Visible field Validation", function() { -// // Open Property pane -// cy.openPropertyPane("selectwidget"); -// //Uncheck the disabled checkbox using JS and validate -// cy.get(formWidgetsPage.toggleVisible).click({ force: true }); -// cy.EditWidgetPropertiesUsingJS(formWidgetsPage.inputToggleVisible, "false"); -// _.deployMode.DeployApp(); -// cy.get(formWidgetsPage.selectWidget).should("not.exist"); -// }); - -// it("Toggle JS - Dropdown-Check Visible field Validation", function() { -// // Open Property pane -// cy.openPropertyPane("selectwidget"); -// //Check the disabled checkbox using JS and Validate -// cy.EditWidgetPropertiesUsingJS(formWidgetsPage.inputToggleVisible, "true"); -// _.deployMode.DeployApp(); -// cy.get(formWidgetsPage.selectWidget).should("exist"); -// }); -// }); -// afterEach(() => { -// _.deployMode.NavigateBacktoEditor(); -// }); diff --git a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Map_spec.js b/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Map_spec.js deleted file mode 100644 index 179690ba59ac..000000000000 --- a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Map_spec.js +++ /dev/null @@ -1,146 +0,0 @@ -const commonlocators = require("../../locators/commonlocators.json"); -const viewWidgetsPage = require("../../locators/ViewWidgets.json"); -const publishPage = require("../../locators/publishWidgetspage.json"); -import * as _ from "../../support/Objects/ObjectsCore"; - -if (Cypress.env("APPSMITH_GOOGLE_MAPS_API_KEY")) { - describe( - "Map Widget Functionality", - { tags: ["@tag.Maps", "@tag.Widget", "@tag.excludeForAirgap"] }, - function () { - before(() => { - _.agHelper.AddDsl("Mapdsl"); - }); - - it("Map Widget Functionality", function () { - cy.openPropertyPane("mapwidget"); - /** - * @param{Text} Random Text - * @param{MapWidget}Mouseover - * @param{MapPre Css} Assertion - */ - cy.widgetText( - "Maptest", - viewWidgetsPage.mapWidget, - viewWidgetsPage.mapInner, - ); - cy.get(viewWidgetsPage.mapinitialloc) - .click({ force: true }) - .clear() - .type(this.dataSet.country) - .type("{enter}"); - cy.get(viewWidgetsPage.mapInput) - .click({ force: true }) - .type(this.dataSet.command) - .type(JSON.stringify(this.dataSet.marker), { - parseSpecialCharSequences: false, - }); - cy.get(viewWidgetsPage.zoomLevel).eq(0).click({ force: true }); - cy.get(viewWidgetsPage.zoomLevel).eq(1).click({ force: true }); - cy.get(viewWidgetsPage.mapSearch) - .click({ force: true }) - .clear() - .type(this.dataSet.location2) - .type("{enter}"); - }); - - it("Map-Enable Location,Map search and Create Marker Property Validation", function () { - /** - * Enable the Search Location checkbox and Validate the same in editor mode - */ - cy.CheckWidgetProperties(commonlocators.enableSearchLocCheckbox); - cy.get(viewWidgetsPage.mapSearch).should("be.visible"); - cy.get(viewWidgetsPage.mapSearch) - .invoke("attr", "placeholder") - .should("contain", "Enter location to search"); - /** - * Enable the Pick Location checkbox and Validate the same in editor mode - */ - cy.CheckWidgetProperties(commonlocators.enablePickLocCheckbox); - cy.get(viewWidgetsPage.pickMyLocation).should("exist"); - - /** - * Enable the Createnew Marker checkbox and Validate the same in editor mode - */ - cy.CheckWidgetProperties(commonlocators.enableCreateMarkerCheckbox); - /** - * Validation will be added when create marker fun is working fine - */ - - _.deployMode.DeployApp(); - /** - * Publish mode Validation - */ - cy.get(publishPage.mapSearch).should("be.visible"); - cy.get(publishPage.mapSearch) - .invoke("attr", "placeholder") - .should("contain", "Enter location to search"); - cy.get(publishPage.pickMyLocation).should("exist"); - _.deployMode.NavigateBacktoEditor(); - }); - - it("Map-Disable Location, Mapsearch and Create Marker Property Validation", function () { - cy.openPropertyPane("mapwidget"); - /** - * Disable the Search Location checkbox and Validate the same in editor mode - */ - cy.UncheckWidgetProperties(commonlocators.enableSearchLocCheckbox); - cy.get(viewWidgetsPage.mapSearch).should("not.exist"); - /** - * Disable the Pick Location checkbox and Validate the same in editor mode - */ - cy.UncheckWidgetProperties(commonlocators.enablePickLocCheckbox); - cy.get(viewWidgetsPage.pickMyLocation).should("not.exist"); - - /** - * Disable the Createnew Marker checkbox and Validate the same in editor mode - */ - cy.UncheckWidgetProperties(commonlocators.enableCreateMarkerCheckbox); - /** - * Validation will be added when create marker fun is working fine - */ - - _.deployMode.DeployApp(); - /** - * Publish mode Validation - */ - cy.get(publishPage.mapSearch).should("not.exist"); - cy.get(publishPage.pickMyLocation).should("not.exist"); - _.deployMode.NavigateBacktoEditor(); - }); - - it("Map-Initial location should work", function () { - cy.openPropertyPane("mapwidget"); - - cy.get(viewWidgetsPage.mapinitialloc).should( - "have.value", - this.dataSet.country, - ); - - /** - * Clearing initial location used to reset it, this check makes sure it actually clears - */ - cy.get(viewWidgetsPage.mapinitialloc) - .click({ force: true }) - .clear() - .should("have.value", ""); - }); - - it("Map-Check Visible field Validation", function () { - //Check the disableed checkbox and Validate - cy.CheckWidgetProperties(commonlocators.visibleCheckbox); - _.deployMode.DeployApp(); - cy.get(publishPage.mapWidget).should("be.visible"); - _.deployMode.NavigateBacktoEditor(); - }); - - it("Map-Unckeck Visible field Validation", function () { - cy.openPropertyPane("mapwidget"); - //Uncheck the disabled checkbox and validate - cy.UncheckWidgetProperties(commonlocators.visibleCheckbox); - _.deployMode.DeployApp(); - cy.get(publishPage.mapWidget).should("not.exist"); - }); - }, - ); -} diff --git a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/MsSQL_Spec.js b/app/client/cypress/manual_TestSuite/CommentedScriptFiles/MsSQL_Spec.js deleted file mode 100644 index e41c5c949713..000000000000 --- a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/MsSQL_Spec.js +++ /dev/null @@ -1,226 +0,0 @@ -// const pages = require("../../../../locators/Pages.json"); -// const generatePage = require("../../../../locators/GeneratePage.json"); -// import homePage from "../../../../locators/HomePage"; -// const datasource = require("../../../../locators/DatasourcesEditor.json"); - -// describe("Generate New CRUD Page Inside from Ms SQL as Data Source", function() { -// let datasourceName; - -// before(() => { -// cy.startRoutesForDatasource(); -// //cy.startInterceptRoutesForDatasource(); //if used in before - 2nd testcase failing with no aliasing found error -// }); - -// it.skip("Add new Page and generate CRUD template using existing supported datasource", function() { -// cy.NavigateToDatasourceEditor(); - -// cy.get(datasource.MsSQL).click(); -// cy.fillMsSQLDatasourceForm(); - -// cy.generateUUID().then((uid) => { -// datasourceName = `MsSQL MOCKDS ${uid}`; -// cy.renameDatasource(datasourceName); -// cy.wrap(datasourceName).as("dSName"); -// }); - -// //TestData source - -// cy.get(".t--test-datasource").click(); -// cy.wait("@testDatasource"); - -// //Save source -// cy.get(".t--save-datasource").click(); - -// //Not using hence commented -// // cy.intercept("PUT", "/api/v1/datasources/*", { -// // fixture: "mySQL_PUT_saveDataSource1.json", -// // }).as("saveDataSourceStub"); - -// //If uncommented - then tc fails -// // cy.wait("@saveDataSourceStub").should( -// // "have.nested.property", -// // "response.body.responseMeta.status", -// // 201, -// // ); - -// //Verify page after save clicked -// cy.get("@saveDatasource").then((httpResponse) => { -// datasourceName = httpResponse.response.body.data.name; -// }); - -// //Create new page -// cy.get(pages.AddPage) -// .first() -// .click(); -// cy.wait("@createPage").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 201, -// ); - -// //Generate New CRUD in new page - -// cy.get("@dSName").then((dbName) => { -// cy.get(generatePage.generateCRUDPageActionCard).click(); -// cy.get(generatePage.selectDatasourceDropdown).click(); -// cy.get(generatePage.datasourceDropdownOption) -// .contains(dbName) -// .click(); -// }); - -// cy.wait("@selectTableDropdownStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); - -// cy.get(generatePage.selectTableDropdown).click(); -// cy.get(generatePage.dropdownOption) -// .first() -// .click(); -// cy.get(generatePage.generatePageFormSubmitBtn).click(); - -// cy.wait("@put_replaceLayoutCRUDStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 201, -// ); -// cy.wait("@getActionsStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); -// cy.wait("@postExecuteStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); - -// cy.get("span:contains('Got it')").click(); -// }); - -// it.skip("Create new app and Generate CRUD page using a new datasource", function() { -// _.homePage.NavigateToHome(); - -// cy.get(homePage.createNew) -// .first() -// .click({ force: true }); - -// cy.wait("@createNewApplication").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 201, -// ); - -// cy.get(generatePage.generateCRUDPageActionCard).click(); -// cy.get(generatePage.selectDatasourceDropdown).click(); - -// cy.contains("Connect new datasource").click(); - -// cy.get(datasource.MsSQL).click(); -// cy.fillMsSQLDatasourceForm(); - -// cy.generateUUID().then((uid) => { -// datasourceName = `MsSQL MOCKDS ${uid}`; -// cy.renameDatasource(datasourceName); -// cy.wrap(datasourceName).as("dSName"); -// }); - -// //TestData source -// cy.get(".t--test-datasource").click(); -// cy.wait("@testDatasource"); - -// //Save source -// cy.get(".t--save-datasource").click(); - -// //Since not being used - commenting it -// // cy.intercept("PUT", "/api/v1/datasources/*", { -// // fixture: "mySQL_PUT_saveDataSource1.json", -// // }).as("saveDataSourceStub"); - -// //This below stub is for populating actual dropdown values - hence not needed in intercept cases -// // cy.wait("@getDatasourceStructure").should( -// // "have.nested.property", -// // "response.body.responseMeta.status", -// // 200, -// // ); - -// //Generate Stud for tables dropdown values also -// cy.wait("@selectTableDropdownStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); - -// cy.get(generatePage.selectTableDropdown).click(); -// cy.get(generatePage.dropdownOption) -// .first() -// .click(); -// cy.get(generatePage.generatePageFormSubmitBtn).click(); - -// cy.wait("@put_replaceLayoutCRUDStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 201, -// ); -// cy.wait("@getActionsStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); -// cy.wait("@postExecuteStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); - -// cy.get("span:contains('Got it')").click(); -// }); - -// it.skip("Generate CRUD page from datasource ACTIVE section", function() { -// cy.NavigateToQueryEditor(); -// cy.NavigateToActiveTab(); - -// cy.wait(1000); - -// cy.get(datasource.datasourceCard) -// .contains(datasourceName) -// .scrollIntoView() -// .should("be.visible") -// .closest(datasource.datasourceCard) -// .within(() => { -// cy.get(datasource.datasourceCardGeneratePageBtn).click(); -// }); - -// //Generate Stub for tables dropdown values also -// cy.wait("@selectTableDropdownStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); - -// cy.get(generatePage.selectTableDropdown).click(); -// cy.get(generatePage.dropdownOption) -// .first() -// .click(); -// cy.get(generatePage.generatePageFormSubmitBtn).click(); - -// cy.wait("@post_replaceLayoutCRUDStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 201, -// ); -// cy.wait("@getActionsStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); -// cy.wait("@postExecuteStub").should( -// "have.nested.property", -// "response.body.responseMeta.status", -// 200, -// ); - -// cy.get("span:contains('Got it')").click(); -// }); -// }); diff --git a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/ProgressBar_spec.js b/app/client/cypress/manual_TestSuite/CommentedScriptFiles/ProgressBar_spec.js deleted file mode 100644 index d8bb11883987..000000000000 --- a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/ProgressBar_spec.js +++ /dev/null @@ -1,25 +0,0 @@ -// const explorer = require("../../../../locators/explorerlocators.json"); - -// describe("ProgressBar Widget Functionality", function() { -// it("Add new Progress Bar", () => { -// cy.get(explorer.addWidget).click(); -// cy.dragAndDropToCanvas("progressbarwidget", { x: 300, y: 300 }); -// cy.get(".t--progressbar-widget").should("exist"); -// }); - -// it("Update Progress bar properties and validate", () => { -// // add progress value -// cy.testJsontext("progress", 30); -// // show result -// cy.get(".t--property-control-showresult .t--js-toggle").click({ -// force: true, -// }); -// cy.testJsontext("showresult", "true"); -// cy.wait(200); -// cy.get(`.t--progressbar-widget > div[data-testid='${30}']`).should("exist"); - -// cy.get(".t--progressbar-widget > div") -// .eq(1) -// .should("have.text", "30%"); -// }); -// }); diff --git a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Table_Duplicate_ColumnName_spec.js b/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Table_Duplicate_ColumnName_spec.js deleted file mode 100644 index 9a7b6247b1ee..000000000000 --- a/app/client/cypress/manual_TestSuite/CommentedScriptFiles/Table_Duplicate_ColumnName_spec.js +++ /dev/null @@ -1,32 +0,0 @@ -import * as _ from "../../support/Objects/ObjectsCore"; - -describe("prevent duplicate column name in table", function () { - before(() => { - _.agHelper.AddDsl("tableNewDsl"); - }); - - //todo(yash/tolu/pawan) reverting this test for now - // it("evaluted value popup should show when focus on duplicate column input", function() { - // cy.openPropertyPane("tablewidget"); - // // Updating the column name ; "id" > "TestUpdated" - // cy.tableColumnPopertyUpdate("id", "TestUpdated"); - // // Updating the column name ; "email" > "TestUpdated" - // cy.tableColumnPopertyUpdate("email", "TestUpdated"); - // cy.wait("@updateLayout"); - // cy.get(commonlocators.evaluatedTypeTitle).should("exist"); - - // // Updating the column name ; "userName" > "TestUpdated2" - // // this will move focus of input to another column input and let popup close - // cy.tableColumnPopertyUpdate("userName", "TestUpdated2"); - - // // duplicate column's border should remain red - // cy.get("[data-rbd-draggable-id='email'] > div > div").should( - // "have.class", - // "has-duplicate-label", - // ); - // }); - - afterEach(() => { - // put your clean up code if any - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Deletion _of_Duplicate_App.js b/app/client/cypress/manual_TestSuite/Deletion _of_Duplicate_App.js deleted file mode 100644 index cb8224849172..000000000000 --- a/app/client/cypress/manual_TestSuite/Deletion _of_Duplicate_App.js +++ /dev/null @@ -1,13 +0,0 @@ -describe("Duplicate an application must duplicate every API ,Query widget and Datasource", function () { - it("Duplicating an application", function () { - // Navigate to home Page - // Click on any application action icon (Three dots) - // Click on "Duplicate" option - // Ensure the application gets copied - // Click on "Appsmith" to navigate to homepage - // Click on action icon - // Click on Delete option - // Click on "Are You Sure?" option - // Ensure the App gets deleted - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Duplicate_App_Spec.js b/app/client/cypress/manual_TestSuite/Duplicate_App_Spec.js deleted file mode 100644 index 4679f92a67c8..000000000000 --- a/app/client/cypress/manual_TestSuite/Duplicate_App_Spec.js +++ /dev/null @@ -1,46 +0,0 @@ -describe("Duplicate an application must duplicate every API ,Query widget and Datasource", function () { - it("Duplicating an application", function () { - // Navigate to home Page - // Click on any application action icon (Three dots) - // Click on "Duplicate" option - // Ensure the application gets copied - // Ensure the name is appended with the word "Copy" - }); - it("Deleting the duplicated Application ", function () { - // Navigate to home Page - // Click on any application action icon (Three dots) - // Click on "Duplicate" option - // Ensure the application gets copied - // Click on "Appsmith" to navigate to homepage - // Click on action icon - // Click on Delete option - // Click on "Are You Sure?" option - // Ensure the App gets deleted - }); - - it(" Ensure only the original application is deleted and copy of it exists", function () { - // Navigate to home Page - // Create an Application - // Add a name to the application - // Navigate to home page - // Now click on the action (Three Dots) - // Select "Duplicate" option - // Ensure App is created with App name prefixed with Copy - // Click on Delete option of Original Application - // Click on "Are You Sure?" option - // Ensure only Original Application is deleted and not the child application - }); - - it(" Ensure only the Duplicate application is deleted and original Application of it exists", function () { - // Navigate to home Page - // Create an Application - // Add a name to the application - // Navigate to home page - // Now click on the action (Three Dots) - // Select "Duplicate" option - // Ensure App is created with App name prefixed with Copy - // Click on Delete option of Duplicate Application - // Click on "Are You Sure?" option - // Ensure only Duplicate Application is deleted and not the Workspace application - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Edit_Profile_Spec.js b/app/client/cypress/manual_TestSuite/Edit_Profile_Spec.js deleted file mode 100644 index 3032e1ff25e9..000000000000 --- a/app/client/cypress/manual_TestSuite/Edit_Profile_Spec.js +++ /dev/null @@ -1,28 +0,0 @@ -const dsl = require("../../../fixtures/profileDsl.json"); - -describe("Page functionality ", function () { - it("Profile Page", function () { - // Click on Name - // Navigate to "Edit Profile" - // Ensure Display name and Email Id are displayed to user - // Ensure Reset password link is disaplyed to user - }); - - it("Edit Display Name", function () { - // Click on Name - // Navigate to "Edit Profile" - // Ensure Display name is editable - // Click on the Field - // Edit the name of the field - // Ensure the name of the is displayed in the droped - }); - - it("Edit Display Name", function () { - // Click on Name - // Navigate to "Edit Profile" - // Ensure the "Reset Password" link is dispalyed to user - // Click on "Reset Password" link - // User must be navigated to Sign up page - // An link must be sent to User EmailId - }); -}); diff --git a/app/client/cypress/manual_TestSuite/GSheetViewEdit_Spec.ts b/app/client/cypress/manual_TestSuite/GSheetViewEdit_Spec.ts deleted file mode 100644 index 916e012589aa..000000000000 --- a/app/client/cypress/manual_TestSuite/GSheetViewEdit_Spec.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { - agHelper, - dataSources, - deployMode, - homePage, - table, -} from "../support/Objects/ObjectsCore"; -import EditorNavigation, { - EntityType, -} from "../support/Pages/EditorNavigation"; - -describe.skip("Authorized GSheet - in Edit & view mode", function () { - it("Open already created GSheet in View mode, navigate back to Edit mode, Validate dropdown values", () => { - homePage.NavigateToHome(); - homePage.FilterApplication("GSheet"); - agHelper.GetElement(homePage._applicationCard).trigger("mouseover"); - homePage.LaunchAppFromAppHover(); - table.WaitUntilTableLoad(0, 0, "v2"); - deployMode.NavigateBacktoEditor(); - //homePage.EditAppFromAppHover(); - EditorNavigation.SelectEntityByName("Api1", EntityType.Api); - dataSources.ValidateNSelectDropdown( - "Spreadsheet", - "Trial-GSheetAutomation", - ); - dataSources.ValidateNSelectDropdown("Sheet name", "Analysis"); - dataSources.RunQuery(); - dataSources.AssertQueryResponseHeaders([ - "Failing Spec", - "Reason", - "Pod", - "rowIndex", - ]); - dataSources.AssertQueryTableResponse( - 0, - "Regression_TestSuite/ClientSideTests/Git/GitWithJSLibrary/GitwithCustomJSLibrary_spec.js", - ); - }); -}); diff --git a/app/client/cypress/manual_TestSuite/GoogleSheet_API_Spec.js b/app/client/cypress/manual_TestSuite/GoogleSheet_API_Spec.js deleted file mode 100644 index d9a8547ef84b..000000000000 --- a/app/client/cypress/manual_TestSuite/GoogleSheet_API_Spec.js +++ /dev/null @@ -1,90 +0,0 @@ -const queryLocators = require("../../../locators/QueryEditor.json"); -const queryEditor = require("../../../locators/QueryEditor.json"); -let datasourceName; - -describe("Test Ideas for GooglSheet API", function () { - it("Add a Datasource", function () { - //Add the datasource to Email Id - //Ensure different Email Id can be associate to different Email Id - //Ensure Datasource has two action "Read only" and "Read" - //Ensure user can Save the Datasource - //Click on "Add API" - }); - - it("List API", function () { - //Select the Method "List Sheet" - //Ensure response : URL and Name of the sheet - //Ensure "Add Widget" is displayed to user - //Ensure click on Add widget the data gets populated on the widget - }); - - it("Fetch a Sheet", function () { - //Select the Method "Fetch Sheet" - //Ensure response :id,name,createdTime,modifiedTime,permissions - }); - - it("Create new Sheet", function () { - //Ensure the response is appropriate - //Ensure to select the method - //Ensure to select a new name to the spreadsheet - //Provide an existing name to the new sheet and observe sheet should be created - //Send a empty response body and ensure an empty sheet is created in the email Id selected - //Enter sheet name as special charaters,alphanumeric keys and number and observe - //Send the response body with defined value and ensure the data is added - }); - - it("Insert a sheet or Update a sheet", function () { - //Ensure to select the method - //Ensure to add the spreadsheet URL - //Ensure add the sheet name in which it needs to be inserted - //Ensure add the Table heading row index - //Ensure to add appropriate raw object - //Ensure to submit one row empty each time and account the error - //Ensure to make changes in the raw object to throw error - //Add inappropriate data in each field to get appropriate error - //Add few inappropritae row name and value and check for partial insertion - //Miss an "rowIndex" field and check for and error - //Ensure to update the "headername" - }); - - it("Bulk Insert or Bulk Update", function () { - //Ensure to select the method - //Ensure to add the spreadsheet URL - //Ensure add the Table heading row index - //Ensure to add appropriate raw object - //Add inappropriate data in each field to get appropriate error - //Add few inappropritae row name and value and check for partial insertion - //Try inserting without Row Index - Row index is not manadate of insert - //Add Different Sheet Url from the same doc and correct sheet name ensure teh correct gets updated - //Add doc URL different and name of sheet that doesnt exsit in the doc and ensure the error is displayed - }); - - it("Delete a Row", function () { - //Ensure to select the method - //Ensure to add the spreadsheet URL - //Ensure to add the sheet name - //Ensure add the Table heading row index - //Ensure to add the valid index - //Enter index as 0 and check if the table header is not deleted - //Enter index as on and check the first data value gets deleted - }); - - it("Delete a Sheet", function () { - //Ensure to select the method - //Ensure to add the spreadsheet URL - //Ensure to add the sheet name - //Choose Entity has Single and try to delete the only one sheet which is available in the spreadsheet and check for the error messageEntity - //Choose Entity has Entire spreadsheet and try to deleted the sheet - }); - - it("Fetch Sheet Rows", function () { - //Ensure to select the method - //Ensure to add the spreadsheet URL - //Ensure to add the sheet name - //Enter the Table heading row index - //Choose the Query format as Query range and enter valid Range for example A2:B - //Choose the Query format as Query range and enter invalid Range and check for the error message - //Choose the Query format as Query rows and pass the valid Row limit and row offset - //Choose the Query format as Query rows and pass the invalid Row limit and row offset and check for the error message - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Invite_flow_Spec.js b/app/client/cypress/manual_TestSuite/Invite_flow_Spec.js deleted file mode 100644 index fe286c576fe5..000000000000 --- a/app/client/cypress/manual_TestSuite/Invite_flow_Spec.js +++ /dev/null @@ -1,42 +0,0 @@ -describe("adding role without Email Id", function () { - it("Empty Email ID Invite flow", function () { - // Navigate to Home Page - // Click on "Share" option - // Add Role from the dropdown - // Ensure the "Invite" option is "Inactive" - }); - it("Error message must be dispalyed to user on inappropriate Email ID", function () { - // Navigate to Home Page - // Click on "Share" option - // Add inappropriate Email Id - // Select the "Role" - // Ensure the "Invite" option is "Inactive" and error message is displayed to user - }); - it("Clicking on the workspace list the user must be lead to workspace Station ", function () { - // Navigate to Home Page - // Navigate to Workspace list - // Click on one of the workspace name - // Ensure user is directed to the workspace - }); - it("Admin can only assign another Admin ", function () { - // Navigate to Workspace Setting - // Navigate to Members - // Navigate to roles - // Ensure your also an "Admin" - // Change the role "Admin" - }); - it("Ensure the user can not delete or create an application in the workspace", function () { - // Navigate to Home page - // Navigate to Members - // Navigate to roles - // Ensure role is "App Viewer" - // Ensure user is not able to delete or add any user for the application - }); - it("Ensure On invalid Email Id the box must get highlighted", function () { - // Navigate to Home page - // Click on the Share option - // Ensure the pop up opens - // Enter an Invaild Email Id - // and ensure the Email ID box is highlight - }); -}); diff --git a/app/client/cypress/manual_TestSuite/List_Widget_Spec.js b/app/client/cypress/manual_TestSuite/List_Widget_Spec.js deleted file mode 100644 index b29237883a32..000000000000 --- a/app/client/cypress/manual_TestSuite/List_Widget_Spec.js +++ /dev/null @@ -1,93 +0,0 @@ -const dsl = require("../../../fixtures/ListWidgetDsl.json"); - -describe("List Widget test ideas ", function () { - it("List widget background colour and deploy ", function () { - // Drag and drop a List widget - // Open Property pane - // Scroll down to Styles - // Add background colour - // Add item background colour - // Ensure the colour are added appropriately - // Click on Deploy and ensure it is deployed appropriately - }); - - it("Adding large item Spacing for item card", function () { - // Drag and drop a List widget - // Open Property pane - // Scroll down to Styles - // Add large item spacing (>100) - // Ensure the cards get spaced appropriately - }); - - it("Binding an API data to list widget ", function () { - //Add an API - // Drag and drop a List widget - // Open list Property pane - // Bind the API to list widget - // Add Input widget into the list widget - // Bind the input widgte to the list widget - }); - - it("Copy Paste and Delete the List Widget ", function () { - // Drag and drop a List widget - // Click on the property pane - // Click on Copy the widget - // Paste(cmd+v) the list widget - // Click on the delete option of the Parent widget - }); - - it("Renaming the widget from Property pane and Entity explorer ", function () { - // Drag and drop a List widget - // Click on the property pane - // Click name of the widget - // Rename the widget - // Navigate to the Entity Explorer - // Click on the Widget expands - // Navigate to List widget (Double Click) - // Rename the widget - // Ensure the name of the widget is possible from both the place - }); - - it("Verify the Pagination functionlaity within List Widget", function () { - // Drag and Drop list Widget - // Click on page 2 - // Ensure list widget will be redirected to page 2 - // Click on next button - // Ensure the list widget will be redirected to page 3 - // Click on Previous button - // Ensure the list widget will be redirected to page 2 - // Mouse Hover on the next button - // Ensure the tool tip message is appropriate - // Mouse Hover on the Previous button - // Ensure the tool tip message is appropriate - }); - - it("Add new item in the list widget array object", function () { - //Drag and drop list widget - //Click to open an property pane - //Expand Genearl section - //Add the following new item - //("id": 7,"num": 007",name": Charizard",img": "http://www.serebii.net/pokemongo/pokemon/006.png") - //Ensure the new item gets added to the list widget without any error - //Check for the new page is added upon adding new items - }); - - it("Adding apt widget into the List widget", function () { - //Drag and Drop List widget - //Expand the section 1 size in the list widget - //Ensure by exapdning section inside list widget the page size gets increased - //Drag and Drop button widget inside list widget - //Ensure Button widget can be placed inside list Widget - //Drag and Drop Image widget inside list widget - //Ensure Image widget can be placed inside list widget - // Drag and drop the text widget inside the list widget - // Ensure text widget can be place inside the list widget - }); - - it("Adding unapt widget to identify the error message", function () { - //Drag and Drop List widget - //Expand the section 1 size in the list widget - //Drag and Drop widgets ie: Chart ,Date Picker radio button etc - // Ensure an understandable error message is displayed to user - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Login_Spec.js b/app/client/cypress/manual_TestSuite/Login_Spec.js deleted file mode 100644 index 98158998062e..000000000000 --- a/app/client/cypress/manual_TestSuite/Login_Spec.js +++ /dev/null @@ -1,27 +0,0 @@ -const onboarding = require("../../../locators/Onboarding.json"); -const explorer = require("../../../locators/explorerlocators.json"); -const loginPage = require("../../../locators/LoginPage.json"); - -describe("Onboarding flow", function () { - it("Onboarding using Google Id ", function () { - // Navigate to Login Page - // Click on "Sign In with Google" - // Ensure user is navigated to Google Account - // Do select the Google Id - // Ensure user is navigated into the Appsmith - // Click on the icon on the right with single letter (Profile) - // Check the Email Id - // Click on Logout - }); - - it("Onboarding using Github ID ", function () { - // Navigate to Login Page - // Click on "Sign In with Github" - // Ensure user is navigated to Github Account - // Do select the Github Id - // Ensure user is navigated into the Appsmith - // Click on the icon on the right with single letter (Profile) - // Check the Email Id - // Click on Logout - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Modal_Spec.js b/app/client/cypress/manual_TestSuite/Modal_Spec.js deleted file mode 100644 index 3cde39a2c45d..000000000000 --- a/app/client/cypress/manual_TestSuite/Modal_Spec.js +++ /dev/null @@ -1,50 +0,0 @@ -const dsl = require("../../../fixtures/ModalWidgetDsl.json"); - -describe("Modal Functionality ", function () { - it("1. Collapse the tabs of Property pane", function () { - // Add a modal widget from teh entity explorer - // Click on the property Pane - // Select Form Type as Modal Type - // Add any widget on the Modal - // Add a table - // Click on the property pane - // Add a custom column - // Click on control pane of the column - // Select Column type as button - // Add action to "on click" - // Add Modal - // Close the modal - // Click on the Table Action button - // Ensure the modal pop up - }); - - it("2. Rename a modal", function () { - // Click on the entity explore - // Ensure modal is dispalyed to user - // Rename the modal - // Ensure the modal name is replaced in the table - // Click on the action button - // Ensure the modal pop up - }); - it("3. Convert Modal to ", function () { - // Click on the entity explore - // Ensure modal is dispalyed to user - // Add a button widget - // Add an "On click" action with modal - // Click on the button - // Ensure the Alert modal is dispalyed to user - // Now click on the Modal in entity explorer - // Convert the Modal from "Alert" to "Form" - // Click on the button - // Ensure a form modal is dispalyed to user - }); - it("4. Does not flicker when 'Show More' popover of a truncated text shows over it ", function () { - // Click on the entity explore - // Ensure modal is dispalyed to user - // Add a text widget - // Fill the text widget with long text - // Set the overflow property of the text widget to "Truncate" - // Click on the triple dot icon on the text widget - // Ensure that the 'Show More' popover on top of the Modal does not flicker on hover - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Mongo_Datasource_Spec.js b/app/client/cypress/manual_TestSuite/Mongo_Datasource_Spec.js deleted file mode 100644 index ef0328ed5fcc..000000000000 --- a/app/client/cypress/manual_TestSuite/Mongo_Datasource_Spec.js +++ /dev/null @@ -1,78 +0,0 @@ -const queryLocators = require("../../../locators/QueryEditor.json"); -const queryEditor = require("../../../locators/QueryEditor.json"); -let datasourceName; - -describe("Test Ideas for Mongo DB Form Input", function () { - it("Insert a Document", function () { - //Ensure by choosing command as 'Insert a Document' the following fields will be displayed 'Collection Name' and 'Documents' - //Click on Command and enter command name - //Clicking on Collection name field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on Document and pass the following valid query - //Clicking on Document field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on run and ensure query runs successfuly - //Try passing the invalid query in the document and run and verfiy the error message - }); - - it("Find One or More Document", function () { - // Ensure by choosing command as 'Find one or more Document' the following fields will be displayed 'Collection Name' , 'Query' , 'Sort' , 'Projection' , 'Limit' and 'Skip' - //Click on collection name and enter valid collection name (In which document is inserted ealrier) - //Clicking on Collection Name field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on Query field and pass {} to get all the documents inside the collection - //Pass the following value in the query field to get particular document in an collection {"_id":ObjectId("id")} - //Clicking on Query field ensure Evaluvated value popup appears and Evaluvated value should match - //click on run and ensure query runs successfully - //Compare the response with the document inserted earlier and value should match - }); - - it("Update One Document", function () { - //Ensure by choosing command as 'Update one Document' the following fields will be displayed 'Collection Name' , 'Query' , 'Sort' and 'Update' - //Click on collection name and enter valid collection name (In which document is inserted ealrier) - //Clicking on Collection Name field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on Query field and pass {} to get all the documents inside the collection - //Pass the following value in the query field to get particular document in an collection {"_id":ObjectId("id")} - //Clicking on Query field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on Update field and pass the following query {"set":{"status":"Inactive"}} - //Repeat 'Find one or More Document' scenario and verfiy if the update results are matching - //click on run and ensure query runs successfully - //Click on Update field and pass any invalid query and ensure query response with appropriate error message - }); - - it("Update One or More Document", function () { - //Ensure by choosing command as 'Update one or More Document' the following fields will be displayed 'Collection Name' , 'Query' and 'Update' - //Click on collection name and enter valid collection name (In which document is inserted ealrier) - //Clicking on Collection Name field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on Query field and pass {} to get all the documents inside the collection - //Pass the following value in the query field to get particular document in an collection {"_id":ObjectId("id")} - //Clicking on Query field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on Update field and pass the following query {"set":{"status":"Inactive"}} - //Repeat 'Find one or More Document' scenario and verify if the update results are matching - //click on run and ensure query runs successfully - //Click on Update field and pass any invalid query and ensure query response with appropriate error message - }); - - it("Delet One or More Document", function () { - //Ensure by choosing command as 'Delete one or more Document' the following fields will be displayed 'Collection Name' , 'Query' and 'limit' - //Ensure limit has two option 'Single document' and 'All Matching document' - //Click on collection name and enter valid collection name (In which document is inserted ealrier) - //Clicking on Collection Name field ensure Evaluvated value popup appears and Evaluvated value should match - //Choose limit as single document and in the query pass the document id which needs to be deleted {"_id":ObjectId("id")} - //Clicking on Query field ensure Evaluvated value popup appears and Evaluvated value should match - //Click on run and ensure the query runs successfully - //Repeat 'Find one or More Document' scenario and verify if the specified document is deleted - //Choose limit as All Matching document and in the query pass {} to delete all the document or pass multi id's - //Click on run and ensure the query runs successfully - //Repeat 'Find one or More Document' scenario and verify if the specified document is deleted - }); - - it("Perform Distinct Operation on a Document", function () { - //Ensure by choosing command as 'Count' the following fields will be displayed 'Collection Name' , 'Query' and 'Key/Field' - //Click on collection name and enter valid collection name (In which document is inserted ealrier) - //Clicking on Collection Name field ensure Evaluvated value popup appears and Evaluvated value should match - }); - - it("Perform Aggregate Operation on a Document", function () { - //Ensure by choosing command as 'Count' the following fields will be displayed 'Collection Name' and 'Array of pipelines' - //Click on collection name and enter valid collection name (In which document is inserted ealrier) - //Clicking on Collection Name field ensure Evaluvated value popup appears and Evaluvated value should match - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Page_Features_Spec.js b/app/client/cypress/manual_TestSuite/Page_Features_Spec.js deleted file mode 100644 index 854443d2607b..000000000000 --- a/app/client/cypress/manual_TestSuite/Page_Features_Spec.js +++ /dev/null @@ -1,42 +0,0 @@ -const dsl = require("../../../fixtures/pageWidgetDsl.json"); - -describe("Page functionality ", function () { - it("Simple Page hide and show back", function () { - // Add addtional page - // Navigate to Page 2 - // Click on the Page2 functions (Three dots) - // Select Hide - // Click on deploy - // Ensure the pages are not displayed to user - // Navigate to Edit mode - // Click on the Page2 functions (Three dots) - // Select Show - // Now Click on deploy - // Ensure the page is displayed to user - }); - - it("Adding the widgets and hiding the pages ", function () { - // Add mulitple pages - // Navigate to Page 3 - // Add multiple widget on the page - // Navigate to Page2 - // Click on the Page2 functions (Three dots) - // Select Hide - // Click on deploy - // Ensure the pages other then the hidden page is dispalyed - }); - - it("Clone a page and hide the cloned page", function () { - // Add mulitple pages - // Navigate to Page 3 - // Add multiple widget on the page - // Navigate to Page2 - // Click on the Page2 functions (Three dots) - // Select clone - // Ensure the clone page is added - // Click on the clone page functions (Three dots) - // Select Hide - // Click on deploy - // Ensure the the clone page is not displayed and other pages are displayed to user - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Query_Datasource_Spec.js b/app/client/cypress/manual_TestSuite/Query_Datasource_Spec.js deleted file mode 100644 index 1ddaa869ca75..000000000000 --- a/app/client/cypress/manual_TestSuite/Query_Datasource_Spec.js +++ /dev/null @@ -1,42 +0,0 @@ -const queryLocators = require("../../../locators/QueryEditor.json"); -const queryEditor = require("../../../locators/QueryEditor.json"); -let datasourceName; - -describe("Binding Datasource to Query", function () { - it("List of Datasource", function () { - // Navigate into the Application - // Click on the '+' next to the Query option - // Ensure list of Datasource is dispalyed to user - // Ensure user is dispalyed with Edit datasource and New query option - }); - - it("Adding new datasource with respect to query", function () { - // Navigate into the Application - // Click on the '+' next to the Query option - // Click on '+' new datasource - // Add respective data to establish connection - // Click on "Test" option - // Click on "Save" option - }); - - it("Adding an empty datasource", function () { - // Navigate into the Application - // Click on the '+' next to the Query option - // Click on '+' new datasource - // Click on Test Option - // Ensure an error message is displayed to user - // Click on Save option - // Ensure an empty Datasource is saved - }); - - it("Test for incorrect datasource", function () { - // Navigate into the Application - // Click on the '+' next to the Query option - // Click on '+' new datasource - // Add incorrect data to establish connection - // Click on "Test" option - // Ensure an error is displayed respectively - // Click on "Save" option - // Ensure the datasource is still saved - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Share_User_Icon.js b/app/client/cypress/manual_TestSuite/Share_User_Icon.js deleted file mode 100644 index e8265c000244..000000000000 --- a/app/client/cypress/manual_TestSuite/Share_User_Icon.js +++ /dev/null @@ -1,11 +0,0 @@ -describe("Shared user icon ", function () { - it(" User Icon is disaplyed to user ", function () { - // Navigate to home Page - //Click on Share Icon - // Click on Field to add an Email Id - // Click on the Roles field - // Add an role from the Dropdown - // CLick on Invite - //Now observe the icon next to the Share Icon - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Switch_Widget_Spec.js b/app/client/cypress/manual_TestSuite/Switch_Widget_Spec.js deleted file mode 100644 index 2f86a1db4755..000000000000 --- a/app/client/cypress/manual_TestSuite/Switch_Widget_Spec.js +++ /dev/null @@ -1,43 +0,0 @@ -const dsl = require("../../../fixtures/switchWidgetDsl.json"); - -describe("Test to add switch widget in canvas", function () { - it(" Add a switch widget and bind it to action", function () { - // Add a switch widget - // Click on the Property Pane - // Naviagte to Action Items - // Click on "onChange" Dropdown - // Select "Show a message" - // Add a message - // now switch the button - // and observe the message is displyed to user - }); - - it(" Add a switch widget to a form to reset the widget", function () { - // Add a Form widget - // Add a switch widget - // Navigate to Reset button of the Form - // Click on the Property Pane - // Naviagte to Action Items - // Click on "onChange" Dropdown - // Select "Reset a widget" - // Add a widget as "switch widget" - // Now "Reset Children to Yes " - // Ensure the Switch is "Flase" - // now Click on Reset - // and observe the the button becomes active - }); - - it(" Reset switch widget on date change", function () { - // Add a Date Picker widget - // Add a switch widget - // Click on the Property Pane of Date Picker widget - // Naviagte to Action Items - // Click on "on DateSelected" Dropdown - // Select "Reset a widget" - // Add a widget as "switch widget" - // Now "Reset Children to NO " - // Ensure the Switch is "Flase" - // now Change the date - // and observe the the button becomes active - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Tab_Widget_Spec.js b/app/client/cypress/manual_TestSuite/Tab_Widget_Spec.js deleted file mode 100644 index ac2e5b010e03..000000000000 --- a/app/client/cypress/manual_TestSuite/Tab_Widget_Spec.js +++ /dev/null @@ -1,85 +0,0 @@ -const dsl = require("../../../fixtures/TabWidgetDsl.json"); - -describe("Tab widget", function () { - it("Movement of tabs inside Tab widget ", function () { - // Drag and drop the Tab widget - // click on "Add a Tab" - // Add multiple Tabs - // Hold and move the Tab - // and observe if the tab are moved in the same - }); - - it(" Deletion of Tabs and adding them back with Undo", function () { - // Drag and drop the Tab widget - // click on "Add a Tab" - // Add multiple Tabs - // Click on delete option of the Tab - // ensure the tab is deleted - // Click on delete option of the Tab - // Ensure an info message is dispalyed to user - // Now click on "UNDO" - //and observe that the Tab is added back - }); - - it("Test Ideas for testing the Visible option for tabs ", function () { - // Drag and drop the Tab widget - // click on "Add a Tab" - // Click on Property pane of the tab widget - // Click on the Control Pane of the tab - // Now click on JS option - // Now add it false - // and observe the Tab is blured on edit Mode - // Now click on Deploy - // Observe the tab is not dispalyed to user - // Now come back to Edit mode - // Click on the Control Pane of the tab - // Now click on JS option - // enable the button - // Now observe the Tab must be visible and normal - }); - - it("Test Ideas for testing the Show Tabs Feature ", function () { - // Drag and drop the Tab widget - // Click on Property pane of the tab widget - // Scroll down to Show Tabs option - // Now click on JS option - // Now add it false - // and observe the Tab widget does not show any Tabs - // Now click on Deploy - // Observe the Tab widget does not show any Tabs - // Now come back to Edit mode - // Now click on JS option - // enable the button - // Now observe the Tab must be visible - }); - - it("Adding multiple widgets inside the Tab widget", function () { - // Drag and drop the Tab widget - // Ensure default 2 Tabs are dispalyed to user - // Add date picker, Text and Button into Tab1 - // Click on Tab2 and ensure it is empty - // Add image widget , radio, Check widget - // Click on Deploy - // Ensure the Tab widget with widgets are displayed to user - }); - - it("Adding action while changing the Tab ", function () { - // Drag and drop the Tab widget - // Click on Property pane of the tab widget - // Navigate to Action section - // Select "Show a modal" - // Click on "Add a Modal" - // Assign related action on the modal - // Now change the tab - // and observe the modal pop up is displayed to user - }); - - it("Binding the Tab to widget ", function () { - // Drag and drop the Tab widget - // Click on Property pane of the tab widget - // Navigate to control pane - // Convert a Visible option to JS - // Add binding to the widget - // Ensure user is dispalyed on the TAB widget - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Table_Filter_Test_spec.js b/app/client/cypress/manual_TestSuite/Table_Filter_Test_spec.js deleted file mode 100644 index dbd6d1ab8fe2..000000000000 --- a/app/client/cypress/manual_TestSuite/Table_Filter_Test_spec.js +++ /dev/null @@ -1,11 +0,0 @@ -const dsl = require("../../../fixtures/tableWidgetDsl.json"); - -describe("Test for Table Filter ", function () { - it("Table Filter", function () { - //Add a table - // click on the column action item - // Click on Select a datatype - // Click on Filter option - // ensure to add filter - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Text_Widget_Spec.js b/app/client/cypress/manual_TestSuite/Text_Widget_Spec.js deleted file mode 100644 index e373feb7a2c6..000000000000 --- a/app/client/cypress/manual_TestSuite/Text_Widget_Spec.js +++ /dev/null @@ -1,106 +0,0 @@ -const homePage = require("../../../locators/Textwidget.json"); - -describe("Test Ideas to test different feature of text widget ", function () { - it("Add New Text widget along with BG and text colour ", function () { - // Navigate to application - // Drag and drop a Text Widget - // Navigate to Property Pane - // Add a text - // Scroll to BG colour and add a colour - // Next add a text colour - // Click on Deploy - }); - - it("Enable Scroll feature with text colour ", function () { - // Navigate to application - // Drag and drop a Text Widget - // Add a long text in the "Label" - // Enable scroll option - // Navigate to Text colour and add a colour - // and ensure it is scrolling - // Click on deploy and check if it scrollable and colour selected is visible - }); - - it("Adding text Size to the Text along with BG colour ", function () { - // Navigate to application - // Drag and drop a Text Widget - // Navigate to Property pane - // Add a medium text in the "Label" - // Increase the area of the Text Widget - // Navigate to BG colour and add a colour - // Naviaget to "Text Size" - // Select Paragarph option - // Ensure the text size varies accordingly - }); - - it("Adding Bold Font style and Centre Text Alignment ", function () { - // Navigate to application - // Drag and drop a Text Widget - // Navigate to Property pane - // Add a medium text in the "Label" - // Increase the area of the Text Widget - // Navigate to Font Style - // Make it Bold - // and Navigate to Alignment and make it centre - // Ensure the changes are visible to user - }); - - it("Adding Italic Font style and Text Alignment to exsisting text widget ", function () { - // Navigate to already exsisting Text widget - // Ensure the text is added - // Navigate to Property pane - // Navigate to Font Style - // Make it Italic font - // and Navigate to Alignment and make it Right - // Ensure the changes are visible to user - }); - - it("Expand and Contract text widget Property pane", function () { - // Navigate to already exsisting Text widget - // Navigate to Property pane - // Click on collapse option - // Observe that the property pane is contracted - // Now click again on the arrow - //and ensure it collapses - }); - - it("Copy and paste a text widget", function () { - // Navigate to already exsisting Text widget - // Ensure Clour and font feature exsists - // Copy and paste the widget - // Ensure the new widget retrives the feature exsisting from parent widget - }); - - it("Rename and search a text widget", function () { - // Ensure there are multiple Text widget - // Navigate to Entity Explorer - // Search for "Text" keyword - // Click on one of the text widget - // Rename the text widget from the Entity explorer - // Clear the search keyword - // enter the new text widget name - // and observe the user is navigated to same text widget and properties of the widget does not change on renaming - }); - - it("Search and delete a text widget", function () { - // Ensure there are multiple Text widget - // Navigate to Entity Explorer - // Search for "Text" keyword - // Click on one of the text widget - // Ensure user is navigated to Text widget - // Click on Delete option - // Ensure the Text widget is delete - // Click on Deploy adn ensure the Widget is delete - }); - - it("Search and delete a text widget", function () { - // Ensure there are multiple Text widget - // Navigate to Entity Explorer - // Search for "Text" keyword - // Click on one of the text widget - // Ensure user is navigated to Text widget - // Click on Delete option - // Ensure the Text widget is delete - // Click on Deploy adn ensure the Widget is delete - }); -}); diff --git a/app/client/cypress/manual_TestSuite/UpgradeAppsmith/UpgradeAppsimth_spec.js b/app/client/cypress/manual_TestSuite/UpgradeAppsmith/UpgradeAppsimth_spec.js deleted file mode 100644 index 4d22231a1314..000000000000 --- a/app/client/cypress/manual_TestSuite/UpgradeAppsmith/UpgradeAppsimth_spec.js +++ /dev/null @@ -1,93 +0,0 @@ -/* eslint-disable no-console */ -const testdata = require("../../fixtures/testdata.json"); -import { ObjectsRegistry } from "../../support/Objects/Registry"; -import { CURRENT_REPO, REPO } from "../../fixtures/REPO"; - -let agHelper = ObjectsRegistry.AggregateHelper; -const tedUrl = "http://localhost:5001/v1/parent/cmd"; - -describe("Upgrade appsmith version", () => { - it("Upgrade Appsmith version and verify the Applications", () => { - const uuid = () => Cypress._.random(0, 10000); - const name = uuid(); - agHelper.Sleep(2000); - - cy.GetPath(tedUrl, "appsmith").then((path) => { - path = path.split(" "); - path = path[1].split(" "); - path = path[0].slice(0, -7); - - localStorage.setItem("ContainerName", `appsmith-${name}`); - - //Start a new Container with old stack - cy.StartNewContainer( - tedUrl, - path + "/oldstack", - "cicontainer", - `appsmith-${name}`, - ); - //Wait for the container to be up - agHelper.Sleep(60000); - - // Get and verify the logs - cy.GetAndVerifyLogs(tedUrl, `appsmith-${name}`); - }); - - //verify the Applications after upgrade only on CE and skip for BE - if (CURRENT_REPO === REPO.CE) { - cy.forceVisit(testdata.APPURL); - agHelper.GetNClick(".t--widget-iconbuttonwidget button", 0, true); - agHelper.Sleep(1000); - agHelper.GetNAssertElementText( - ".tbody>div", - "1Developmentexpertise", - "have.text", - 1, - ); - - agHelper.GetNClick(".tbody>div", 1, true, 1000); - agHelper.GetNAssertElementText( - ".t--jsonformfield-label input", - "Development", - "have.value", - ); - agHelper.GetNAssertElementText( - ".t--jsonformfield-type input", - "expertise", - "have.value", - ); - agHelper.GetNAssertElementText( - ".t--jsonformfield-rowIndex input", - "1", - "have.value", - ); - - cy.get(".t--jsonformfield-label input").clear().type("DevelopmentUpdate"); - agHelper.GetNClick(".t--jsonform-footer button", 1, true); - agHelper.Sleep(2000); - agHelper.GetNClick(".t--widget-iconbuttonwidget button", 0, true, 1000); - agHelper.GetNAssertElementText( - ".tbody>div", - "1DevelopmentUpdateexpertise", - "have.text", - 1, - ); - - //Resetting the data - agHelper.GetNClick(".tbody>div", 1, true, 1000); - cy.get(".t--jsonformfield-label input").clear().type("Development"); - agHelper.GetNClick(".t--jsonform-footer button", 1, true); - agHelper.Sleep(2000); - agHelper.GetNClick(".t--widget-iconbuttonwidget button", 0, true, 1000); - agHelper.GetNAssertElementText( - ".tbody>div", - "1Developmentexpertise", - "have.text", - 1, - ); - } - // stop the container - cy.StopContainer(tedUrl, localStorage.getItem("ContainerName")); - agHelper.Sleep(2000); - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Workspace_Logo_Del.js b/app/client/cypress/manual_TestSuite/Workspace_Logo_Del.js deleted file mode 100644 index b0a30964c5c9..000000000000 --- a/app/client/cypress/manual_TestSuite/Workspace_Logo_Del.js +++ /dev/null @@ -1,12 +0,0 @@ -describe("Deletion of workspace Logo ", function () { - it(" workspace logo upload ", function () { - //Click on the dropdown next to workspace Name - // Navigate between tabs - // Naviagte to General Tab - // Add an workspace Logo - // Wait until it loads - // Switch between Tabs - // Click on the remove Icon - //Ensure the workspace Logo is deleted - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Workspace_Logo_Set.js b/app/client/cypress/manual_TestSuite/Workspace_Logo_Set.js deleted file mode 100644 index e7f05a595c91..000000000000 --- a/app/client/cypress/manual_TestSuite/Workspace_Logo_Set.js +++ /dev/null @@ -1,12 +0,0 @@ -describe("insert workspace Logo ", function () { - it(" workspace logo upload ", function () { - //Click on the dropdown next to workspace Name - // Navigate between tabs - // Naviagte to General Tab - // Add an workspace Logo - //Wait until it loads - // Switch between Tabs - // Navigate to General Tab and ensure the logo exsits - //navigate back to Homepage - }); -}); diff --git a/app/client/cypress/manual_TestSuite/Workspace_Name_Spec.js b/app/client/cypress/manual_TestSuite/Workspace_Name_Spec.js deleted file mode 100644 index fd20e29e81da..000000000000 --- a/app/client/cypress/manual_TestSuite/Workspace_Name_Spec.js +++ /dev/null @@ -1,58 +0,0 @@ -describe("Checking for error message on Workspace Name ", function () { - it("Ensure of Inactive Submit button ", function () { - // Navigate to home Page - // Click on Create workspace - // Type "Space" as first character - // Ensure "Submit" button does not get Active - // Now click on "X" (Close icon) ensure the pop up closes - }); - it("Reuse the name of the deleted application name ", function () { - // Navigate to home Page - // Create an Application by name "XYZ" - // Add some widgets - // Navigate back to the application - // Delete the Application - // Click on "Create New" option under same workspace - // Enter the name "XYZ" - // Ensure the application can be created with the same name - }); - it("Adding Special Character ", function () { - // Navigate to home Page - // Click on Create workspace - // Add special as first character - // Ensure "Submit" get Active - // Now click outside and ensure the pop up closes - }); - it("Reuse the name of the deleted application name on the other workspace", function () { - // Navigate to home Page - // Create an Application by name "XYZ" - // Add some widgets - // Navigate back to the application - // Delete the Application - // Click on "Create New" option under different workspace - // Enter the name "XYZ" - // Ensure the application can be created with the same name - }); - it("User must not be able to add empty workspace name", function () { - // Navigate to home Page - // Click on the "Create Workspace" button - // Ensure "Workspace Name" field is empty - // Ensure "Submit" is inactive - }); - - it("Cancel creating an Workspace when the Workspace name is empty", function () { - // Navigate to home Page - // Click on the "Create Workspace" button - // Ensure "Workspace Name" field is empty - // Click on "Cancel" option - // Observe the workspace is not created - }); - - it("Cancel creating an Workspace when the Workspace name is dually filled", function () { - // Navigate to home Page - // Click on the "Create Workspace" button - // Ensure "Workspace Name" field is enterd respectively - // Click on "Cancel" option - // Observe the workspace is not created - }); -}); diff --git a/app/client/cypress/manual_TestSuite/new_Table_Spec.js b/app/client/cypress/manual_TestSuite/new_Table_Spec.js deleted file mode 100644 index ffce8445dad1..000000000000 --- a/app/client/cypress/manual_TestSuite/new_Table_Spec.js +++ /dev/null @@ -1,57 +0,0 @@ -const dsl = require("../../../fixtures/tableWidgetDsl.json"); - -describe("Table functionality ", function () { - it("Adding background Colour to table", function () { - // Add a table - // Click on the property pane - // Scroll Styles - // Add background colour - // Add Text Colour - // Navigate to one of the column - // Click on the setting/ Control pane of the column - // Navigate to add background colour and Text colour - // Ensure the row colour gets overlapped on table colour - }); - it("Collapse the tabs of Property pane", function () { - // Add a table - // Click on the property pane - // Collapse the General ,Action and Tab option - }); - it("Bind the column with same name", function () { - // Add a table - // Click on the property pane - // Click on the Add new column - // Ensure to add two new column - // Name two column with same name - // Add an input widget - // Bind the column with new column name - // Select the row from the binded table - }); - - it("Hide and created custom column ", function () { - // Add a table - // Click on the property pane - // Click on the Add new column - // Click on Setting of column - // Select Column Type "Date" - // Now navigate to exsiting column - // Click on the hide icon - // and observe on edit mode the table column is dispalyed - // Click on deploy - // Ensure the hidden column is not displayed and custom column is disaplyed to user - }); - - it("Binding a widget to additional column ", function () { - // Add an date widget - // Add a table - // Click on the property pane - // Add an custom column - // Rename the column - // Click on "Control pane" of the added column - // Navigate to computed value - // Bind the date widget to the comlumn computed value field - // Select the Column Type as "Date" - // Select a Date formate (Original and Display) - // Ensure the format is dispalyed according to the selection - }); -});