feat(testing): Added polling to most expect and added stabalization

This commit is contained in:
Muhammed Mustafa
2022-10-28 16:13:26 +05:30
parent 776e678a48
commit 592c94e9d1
25 changed files with 129 additions and 167 deletions

View File

@@ -84,8 +84,7 @@ test.describe("Expanded form URL", () => {
header: "Kabul",
url: "rowId=1",
});
let expandFormCount = await dashboard.expandedForm.count();
await expect(expandFormCount).toBe(2);
await dashboard.expandedForm.verifyCount({count: 2});
// close child card
await dashboard.expandedForm.cancel();