mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-06 06:29:45 -06:00
cypress cache list prints last accessed date (#6627)
* get last access timestamps and print with cache versions * remove done TODO * start trying to save HTML but only after snapshot text is confirmed * store cli test output HTML as static pages * set our color for table heading * make code readable * lock file again * update saved HTML file * refactor cache spec * add test with no access time:
This commit is contained in:
27
cli/test/html/second-binary-never-used.html
Normal file
27
cli/test/html/second-binary-never-used.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<style>
|
||||
body {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
padding: 0 1em;
|
||||
line-height: 1.4;
|
||||
color: #eee;
|
||||
background-color: #000;
|
||||
}
|
||||
pre {
|
||||
padding: 0 0;
|
||||
margin: 0 0;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><pre>┌─────────┬──────────────┐
|
||||
│ <span style="color:#AAA">version<span style="color:#eee"> │ <span style="color:#AAA">last used<span style="color:#eee"> │
|
||||
├─────────┼──────────────┤
|
||||
│ <span style="color:#0A0">1.2.3<span style="color:#eee"> │ <span style="color:#0AA">3 months ago<span style="color:#eee"> │
|
||||
├─────────┼──────────────┤
|
||||
│ <span style="color:#0A0">2.3.4<span style="color:#eee"> │ unknown │
|
||||
└─────────┴──────────────┘</span></span></span></span></span></span></span></span></span></span>
|
||||
</pre></body></html>
|
||||
Reference in New Issue
Block a user