Skip to content

test(common): deflake hidden-grid resizer auto-fix test (#2763) #3133

test(common): deflake hidden-grid resizer auto-fix test (#2763)

test(common): deflake hidden-grid resizer auto-fix test (#2763) #3133

Workflow file for this run

name: Framework Tests - React
on:
push:
branches:
- master
- next
pull_request:
branches:
- '**'
paths-ignore:
- '**.md'
- '!.github/workflows/ci.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run:
strategy:
fail-fast: false
matrix:
node: [24]
platform:
- ubuntu-latest
name: '${{matrix.platform}} / Node ${{ matrix.node }}'
runs-on: ${{matrix.platform}}
timeout-minutes: 30
if: ${{ !startsWith(github.event.head_commit.message, 'docs:') }}
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Install pnpm
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2
with:
install: false
- name: Set NodeJS
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: pnpm --version
- name: Install pnpm dependencies
run: pnpm install
- name: Build Slickgrid-Universal packages
run: pnpm build:universal
- name: Slickgrid-React Framework Build
run: pnpm react:build:framework
- name: Slickgrid-React Framework-Plugins Build
run: pnpm react:build:framework-plugins
- name: Website Dev Build (served for Cypress)
run: pnpm react:build:demo
- name: Ensure Cypress binary is installed
run: pnpm exec cypress install
- name: Start HTTP Server
run: pnpm react:serve &
- name: Run Cypress E2E tests
uses: cypress-io/github-action@c32f12761482a282d24ca0fd7466d8ae86f54ba8 # v7.4.2
with:
install: false
package-manager-cache: false
working-directory: demos/react
wait-on: 'http://localhost:8000'
config-file: test/cypress.config.ts
browser: chrome
record: false
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Cypress_extended: true
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
if: always()
with:
name: cypress-screenshots
path: demos/react/test/cypress/screenshots