diff --git a/ketcher-autotests/tests/utils/selectors/templateModal.ts b/ketcher-autotests/tests/utils/selectors/templateModal.ts index c9089b9ebe..ff7897d151 100644 --- a/ketcher-autotests/tests/utils/selectors/templateModal.ts +++ b/ketcher-autotests/tests/utils/selectors/templateModal.ts @@ -163,7 +163,7 @@ export async function selectUserTemplatesAndPlaceInTheMiddle( ) { await pressButton(page, STRUCTURE_LIBRARY_BUTTON_NAME); await page.getByRole('tab', { name: 'Template Library' }).click(); - await page.getByRole('button', { name: 'Aromatics (17)' }).click(); + await page.getByRole('button', { name: 'Aromatics' }).click(); await selectUserTemplate(itemToChoose, page); await clickInTheMiddleOfTheScreen(page); }