ps-analysis-tool icon indicating copy to clipboard operation
ps-analysis-tool copied to clipboard

[QA] Dev Branch

Open kjnanda opened this issue 1 year ago • 16 comments

Issue with GSI feature on CNN site

  1. 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 )

Screenshot 2024-02-05 at 12 31 24 (1)

  1. 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.

Screenshot 2024-02-05 at 10 27 35

--

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.

kjnanda avatar Feb 05 '24 05:02 kjnanda

Uncaught (in promise) Error: No tab with id: 848821757.

https://github.com/GoogleChromeLabs/ps-analysis-tool/assets/15173772/82eccbb4-2d13-40e1-afbf-0473ddce9cb6

kjnanda avatar Feb 05 '24 05:02 kjnanda

CDP switch issue

Steps:

  1. Open chrome://extension tab
  2. Now, open 2-3 tabs with different URLs
  3. Enable CDP and you must see the debug bar
  4. 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
  5. Now, Keep checking the chrome://extensions tab for any errors
  6. Close each tab one by one and you will notice the error as mentioned here.
  7. 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


Screenshot 2024-02-05 at 11 58 07

kjnanda avatar Feb 05 '24 05:02 kjnanda

Error: Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'newUpdates')

Screenshot 2024-02-05 at 11 02 47

kjnanda avatar Feb 05 '24 05:02 kjnanda

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

kjnanda avatar Feb 05 '24 06:02 kjnanda

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:

  1. Checkout to develop branch > Pull the code > Run npm start
  2. Open a new chrome profile and install the extension
  3. Open a new tab with any URL
  4. Observe that it loads cookies as soon as you hit the URL
  5. Now, close the tab and again open the new tab with any URL
  6. 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 avatar Feb 05 '24 06:02 kjnanda

@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.

mohdsayed avatar Feb 07 '24 04:02 mohdsayed

CLI: The Format of the expire date is not properly visible in the cookie table.

image

Note: After the report is downloaded, the report shows blank value for which the expiry date is not in expected format.

image

pavanpatil1 avatar Feb 07 '24 09:02 pavanpatil1

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

image

pavanpatil1 avatar Feb 07 '24 09:02 pavanpatil1

CLI: If there is no description present for any technology then the proper message should be visible.

image

pavanpatil1 avatar Feb 07 '24 09:02 pavanpatil1

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
image image image

kjnanda avatar Feb 07 '24 09:02 kjnanda

PSAT Extension - The "Unknown frames" is visible with URL rewrite.

Steps to reproduce the issue:

  1. Open the bbc.com site and observe the unknown frames will be visible. open the unknown frames tab.
  2. Now, rewrite the URL to travelopia.com.
  3. 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

pavanpatil1 avatar Feb 07 '24 13:02 pavanpatil1

@ayushnirwal Blocked cookies are not appearing Yellow BG color in CLI Dash board.

Screenshot 2024-02-07 at 18 38 27

kjnanda avatar Feb 07 '24 13:02 kjnanda

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:

  1. Go to bbc.com and open the cookies frame.
  2. Now, rewrite the URL to example.com and check the unknown frames will be shown. It should not be displayed.
  3. 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 avatar Feb 13 '24 08:02 pavanpatil1

Hi @amovar18, still able to replicate this issue.

image

pavanpatil1 avatar Mar 20 '24 05:03 pavanpatil1

@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.

amovar18 avatar Mar 20 '24 08:03 amovar18

The unknown frames have been removed and other issues have been resolved. Hence closing this issue

pavanpatil1 avatar Aug 26 '24 12:08 pavanpatil1