feat(testing): Added await to all expect statments and stabalized a few tests

This commit is contained in:
Muhammed Mustafa
2022-10-27 21:29:00 +05:30
parent 93dc4078a7
commit 44becac807
29 changed files with 169 additions and 124 deletions

View File

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