I'm working on a project where the e2e tests are made using protractor.
Some tests, need to validate date/times. Tests are ok on our continuous deliver platforms that ensure the timezone remains stable.
However, when test are run on a local machine, where timezone can change, tests fail because the captured browser is running on a different timezone.
I need to, somehow, control the timezone through protractor in order to have platform independent tests.
Is this possible?
See Question&Answers more detail:os