0

I am trying to run generate snapshots from WDIOs. The condition is to render the default date and time component of my project. However, the WDIO generates current date and time each time I generate it and hence fails with mismatch tolerance.

I tried setting the value by Page.appointmentDateField.setValue('01/06/2001'), however, since the date is hardcoded here, it fails for 'de' and other locales which uses 'xx.xx.xxxx' instead of '/'.

Is there any way to fix this?

S. Hesam
  • 1,784
  • 1
  • 11
  • 33
DumbCoder
  • 1
  • 2

0 Answers0