Browse Source

test: correct intercept path

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3773/head
Raju Udava 2 years ago
parent
commit
14c25f0dd9
  1. 2
      scripts/cypress/integration/common/4e_form_view_share.js
  2. 4
      scripts/cypress/integration/common/4f_grid_view_share.js

2
scripts/cypress/integration/common/4e_form_view_share.js

@ -100,7 +100,7 @@ export const genTest = (apiType, dbType) => {
.should("exist")
.then(($obj) => {
// http://localhost:8080/api/v1/db/public/shared-view/761f0200-e72c-487a-85bf-615d0d277054/rows?offset=0&filterArrJson=[]&sortArrJson=[]
cy.intercept("/api/v1/db/public/shared-view/*").as(
cy.intercept("/api/v1/db/public/shared-view/**").as(
"waitForPageLoad"
);

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

@ -82,7 +82,9 @@ export const genTest = (apiType, dbType) => {
});
it(`Share ${viewType.toUpperCase()} hide, sort, filter & verify`, () => {
cy.intercept("/api/v1/db/meta/audits/comments/*").as("waitForPageLoad");
cy.intercept("/api/v1/db/meta/audits/comments/**").as(
"waitForPageLoad"
);
cy.get(`.nc-view-item.nc-${viewType}-view-item`)
.contains("Grid-1")

Loading…
Cancel
Save