Skip to content

Commit 6835545

Browse files
authored
Merge pull request #792 from GoogleChromeLabs/develop
v0.10.0
2 parents 306bbdc + 0d7fb9a commit 6835545

File tree

259 files changed

+68720
-31454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+68720
-31454
lines changed

.eslintrc.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
},
4040
"ignorePatterns": [
4141
"**/node_modules/**",
42-
"dist/**",
43-
"dist-types/**",
42+
"**/dist/**",
43+
"**/dist-types/**",
4444
"out/**",
4545
"data/**",
4646
"coverage/**"
@@ -62,7 +62,7 @@
6262
"",
6363
{
6464
"pattern": " \\* Copyright \\d{4} Google LLC",
65-
"template": " * Copyright 2023 Google LLC"
65+
"template": " * Copyright 2024 Google LLC"
6666
},
6767
" *",
6868
" * Licensed under the Apache License, Version 2.0 (the \"License\");",
@@ -139,7 +139,8 @@
139139
"forbid": ["for"]
140140
}
141141
],
142-
"@typescript-eslint/ban-ts-comment": "off"
142+
"@typescript-eslint/ban-ts-comment": "off",
143+
"react/react-in-jsx-scope": "off"
143144
},
144145
"overrides": [
145146
{
+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: PSAT E2E Tests
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches:
8+
- develop
9+
10+
pull_request:
11+
branches:
12+
- develop
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
jobs:
18+
e2e-test:
19+
# The type of runner that the job will run on
20+
name: CLI E2E Tests
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
with:
27+
ref: ${{ github.event.pull_request.head.sha }}
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v3
31+
with:
32+
node-version: 18
33+
34+
- name: Set Chrome executable path
35+
run: |
36+
CHROME_PATH=$(which google-chrome-stable || which google-chrome || which chrome || which chromium)
37+
echo "CHROME_PATH=$CHROME_PATH" >> $GITHUB_ENV
38+
- name: Install dependancy
39+
run: |
40+
ls
41+
pwd
42+
npm install || true
43+
npm run build:cli:dashboard
44+
- name: Install Xvfb
45+
run: sudo apt-get install -y xvfb
46+
47+
- name: Start Xvfb
48+
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
49+
50+
- name: Delay for Xvfb to Start
51+
run: sleep 6 # Adjust the sleep duration as needed
52+
53+
- name: Export DISPLAY
54+
run: export DISPLAY=:99
55+
56+
- name: Run the tests
57+
run: |
58+
npm run test:cli:e2e
59+
- name: Archive build artifacts
60+
uses: actions/upload-artifact@v2
61+
with:
62+
name: my-artifact
63+
path: cd tests/e2e-test/utils/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: PSAT E2E tests
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches:
8+
- develop
9+
10+
pull_request:
11+
branches:
12+
- develop
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Cancels all prior workflow runs associated with pull requests that are still in progress.
18+
concurrency:
19+
# The concurrency group contains the workflow name and the (target) branch name.
20+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
21+
cancel-in-progress: true
22+
23+
jobs:
24+
e2e-test:
25+
# The type of runner that the job will run on
26+
name: Extension E2E Tests
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
with:
33+
ref: ${{ github.event.pull_request.head.sha }}
34+
35+
- name: Setup Node.js
36+
uses: actions/setup-node@v3
37+
with:
38+
node-version: 18
39+
40+
- name: Set Chrome executable path
41+
run: |
42+
CHROME_PATH=$(which google-chrome-stable || which google-chrome || which chrome || which chromium)
43+
echo "CHROME_PATH=$CHROME_PATH" >> $GITHUB_ENV
44+
- name: Install dependancy
45+
run: |
46+
ls
47+
pwd
48+
npm install || true
49+
npm run build:ext
50+
- name: Install Xvfb
51+
run: sudo apt-get install -y xvfb
52+
53+
- name: Start Xvfb
54+
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
55+
56+
- name: Delay for Xvfb to Start
57+
run: sleep 6 # Adjust the sleep duration as needed
58+
59+
- name: Export DISPLAY
60+
run: export DISPLAY=:99
61+
62+
- name: Run the tests
63+
run: |
64+
npm run test:extension:e2e
65+
- name: Archive build artifacts
66+
uses: actions/upload-artifact@v2
67+
with:
68+
name: my-artifact
69+
path: cd tests/e2e-test/utils/

CHANGELOG.md

+40-2
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,45 @@
399399
* Refactor: Update package scope name to `@google-psat` https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/725
400400

401401

402-
#v0.9.0
402+
#v0.9.1
403+
404+
## Extension
405+
Remove facilitated testing page Remove facilitated testing page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/787
406+
407+
408+
#v0.10.0
409+
410+
# Changelog
403411

404412
## Extension
405-
Remove facilitated testing page Remove facilitated testing page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/787
413+
* Feature: Add global filtering capabilities https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/735
414+
* Feature: Generate complete report from extension. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/749
415+
* Feature: Add 0.9v i18n translations https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/791
416+
* Feature: Add “Private Aggregation” panel https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/746
417+
* Feature: Enable navigating from sitemap report insights page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/736
418+
* Fix: Use `onCommittedNavigation` listener instead of `onTabUpdated` https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/755
419+
* Fix: Load settings when extension has been enabled https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/758
420+
* Fix: Performance issues in chrome PSAT extension. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/762
421+
* Fix: Report generation https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/766
422+
* Fix: QA issues on develop https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/779
423+
* Fix: QA issues https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/789
424+
* Refactor: Move dashboard from design-system to report. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/772
425+
* Chore: Remove blocking status and mapping columns from cookies table https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/748
426+
427+
## CLI
428+
* Feature: Add report header https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/777
429+
* Feature: Add section summarizing known breakages https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/752
430+
* Feature: Inline scripts and data for the CLI analysis report file https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/745
431+
* Feature: Add known breakages section in aggregated report https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/754
432+
* Feature: Redesign CLI console messages and user interactions. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/734
433+
* Feature: Add favicon to the downloadable report and CLI dashboard. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/742
434+
* Feature: Implement output folder naming conventions for saved reports https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/759
435+
* Enhancement: Add filters in full report file https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/770
436+
* Fix: Revert removal of use arguments and update CLI build commands https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/769
437+
* Fix: Add custom sorting comparator for categories https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/771
438+
439+
## Others
440+
* Code Quality: Add E2E tests for extension and CLI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/773
441+
* Chore: Make NPM commands used for development uniform. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/775
442+
* Bump “fast-xml-parser” from 4.4.0 to 4.4.1 https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/790
443+
* Chore: Setup report package development configurations https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/756

0 commit comments

Comments
 (0)