Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Once recorded, how best to update values each time before running at test? #10

Open
chauey opened this issue Jul 15, 2019 · 1 comment
Labels
question Further information is requested

Comments

@chauey
Copy link
Contributor

chauey commented Jul 15, 2019

For example, we want to update a date value to today, or the expiration time 20 minutes into the future, what is the best way to do this? Thanks!

@Nanciee
Copy link
Owner

Nanciee commented Jul 20, 2019

Hmm, I'm not really understanding what you are trying to accomplish in this case. What are you expecting from the change in date value? Is your api call going to be dependent on it or is this just an UI change. Regardless, it is best if you keep the date consistent! If you are trying to test for something that will vary based on changing variables at the time of running the test, it might make sense to not mock that particular test!

@Nanciee Nanciee added the question Further information is requested label Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants