본문으로 건너뛰기
cccskills
무료GitHub에 공개

walkontable-testing

Maintain existing tests for Walkontable, Handsontable's table rendering engine. The skill explains its separate test commands and covers frozen rows and columns, visible area calculations, scroll alignment, and pitfalls that can hide failures or produce misleading results.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Use when writing tests for the Walkontable rendering engine - has its own separate test pipeline, runner, and configuration distinct from main Handsontable E2E tests

연동 도구Playwright
설치 방법 보기

이럴 때 유용합니다

  • Maintaining existing Walkontable rendering tests
  • Checking frozen rows and columns during scrolling
  • Testing visible areas after container resizing
  • Investigating missing test results

포함된 파일(1)

  • SKILL.md3.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Testing the Walkontable Rendering Engine

Walkontable follows the same freeze as the main suite. Its Playwright home is tests/e2e/walkontable/ (page objects in tests/fixtures/pages/walkontable/). Maintenance edits to existing *.spec.js are allowed; new or flaky walkontable tests go to Playwright (the presence gate blocks a new walkontable *.spec.js). In CI the legacy Jasmine/Puppeteer walkontable job and the Playwright e2e job run in parallel. This guide is for maintaining the frozen Jasmine specs.

Separate test pipeline

  • Run: npm run test:walkontable --prefix handsontable (the test/spec/ specs). test:e2e does not pick them up.
  • Location: src/3rdparty/walkontable/test/
    • test/spec/: Jasmine + Puppeteer with a separate Rspack config and bootstrap. Only test:walkontable runs them.
    • test/unit/: Jest tests for calculators, filters, renderers, utilities (48 *.unit.ts/*.unit.js files). The core jest.config.js picks them up, so npm run test:unit and the core Unit / test CI job run them, and test:walkontable does not.

Writing tests

  • it() callbacks that call rendering APIs are async and await those calls.
  • Tests are organized by subsystem (overlay/, scroll/, selection/, renderer/, table/, viewport.spec.js); place new ones in the matching directory.

What to cover

  • Frozen rows and columns: the 6 overlay types are the most fragile part; include frozen scenarios for overlay positioning and sync.
  • Viewport calculations: small containers that clip, containers larger than the data, dynamic resize.
  • Scroll synchronization: horizontal and vertical scroll keep frozen overlays aligned.
  • Large datasets: 10k+ rows. Populate arrays with forEach; arr.push(...largeArray) overflows the stack.

Common mistakes

  • Running Walkontable tests via test:e2e.
  • Changing the test bootstrap or Rspack config without confirming test/spec/ passes under test:walkontable and test/unit/ under the core test:unit.
  • Clearing an inline overflow longhand with jQuery: $el.css('overflow-x', '') leaves an inline overflow-x in this harness, so the "clip removed" branch asserts against the wrong layout. Write el.style.overflowX = '' and assert the intermediate fact (getComputedStyle(el).overflowX === 'visible') before the behavior.
  • Trusting the spec count. A failing spec whose expected/actual was a cyclic object (toBe(window), toEqual([overlay, ...])) used to be dropped at the Puppeteer bridge (Running 16 specs., then 15 specs, 0 failures, exit 0; the getOverlays spec sat like that from #12951). test/helpers/jasmine-bridge-reporter.js now reports it as a failure ([unserializable Window]). If a count comes up short, compare the Running N specs. line with the summary via npm run test:walkontable -- --testPathPattern=<file> --verbose.
  • Turning on rowHeightsUniform/columnWidthsUniform in a bare Walkontable spec and asserting scrollbar-dependent row/column counts: the bare harness overflows content without a real scrollbar while the single-pass layout snapshot predicts one, so they diverge. Assert the snapshot booleans directly, or use a fixture that renders a real scrollbar.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Develop and modify the Handsontable Angular wrapper with guidance on component lifecycle, settings updates, and NgZone, which controls change detection. It also covers standalone examples, global configuration, and the build and test workflow.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Fix settings updates in the Angular wrapper
  • Review change detection around grid operations
  • Update examples to standalone components
handsontable/handsontable2.2만2026년 10월 19일 업데이트

Open local or public web pages in BrowserStack Live for checks on real mobile devices or desktop browsers. The skill prepares temporary access to a local server, launches the requested session, and shares its dashboard link.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check a local page on an Android device
  • Open a page in Safari on an iPhone or iPad
  • Inspect behavior in a specific desktop browser
handsontable/handsontable2.2만2026년 10월 19일 업데이트

Prepare user-facing changelog entries for source code changes. The skill determines whether an entry is needed, classifies the change, writes a clear title, and uses the project CLI to create a JSON file tied to the pull request.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Add a changelog entry for a bug fix
  • Classify a new feature or behavior change
  • Explain a breaking change and its replacement
handsontable/handsontable2.2만2026년 10월 19일 업데이트

Explore relationships between functions and files using a prebuilt code graph, a map of code dependencies. Trace bugs, inspect callers and execution paths, and assess the impact of refactoring or proposed changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Explore callers and dependencies in unfamiliar code
  • Trace a bug across multiple files
  • Assess the impact of renaming or removing code
handsontable/handsontable2.2만2026년 10월 19일 업데이트

Work with Handsontable row and column positions by distinguishing source data, displayed order, and rendered cells. It guides index conversion and helps investigate misplaced data when sorting, filtering, hiding, or moving rows and columns.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Investigating misplaced rows or columns
  • Converting between source and displayed indexes
  • Combining filters with manual column movement
handsontable/handsontable2.2만2026년 10월 19일 업데이트

Create Handsontable documentation examples for JavaScript, TypeScript, React, Angular, and Vue. The skill explains source files, generated JavaScript, required imports and license settings, embedding examples in guides, and checking that each framework version displays correctly.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding a code example to a feature guide
  • Preparing examples for multiple frameworks
  • Generating JavaScript examples from TypeScript
handsontable/handsontable2.2만2026년 10월 19일 업데이트

handsontable의 스킬 모두 보기

이 스킬의 문제 신고