Skip to content

Fix onblur being called twice in Chrome #1454

Fix onblur being called twice in Chrome

Fix onblur being called twice in Chrome #1454

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Rich text editor tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: CI tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Cache Playwright Browsers
id: cache-playwright-browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-${{ hashFiles('./package-lock.json') }}
- run: npx playwright install --with-deps chromium firefox
- name: Install deps
# Don't run prepare step, since it runs tests also.
run: npm ci --ignore-scripts
- name: Run tests
env:
CI: true
run: npm run test