From 4523edaac06bf4d1f16a52886748382586d3b52a Mon Sep 17 00:00:00 2001 From: Evgeny Alaev Date: Mon, 28 Oct 2024 15:40:41 +0300 Subject: [PATCH] Fix createNewFieldWithFormula method --- tests/page-objects/wizard/WizardPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/page-objects/wizard/WizardPage.ts b/tests/page-objects/wizard/WizardPage.ts index b5813c374a..3adef08d94 100644 --- a/tests/page-objects/wizard/WizardPage.ts +++ b/tests/page-objects/wizard/WizardPage.ts @@ -218,7 +218,7 @@ class WizardPage extends ChartPage { await expect( datasetFields.locator(slct(SectionDatasetQA.ItemTitle), { - hasText: fieldName, + hasText: new RegExp(`^${fieldName}$`, 'i'), }), ).toBeVisible(); }