Skip to content

Commit

Permalink
Merge pull request #792 from GoogleChromeLabs/develop
Browse files Browse the repository at this point in the history
v0.10.0
  • Loading branch information
amedina authored Jul 31, 2024
2 parents 306bbdc + 0d7fb9a commit 6835545
Show file tree
Hide file tree
Showing 259 changed files with 68,720 additions and 31,454 deletions.
9 changes: 5 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"ignorePatterns": [
"**/node_modules/**",
"dist/**",
"dist-types/**",
"**/dist/**",
"**/dist-types/**",
"out/**",
"data/**",
"coverage/**"
Expand All @@ -62,7 +62,7 @@
"",
{
"pattern": " \\* Copyright \\d{4} Google LLC",
"template": " * Copyright 2023 Google LLC"
"template": " * Copyright 2024 Google LLC"
},
" *",
" * Licensed under the Apache License, Version 2.0 (the \"License\");",
Expand Down Expand Up @@ -139,7 +139,8 @@
"forbid": ["for"]
}
],
"@typescript-eslint/ban-ts-comment": "off"
"@typescript-eslint/ban-ts-comment": "off",
"react/react-in-jsx-scope": "off"
},
"overrides": [
{
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/tests-cli-e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: PSAT E2E Tests

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- develop

pull_request:
branches:
- develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
e2e-test:
# The type of runner that the job will run on
name: CLI E2E Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Set Chrome executable path
run: |
CHROME_PATH=$(which google-chrome-stable || which google-chrome || which chrome || which chromium)
echo "CHROME_PATH=$CHROME_PATH" >> $GITHUB_ENV
- name: Install dependancy
run: |
ls
pwd
npm install || true
npm run build:cli:dashboard
- name: Install Xvfb
run: sudo apt-get install -y xvfb

- name: Start Xvfb
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &

- name: Delay for Xvfb to Start
run: sleep 6 # Adjust the sleep duration as needed

- name: Export DISPLAY
run: export DISPLAY=:99

- name: Run the tests
run: |
npm run test:cli:e2e
- name: Archive build artifacts
uses: actions/upload-artifact@v2
with:
name: my-artifact
path: cd tests/e2e-test/utils/
69 changes: 69 additions & 0 deletions .github/workflows/tests-extension-e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: PSAT E2E tests

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- develop

pull_request:
branches:
- develop

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Cancels all prior workflow runs associated with pull requests that are still in progress.
concurrency:
# The concurrency group contains the workflow name and the (target) branch name.
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
e2e-test:
# The type of runner that the job will run on
name: Extension E2E Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Set Chrome executable path
run: |
CHROME_PATH=$(which google-chrome-stable || which google-chrome || which chrome || which chromium)
echo "CHROME_PATH=$CHROME_PATH" >> $GITHUB_ENV
- name: Install dependancy
run: |
ls
pwd
npm install || true
npm run build:ext
- name: Install Xvfb
run: sudo apt-get install -y xvfb

- name: Start Xvfb
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &

- name: Delay for Xvfb to Start
run: sleep 6 # Adjust the sleep duration as needed

- name: Export DISPLAY
run: export DISPLAY=:99

- name: Run the tests
run: |
npm run test:extension:e2e
- name: Archive build artifacts
uses: actions/upload-artifact@v2
with:
name: my-artifact
path: cd tests/e2e-test/utils/
42 changes: 40 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,45 @@
* Refactor: Update package scope name to `@google-psat` https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/725


#v0.9.0
#v0.9.1

## Extension
Remove facilitated testing page Remove facilitated testing page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/787


#v0.10.0

# Changelog

## Extension
Remove facilitated testing page Remove facilitated testing page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/787
* Feature: Add global filtering capabilities https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/735
* Feature: Generate complete report from extension. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/749
* Feature: Add 0.9v i18n translations https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/791
* Feature: Add “Private Aggregation” panel https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/746
* Feature: Enable navigating from sitemap report insights page https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/736
* Fix: Use `onCommittedNavigation` listener instead of `onTabUpdated` https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/755
* Fix: Load settings when extension has been enabled https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/758
* Fix: Performance issues in chrome PSAT extension. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/762
* Fix: Report generation https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/766
* Fix: QA issues on develop https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/779
* Fix: QA issues https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/789
* Refactor: Move dashboard from design-system to report. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/772
* Chore: Remove blocking status and mapping columns from cookies table https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/748

## CLI
* Feature: Add report header https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/777
* Feature: Add section summarizing known breakages https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/752
* Feature: Inline scripts and data for the CLI analysis report file https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/745
* Feature: Add known breakages section in aggregated report https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/754
* Feature: Redesign CLI console messages and user interactions. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/734
* Feature: Add favicon to the downloadable report and CLI dashboard. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/742
* Feature: Implement output folder naming conventions for saved reports https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/759
* Enhancement: Add filters in full report file https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/770
* Fix: Revert removal of use arguments and update CLI build commands https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/769
* Fix: Add custom sorting comparator for categories https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/771

## Others
* Code Quality: Add E2E tests for extension and CLI https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/773
* Chore: Make NPM commands used for development uniform. https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/775
* Bump “fast-xml-parser” from 4.4.0 to 4.4.1 https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/790
* Chore: Setup report package development configurations https://github.com/GoogleChromeLabs/ps-analysis-tool/pull/756
Loading

0 comments on commit 6835545

Please sign in to comment.