ps-analysis-tool
ps-analysis-tool copied to clipboard
[QA] Dev Branch
- [ ] Issue with GSI feature on CNN site
- [x] Error: Uncaught (in promise) Error: No tab with id: 363275767.
- [x] CDP switch and
0
cookies issue - [x] Error: Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'newUpdates')
- [ ] Blank Table and blank screen issue
- [x] Regression bug : Existing core functionality is breaking
- [ ] PSAT CLI - Samesite does not show any value. It is empty.
- [x] CLI: In the "Technologies" frame, the description is not clearly visible.
- [x] CLI: If there is no description present for any technology then the proper message should be visible.
- [x] CLI: The EXP date column shows wrong format for some cookies.
- [x] Blocked cookie are not appearing Yellow BG color in CLI Dash board.
- [ ] PSAT Extension - The "Unknown frames" is visible with URL rewrite.
Issue with GSI feature on CNN site
- False positive results on cnn.com ( though we had already mentioned in the PRD that it will only work for 80% websites and may show false positive results )
- Infinite loading ✅
When I opened the CNN website with single tab mode, it kept processing but the GSI feature was not found. When I inspect the tool it threw the below errors on console.
--
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/15592163-0ecc-4e8b-bf40-50107d2acac8
This started working as expected when I opened one more new chrome profile.
Uncaught (in promise) Error: No tab with id: 848821757.
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/82eccbb4-2d13-40e1-afbf-0473ddce9cb6
CDP switch issue
Steps:
- Open chrome://extension tab
- Now, open 2-3 tabs with different URLs
- Enable CDP and you must see the debug bar
- Anlyse the different tabs in single tab environment and observe correct set of data should appear as CDP is enable. E.g. Blocked cookie, Yellow BG color etc
- Now, Keep checking the chrome://extensions tab for any errors
- Close each tab one by one and you will notice the error as mentioned here.
- Now, repeat step 2 and observe that
- the debug bar is not reappearing
- No blocked cookies
- No other cookies getting loaded
- Cookies landing page shows
0
cookies - CDP switch is still on but you won't get above thing
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/295b2d7c-6170-4302-a0e3-556a4d75e4e5
Error: Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'newUpdates')
Blank Table and blank screen issue
When I toggle the setting - multi tab and/or CDP; the blank table and blank screen issues are still visible. Especially with multi tab environment.
Multi tab -
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/a59a66b4-efcc-46e6-ab2c-bd7955b9d77a
Single Tab -
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/439347d9-f5b4-412a-a1d6-e9d19ab00945
Regression bug : Existing core functionality is breaking
As per the expected behaviour if the URLs in next to chrome://extensions page or if it is tab num - 2 then it should by default load the cookies. However, wit this branch this functionality is breaking.
Steps:
- Checkout to develop branch > Pull the code > Run npm start
- Open a new chrome profile and install the extension
- Open a new tab with any URL
- Observe that it loads cookies as soon as you hit the URL
- Now, close the tab and again open the new tab with any URL
- Observe that this time it does not load the cookie and shows "Analyse this tab" button instead
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/6b0d1142-d299-4136-acd5-5c7d63102011
@kjnanda
The infinite loading issue was fixed in https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/478 and QA tested by Pavan.
We cannot replicate the false positive issue on CNN after several attempts so we will handle in later.
CLI: The Format of the expire date is not properly visible in the cookie table.
Note: After the report is downloaded, the report shows blank value for which the expiry date is not in expected format.
CLI: In the "Technologies" frame, the description is not clearly visible. If the content overflows, it should display "..." to indicate there is more content. Currently, the content appears to be hidden
CLI: If there is no description present for any technology then the proper message should be visible.
PSAT CLI - Samesite
does not show any value. It is empty. But after I download the report the file contains the correct information.
PSAT CLI | PSAT CLI - Download Report | PSAT Extension |
---|---|---|
PSAT Extension - The "Unknown frames" is visible with URL rewrite.
Steps to reproduce the issue:
- Open the bbc.com site and observe the unknown frames will be visible. open the unknown frames tab.
- Now, rewrite the URL to travelopia.com.
- See the "Unknown frames" on the bbc.com are still visible on travelopia.com as well. Eventhough on travelopia.com there is no unknown frames.
https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/44057535/9fec5619-922b-49cf-86e8-f2ce538bd488
@ayushnirwal Blocked cookies are not appearing Yellow BG color in CLI Dash board.
https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/471#issuecomment-1932016503
Hi @amovar18, It is still reproducible on the develop branch.
Check the below steps:
- Go to bbc.com and open the cookies frame.
- Now, rewrite the URL to example.com and check the unknown frames will be shown. It should not be displayed.
- Now, refresh the page the page will be refreshed and unknown frame frame will be gone but cookies will be displayed.
screencast-bpconcjcammlapcogcnnelfmaeghhagj-2024.02.13-13_46_32.webm
@pavanpatil1 the issue is replicated is different than what you have shown, because the issue that was listed shows unknown frames in the sidebar which have been removed in 0.6.0.
The unknown frames have been removed and other issues have been resolved. Hence closing this issue