-
Notifications
You must be signed in to change notification settings - Fork 90
Follow up PCF-561 Add copy run values to extended row #859
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
Conversation
✅ Deploy Preview for mozilla-perfcompare ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #859 +/- ##
==========================================
+ Coverage 93.47% 93.56% +0.08%
==========================================
Files 94 94
Lines 2637 2641 +4
Branches 524 526 +2
==========================================
+ Hits 2465 2471 +6
+ Misses 153 152 -1
+ Partials 19 18 -1 ☔ View full report in Codecov by Sentry. |
b639c1b
to
c77ddcf
Compare
c77ddcf
to
5672aa1
Compare
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.
looks good to me, thanks!
expect(showLessButton).toBeInTheDocument(); | ||
}); | ||
|
||
it('should copy run values when "Copy values" is clicked', async () => { |
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.
thanks for the test!
}; | ||
|
||
const onCopyValues = () => { | ||
void navigator.clipboard.writeText(values.toString()); |
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.
I'm not fully sure of what we should copy. I was initially thinking separated by spaces (like how it is displayed) would have been better, but trying it with google spreadsheet convinced me that commas are a better option. So it's good to me!
This is a follow up PR for #844
It adds the
Copy results
button inside the extended row.deploy test link