Browse Source

test: add wait between subsequeny LTAR update

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3801/head
Raju Udava 2 years ago committed by braks
parent
commit
5e3d7e4b36
  1. 3
      scripts/cypress/integration/common/3f_link_to_another_record.js

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

@ -6,7 +6,7 @@ export const genTest = (apiType, dbType) => {
if (!isTestSuiteActive(apiType, dbType)) return; if (!isTestSuiteActive(apiType, dbType)) return;
// tbd: this needs a proper fix // tbd: this needs a proper fix
let waitTime = 5500; let waitTime = 2000;
describe(`${apiType.toUpperCase()} api - Link to another record`, () => { describe(`${apiType.toUpperCase()} api - Link to another record`, () => {
function fetchParentFromLabel(label) { function fetchParentFromLabel(label) {
@ -309,6 +309,7 @@ export const genTest = (apiType, dbType) => {
.should("exist") .should("exist")
.eq(2) .eq(2)
.click(); .click();
cy.wait(waitTime);
// MM // MM
cy.get(".nc-expand-col-Sheet1.List").find(".ant-btn-primary").click(); cy.get(".nc-expand-col-Sheet1.List").find(".ant-btn-primary").click();

Loading…
Cancel
Save