Log from .logTestingPlaygroundURL is to big and not working
@kito-arch y travaille déjà.
Depuis le 25/1/2025.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- javascript, react
- Domaine
- testing
Piste de recherche
Commencez par reproduire le problème avec screen.logTestingPlaygroundURL() sur un composant React volumineux, en comparant la taille des URL générées au cours de plusieurs exécutions de test. Cherchez pourquoi le playground reste parfois vide, et considérez le problème comme terminé lorsque la sortie d’un composant volumineux produit systématiquement une URL de playground utilisable.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Hello everybody.
When using
screen.logTestingPlaygroundURL()
Sometimes the generated URL is to big and when you paste it in the browser. the playground just stays empty, I found it to be random aswell, sometimes the same component generates a really big URL, and other times a smaller one, wich works, but it's kinda luck related on that one, sometimes i have to re-run my test for 5 to 10 times to get a URL that works.
I use this feature for making easier to find elements on the screen that will be used on my test, and the best queries to get to them, since the playground is great for that.
My component for the related test that this issue occurs is quite big, maybe thats the problem?
Any idea on how to make it work on bigger components, or should i try a diferent aproach?
Thanks!
- Langage dominant
- JavaScript
- Étoiles
- 19.7k
- Forks
- 1.2k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de testing-library/react-testing-library
-
fireEvent.select does not wrap its automatic native focus in actPeut-être pris @sergioperezcheco l’a pris il y a 13 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
bug: calling configure() without reactStrictMode resets it to undefined, silently disabling strict modePeut-être à nouveau libre @suhailopensource l’a pris il y a 83 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
testing-library/react-testing-library#1466 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
testing-library/react-testing-library#1459 · 2 commentaires ·
-
perf: optimize container lookup with early exitPeut-être à nouveau libre @Ch-Abhinav-Chowdary l’a pris il y a 309 jours, et aucune pull request n’est ouverte. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 35/100
testing-library/react-testing-library#1430 · 1 commentaire ·
-
`fireEvent.mouseEnter` does not forward `relatedTarget` (relatedTarget is the window instead)Peut-être pris @swarnim02 l’a pris il y a 327 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
Toutes les issues de testing-library/react-testing-library
Issues similaires
-
fix(套件): test_bundle 往仓库的 preset/skills 写哨兵,并发跑的 test_installer 拷贝时撞 ENOENT(CI 红)Peut-être pris @Miaotofu01 l’a pris aujourd’hui. Ouverteneeds-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Miaotofu01/Study-Mate#216 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
-
beginner-friendly category:fixtures community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Berserk-hub150/skillhawk#229 · 1 commentaire ·
Les mainteneurs répondent en général sous 8 jours
-
WlanConfUpdateSensor falsely reports wifi interface appearing when sysfs inode cache is reclaimedOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
firewalla/firerouter#2180 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
andromarces/agent-loops#976 ·
Les mainteneurs répondent en général sous 1 jour