File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/react-sdk-components/tests/e2e/Digv2/FormFields Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ test.describe('E2E test', () => {
4141
4242 /** Required tests */
4343 const requiredInteger = page . locator ( 'input[data-test-id="0658481a174254dded4a0c1ffe6b8380"]' ) ;
44- requiredInteger . fill ( '10000' ) ;
44+ await requiredInteger . fill ( '10000' ) ;
45+ await requiredInteger . blur ( ) ;
4546 attributes = await common . getAttributes ( requiredInteger ) ;
4647 await expect ( attributes . includes ( 'required' ) ) . toBeTruthy ( ) ;
4748 await expect ( await requiredInteger . getAttribute ( 'placeholder' ) ) . toBe ( 'Integer Placeholder' ) ;
Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ test.describe('E2E test', () => {
4545 await expect ( attributes . includes ( 'required' ) ) . toBeFalsy ( ) ;
4646
4747 const requiredPercentage = page . locator ( 'input[data-test-id="86a805ca8375ed5df057777df74dd085"]' ) ;
48- requiredPercentage . pressSequentially ( '10' ) ;
48+ await requiredPercentage . pressSequentially ( '10' ) ;
49+ await requiredPercentage . blur ( ) ;
4950 notrequiredPercentage . click ( ) ;
5051 attributes = await common . getAttributes ( requiredPercentage ) ;
5152 await expect ( attributes . includes ( 'required' ) ) . toBeTruthy ( ) ;
You can’t perform that action at this time.
0 commit comments