Browse Source

test: comments cleanup

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3967/head
Raju Udava 2 years ago
parent
commit
7d044315c6
  1. 1
      scripts/cypress/integration/common/3a_filter_sort_fields_operations.js
  2. 2
      scripts/cypress/integration/common/3e_duration_column.js
  3. 2
      scripts/cypress/integration/common/3f_link_to_another_record.js
  4. 1
      scripts/cypress/integration/common/4f_grid_view_share.js
  5. 1
      scripts/cypress/integration/common/4f_pg_grid_view_share.js
  6. 2
      scripts/cypress/integration/common/8a_webhook.js

1
scripts/cypress/integration/common/3a_filter_sort_fields_operations.js

@ -52,7 +52,6 @@ export const genTest = (apiType, dbType) => {
); );
// add a row to end of Country table // add a row to end of Country table
// cy.get(".nc-add-new-row-btn").click();
mainPage.addNewRowExpand("Country"); mainPage.addNewRowExpand("Country");
cy.get(".nc-expand-col-Country") cy.get(".nc-expand-col-Country")
.find(".nc-cell > input") .find(".nc-cell > input")

2
scripts/cypress/integration/common/3e_duration_column.js

@ -127,8 +127,6 @@ export const genTest = (apiType, dbType) => {
isNewRow = false isNewRow = false
) => { ) => {
if (isNewRow) { if (isNewRow) {
cy.get(".nc-add-new-row-btn:visible").should("exist");
// cy.get(".nc-add-new-row-btn").click();
mainPage.addNewRowExpand("DurationTable"); mainPage.addNewRowExpand("DurationTable");
} else { } else {
// mainPage.getRow(index).find(".nc-row-expand-icon").click({ force: true }); // mainPage.getRow(index).find(".nc-row-expand-icon").click({ force: true });

2
scripts/cypress/integration/common/3f_link_to_another_record.js

@ -183,8 +183,6 @@ export const genTest = (apiType, dbType) => {
cy.openTableTab("Sheet2", 0); cy.openTableTab("Sheet2", 0);
// Click on `Add new row` button // Click on `Add new row` button
// cy.get(".nc-add-new-row-btn:visible").should("exist");
// cy.get(".nc-add-new-row-btn").click();
mainPage.addNewRowExpand("Sheet2"); mainPage.addNewRowExpand("Sheet2");
// Title // Title

1
scripts/cypress/integration/common/4f_grid_view_share.js

@ -401,7 +401,6 @@ export const genTest = (apiType, dbType) => {
it(`Generate default Shared GRID view URL`, () => { it(`Generate default Shared GRID view URL`, () => {
// add row // add row
// cy.get(".nc-add-new-row-btn").click();
mainPage.addNewRowExpand("Country"); mainPage.addNewRowExpand("Country");
cy.get(".nc-expand-col-Country") cy.get(".nc-expand-col-Country")
.find(".nc-cell > input") .find(".nc-cell > input")

1
scripts/cypress/integration/common/4f_pg_grid_view_share.js

@ -428,7 +428,6 @@ export const genTest = (apiType, dbType) => {
it(`Generate default Shared GRID view URL`, () => { it(`Generate default Shared GRID view URL`, () => {
// add row // add row
// cy.get(".nc-add-new-row-btn").click();
mainPage.addNewRowExpand("Country"); mainPage.addNewRowExpand("Country");
cy.get(".nc-expand-col-Country") cy.get(".nc-expand-col-Country")
.find(".nc-cell > input") .find(".nc-cell > input")

2
scripts/cypress/integration/common/8a_webhook.js

@ -148,8 +148,6 @@ function clearServerData() {
} }
function addNewRow(index, cellValue) { function addNewRow(index, cellValue) {
// cy.get(".nc-add-new-row-btn:visible").should("exist");
// cy.get(".nc-add-new-row-btn").click();
mainPage.addNewRowExpand("Temp"); mainPage.addNewRowExpand("Temp");
cy.get(".nc-expand-col-Title") cy.get(".nc-expand-col-Title")

Loading…
Cancel
Save