test: basic render testing on react versions

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend, testing

Research direction

Inspect the two example pages referenced by pull request #20 and determine how each page can be visited under the React 18 and React 19 setups. Add basic render checks that assert GrapesJS appears on both pages, without testing functionality; done means both examples pass those checks for both supported React versions.

Written by the indexing model from the issue text.

Description

Given we have dual react 18 & 19 support and two examples(https://github.com/GrapesJS/react/pull/20), it would be worth adding a basic test that visits each example page, and asserts that grapesjs is rendered on the page. The goal would not be to test functionality but to assert that it is rendered and that's enough.

Dominant language
TypeScript
Stars
183
Forks
45
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GrapesJS/react

All issues in GrapesJS/react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.