fix: chat "scrolling up" because of imgs loading #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e Tests | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- 'docs/**' # only trigger build if a file outside of /docs was changed | |
- '_locales/*.xml' | |
- '.vscode/**' | |
- 'README_ASSETS/**' | |
- 'README.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' # only trigger build if a file outside of /docs was changed | |
- '_locales/*.xml' | |
- '.vscode/**' | |
- 'README_ASSETS/**' | |
- 'README.md' | |
env: # dummy certificates for testing | |
PRIVATE_CERTIFICATE_KEY: | | |
-----BEGIN PRIVATE KEY----- | |
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCkARDceole0+De | |
GNRL7jDFUcm8YmrCbWNp/hT4IxQyavmYkLWZz5T1M8E4cDgnlM+n63owtS/bKENC | |
m0AeyZaTvktJXmCVsFIGZyS5yF13Ddp5qVU7VSAQz1/bqXmyppzSleJzl4q6S5+I | |
RIWvJuF/Nfs5lCuIwQ8ciyH2ceT+fAsPR0mTdOKYLdLzE9kAn0XVI28C/Z1z2E1M | |
Ck6yQsvJcHXZQ0ncGkVRv2ureujN5btpAc1RctUUXzPn8Pxh5AEfAVCR5tDXwy1V | |
/pI3GM/xcd4xsqa3rT+AcH6FPH7/8ltdlNVXH6DHZ8QW6NH/KGG75BP06YycVDOR | |
947dhrCZAgMBAAECggEAbI6YDpi9nRs6WUiuHaSIe9PraNrsN84YY+xfDPCLSeQt | |
WqNO0YTp4HRljWoagXirC0d/FgaYqsQ34TrKcpaVKS5ovyPNYsfXQ426bY8G7uso | |
lidT13Y9R2M83DWN7IcEfw/fWQwSM8YizxwsMQfXc1DT/gTp3BeOXSJrVKmHHjsF | |
0Op/kfRSytWwsfuobbYIUMjm0KxU5rX0iqftDmlUpCpR9eIQ2R0xUvyLZ3g+p8ic | |
z8UuhX/qAN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ry6/DUBxPnibAFE41TKwp7+bLio4kcWpy1 | |
ac5PxNXDxgdIkzMQrw6WTzBByOdJdvmtXfmjQdwtzQEgX41fddaHW2MV6mkJtoig | |
icyDUE98wrjdUPCHzxg9iFLrwmY/yS+gjoauZmHRCL5T66zURHskO+BinonPTe2P | |
xeFxysxsefVKTm3nlldpav4/FuHElJ1um8rMkZ3O8zfgn6WS/4W7gZpgjS6QuFsK | |
24bA9W3URqEZuHxRLGdBAcfE/E2YqFkgJ3FHt5UpivVbWkYybH1kd75Ng0TsbZBt | |
8vjGkIPMplcAo72nq7z+xkYE7/SHa6dXXuR+4TBoR72fhDJKiY4tJmLQ7f8n1jDP | |
orZZUaJvUBF/bamf6VyJB+4DYr8bsUCVpcnFfXzhzs1jfhwM6T08ywFVDVb1ShCP | |
LqYfg2Ehy45AAnnOPD6p | |
-----END CERTIFICATE----- | |
jobs: | |
test: | |
name: E2E Tests | |
environment: test | |
env: | |
CI: true | |
NODE_ENV: test | |
VERSION_INFO_GIT_REF: ${{ github.ref }} | |
DC_ACCOUNTS_DIR: ../../e2e-tests/data/accounts | |
timeout-minutes: 60 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm install -g pnpm && pnpm install | |
- name: Install Playwright Browsers | |
working-directory: ./packages/e2e-tests | |
run: npx playwright install --with-deps | |
- name: create data dir | |
run: mkdir -p packages/target-browser/data | |
- name: Run e2e tests | |
run: pnpm e2e --project Chrome | |
- uses: actions/upload-artifact@v4 | |
if: ${{ failure() && !cancelled() }} | |
with: | |
name: e2e-report | |
path: packages/e2e-tests/playwright-report | |
retention-days: 10 |