-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Issue 1601 - Update runs tab to match new api schemas #1604
Conversation
jennifer-shehane
commented
Apr 16, 2018
- added 'object-schema' project, began updating fixture to match schema
- add timer display component
- add some util functions
- update tests to actual test the run data
- capital cased some messaging in the runs
- add timer display component - add some util functions - update tests to actual test the run data - capital cased some messaging in the runs
- update some tests to be less brittle when text is changed.
|
||
const total = _.compact([ | ||
durationHrs, | ||
!!durationHrs || padMinutes ? padStart(durationMins, 2, '0') : durationMins, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh my, this expression is complicated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is! I mean, all I want is this logic in this spec to pass, so if there's a less complicated way, I'm game -> https://github.com/cypress-io/cypress/pull/1604/files#diff-6a3f8282b23f89f40bb2248f3e7d5c64
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
love it, a lot less "screaming" through caps
@bahmutov This last test is failing because the CI env's timezone is not set to |
Will do, I did it somewhere some time ago, if only I could remember where ... |
hahaha, of course, I set it in the dashboard repo
|