From 48048def18b90b06398a2819a986e68ba7e53461 Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Tue, 8 Oct 2024 12:38:47 +0300 Subject: [PATCH] chore(demo-cypress): delete forbidden character `:` from snapshot names (#9385) --- projects/demo-cypress/src/tests/textfield.cy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/demo-cypress/src/tests/textfield.cy.ts b/projects/demo-cypress/src/tests/textfield.cy.ts index e92297471361..9376617dddee 100644 --- a/projects/demo-cypress/src/tests/textfield.cy.ts +++ b/projects/demo-cypress/src/tests/textfield.cy.ts @@ -42,7 +42,7 @@ describe('Textfield', () => { cy.get('input[tuiTextfield]').focus(); cy.get('tui-textfield').compareSnapshot( - `[filler]-initial-value_${initialValue}`, + `[filler]-initial-value_${initialValue.replaceAll(':', '-')}`, ); }); }); @@ -64,7 +64,7 @@ describe('Textfield', () => { cy.get('input[tuiTextfield]').type(value); cy.get('tui-textfield').compareSnapshot( - `[filler]-user-types_${value}`, + `[filler]-user-types_${value.replaceAll(':', '-')}`, ); }); });