France-ioi / AlgoreaFrontend

Front-end for the new Algorea platform
MIT License
4 stars 1 forks source link

Fixes e2e issues with input date #1840

Closed Iloveall closed 2 days ago

Iloveall commented 4 days ago

Description

Fixes e2e issue with input date

Notes (out of scope, known isues, hints for reviewing code, ...) (optional)

The problem was with mask that put placeholder as value. As playwright working very fast (unlike human) sometimes it filled the value before p-input emits mask and as result the mask override the value. For self, I can see the best way how to reproduce kind race condition issues in future - is the run tests 50-100 times

image

Test cases

smadbe commented 4 days ago

[auto-generated message] E2E test report on: https://algorea-static.s3.eu-central-1.amazonaws.com/branch/e2e/input-date/playwright-report/index.html