Skip to content
Snippets Groups Projects
Commit 4b15ad6e authored by Lewis Liu's avatar Lewis Liu
Browse files

Waiting for segments and metrics list updates, removing init fixture db

parent f63370ad
Branches
Tags
No related merge requests found
......@@ -78,7 +78,7 @@ describe("admin/datamodel", () => {
await findElement(driver, "button.Button.Button--primary").click();
expect(await findElement(driver, "#SegmentsList tr:first-child td:first-child").getText()).toEqual("Gmail users");
expect((await waitForElement(driver, "#SegmentsList tr:first-child td:first-child")).getText()).toEqual("Gmail users");
// add a metric
await waitForAndClickElement(driver, "#MetricsList a.text-brand");
......@@ -91,7 +91,7 @@ describe("admin/datamodel", () => {
await findElement(driver, "button.Button.Button--primary").click();
expect(await findElement(driver, "#MetricsList tr:first-child td:first-child").getText()).toEqual("User count");
expect((await waitForElement(driver, "#MetricsList tr:first-child td:first-child")).getText()).toEqual("User count");
});
});
......
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment