diff --git a/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts b/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts index 7ebcaed02991..5cee26a4346f 100644 --- a/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts +++ b/projects/demo-playwright/tests/legacy/input-date-time/input-date-time.pw.spec.ts @@ -337,6 +337,7 @@ test.describe('InputDateTime', () => { await inputDateTime.textfield.fill('11'); await inputDateTime.textfield.blur(); + // allow animations to capture tui-error validation message on screenshot await expect(example).toHaveScreenshot( '04-input-data-time-with-validator.png', {animations: 'allow'}, diff --git a/projects/demo/src/modules/components/input-date-time/index.html b/projects/demo/src/modules/components/input-date-time/index.html index 46b29aad3486..7b4951cb218c 100644 --- a/projects/demo/src/modules/components/input-date-time/index.html +++ b/projects/demo/src/modules/components/input-date-time/index.html @@ -121,14 +121,7 @@

DI-tokens for input-configurations:

heading="With validator" [component]="7 | tuiComponent" [content]="7 | tuiExample: 'html,ts'" - [description]="withValidatorDescription" - > - - Create custom validator function to verify input value. Custom - completeDateTimeValidator - using to check if data is complete - - + >