tes(e2e): fix plan test

This commit is contained in:
Jesse Mazzella
2023-03-07 15:45:37 -08:00
committed by ozyx
parent 7ff366c342
commit f354e1d263
2 changed files with 4 additions and 4 deletions

View File

@@ -165,11 +165,11 @@ async function createPlanFromJSON(page, { name, json, parent = 'mine' }) {
// in the correct location, such as a folder, layout, or plot.
await page.goto(`${parentUrl}?hideTree=true`);
//Click the Create button
// Click the Create button
await page.click('button:has-text("Create")');
// Click 'Plan' menu option
await page.click(`li:text("Plan")`);
// Click 'Gantt Chart' menu option
await page.click(`li:text("Gantt Chart")`);
// Modify the name input field of the domain object to accept 'name'
if (name) {

View File

@@ -68,7 +68,7 @@ const testPlan = {
};
test.describe("Plan", () => {
test("Create a Plan and display all plan events @unstable", async ({ page }) => {
test("Create a Plan and display all plan events", async ({ page }) => {
await page.goto('./', { waitUntil: 'networkidle' });
const plan = await createPlanFromJSON(page, {