action-destinations icon indicating copy to clipboard operation
action-destinations copied to clipboard

Use consistent timestamp in snapshots

Open SyedWasiHaider opened this issue 1 year ago • 0 comments

Seems like the datetime returned by chance is inconsistent between local and CI. Even after confirming that there is no drift in times and also specifically setting the TZ var, I can't seem to get the same results.

This fix is basically just to hardcode the timestamp (by setting the type property to datetime for the chance call)

Also updating June snapshots as an example since that seems to be the most recent one that ran into this.

Testing

Include any additional information about the testing you have completed to ensure your changes behave as expected. For a speedy review, please check any of the tasks you completed below during your testing.

  • [x] Added unit tests for new functionality
  • [ ] Tested end-to-end using the local server
  • [ ] [Segmenters] Tested in the staging environment

SyedWasiHaider avatar Mar 30 '23 17:03 SyedWasiHaider