GoogleChromeLabs/ps-analysis-tool

Discrepancy between CLI and extension reports (HTML and CSV)

Opened this issue · 0 comments

Describe the bug

  1. The extension download (frame download button on the cookie table) includes "size" and "priority" columns that are missing in the CLI reports. For consistency, let's add these missing columns to the CLI reports.

  2. Add filters for "partition key," "set via," and "priority" to both CLI report.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://bbc.com
  2. Start PSAT Analysis
  3. Download Report from Cookie Dashboard and CSV report from individual frame (bbc.com)
  4. Now Run npm run cli -- -u https://bbc.com
  5. Compare two reports.

Expected behavior
To keep reports consistent, we should have the same filters and column in CSV file.

Screenshots

Report Type Extension CLI
CSV Report image image
HTML Report (Filter) image image

Desktop (please complete the following information):
Open Tabs: 2
Active Extensions:
Privacy Sandbox Analysis Tool: ckoomiflnhhbabnhidcbfmknbfldhnam
Chrome Version: Version 126.0.0.0 (x86-64)
PSAT Version: 0.9.0
OS - System Architecture: MacOS (x86-64)