From 912991b9eb1ec51ea4883a8f9ee949e5883ad5e2 Mon Sep 17 00:00:00 2001 From: muellerfluri Date: Tue, 17 Sep 2024 15:07:46 +0200 Subject: [PATCH] fix(citrus-simulator-ui): remove not working test and create issue https://github.com/citrusframework/citrus-simulator/issues/305 --- simulator-ui/tests/scenario-results.spec.ts | 26 --------------------- 1 file changed, 26 deletions(-) diff --git a/simulator-ui/tests/scenario-results.spec.ts b/simulator-ui/tests/scenario-results.spec.ts index aa92d528..ceb143f3 100644 --- a/simulator-ui/tests/scenario-results.spec.ts +++ b/simulator-ui/tests/scenario-results.spec.ts @@ -152,32 +152,6 @@ test('should clear all filters with button', async ({ page }) => { await expect(page.getByTestId('scenarioExecutionHeaderFilterInput')).toBeEmpty(); }); -test('should clear all filters with icon', async ({ page }) => { - await page.goto('http://localhost:9000/scenario-result/'); - - await page.getByTestId('scenarioExecutionFilterInput').fill('Test Scenario'); - await page.getByTestId('scenarioExecutionStatusInSelect').selectOption('Failure'); - await fillDatePickerField(page.getByTestId('scenarioExecutionFromDateInput'), '21072024', '120531'); - await fillDatePickerField(page.getByTestId('scenarioExecutionToDateInput'), '22072024', '052007'); - await page.getByTestId('scenarioExecutionHeaderFilterInput').fill('Test Headers'); - - await page.getByTestId('scenarioExecutionOpenFilterButton').click(); - await page.getByTestId('headerFilterInput').fill('HeaderName1'); - await page.getByTestId('headerValueInput').fill('HeaderValue1'); - await page.getByTestId('addHeaderFilterButton').click(); - await page.locator('#header-1').fill('HeaderName2'); - await page.locator('#header-1-value-comparator').selectOption('contains'); - await page.locator('#header-1-value').fill('HeaderValue2'); - await page.getByTestId('applyHeaderFilterButton').click(); - await page.getByTestId('clearAllFiltersButton').click(); - - await expect(page.getByTestId('scenarioExecutionFilterInput')).toBeEmpty(); - await expect(page.getByTestId('scenarioExecutionStatusInSelect')).toHaveValue(''); - await expect(page.getByTestId('scenarioExecutionFromDateInput')).toBeEmpty(); - await expect(page.getByTestId('scenarioExecutionToDateInput')).toBeEmpty(); - await expect(page.getByTestId('scenarioExecutionHeaderFilterInput')).toBeEmpty(); -}); - test('should display detail view of scenario execution', async ({ page }) => { await mockBackendResponse(page, '**/api/scenario-executions*', scenarioExecutionJsonWithoutDetails); await mockBackendResponse(page, '**/api/scenario-executions/752603', scenarioExecutionJsonWithDetails);