Skip to content

Commit

Permalink
[frontend] Fix Add dashboard test e2e (#issue/5861)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahBocognano committed Feb 27, 2024
1 parent 416b032 commit 5669825
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ test('Create a new dashboard page and add a tag', async ({ page }) => {
const dashboardDetailsPage = new DashboardDetailsPage(page);
const dashboardForm = new DashboardFormPage(page);
await page.goto('/dashboard/workspaces/dashboards');
await dashboardPage.getItemFromList('Test Update e2e').click();
await dashboardPage.openButtonModal().hover();
await dashboardPage.addNewDashboard().click();
await dashboardForm.fillNameInput('Test Add Tag e2e');
await dashboardPage.getCreateDashboardButton().click();
await dashboardPage.getItemFromList('Test Add Tag e2e').click();
await dashboardDetailsPage.addNewDashboardTag().click();
await dashboardForm.fillTagInput('Add Test Tag e2e');
await dashboardForm.getTagInput().press('Enter');
Expand Down

0 comments on commit 5669825

Please sign in to comment.