Testing kit: drive a plugin's own area, editor panel and status check
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start in packages/teme-testing, where PluginUnderTest lives, and look at how the kit already exposes jobs and public routes. Core's PluginArea, EditorPanel and ChecksStatus contracts, and the AreaContext and EditorPanelContext they receive, define what the new methods must call and validate. Done means area(), panel() and statusNotices() run through core's manifest validation, permission checks and time budgets, and a refusal fails the test with its message.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Core calls a plugin's own admin area (PluginArea: figures, chart, rows, values, save, act), its editor panels (EditorPanel::view() and settled()) and its status checks (ChecksStatus) with contexts it builds (AreaContext, EditorPanelContext), under time budgets and after validating what the manifest declared.
The testing kit offers no way to call any of these as a person. A test can reach only what jobs and public routes share with them, so the plugin's screens, its form checks and its permission rules are untested through the kit, and a test that builds the contexts by hand skips what core checks.
Expected: methods on PluginUnderTest, taking the person to act as, last, like the rest of the kit. For example area()->rows('record', filters, as: $person), area()->save('record', $id, $values, as: $person), panel('id')->view($item, as: $person), and statusNotices(), running through the same validation, permission checks and budgets core applies, and failing the test with the refusal's words.
Where: packages/teme-testing.
🤖 Generated with Claude Code
- Lenguaje dominante
- PHP
- Estrellas
- 1
- Forks
- 1
- Merge medio
- 1 h 40 min
- PR fusionados (30 d)
- 143
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de temecms/teme
-
area/admin type/enhancement when/soon
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
area/media type/enhancement when/soon
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
area/admin type/bug when/soon
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
area/import type/documentation when/soon
Dificultad 2/5 Medio día Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
area/admin area/import type/bug when/later
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de temecms/teme
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
2DAW-CarlosIII/eportfolio_g1#34 ·
Los mantenedores suelen responder en 2 días
-
P2 Team S Type: Infrastructure
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
google/site-kit-wp#14271 ·
Los mantenedores suelen responder en 2 días
-
Display price Views field throws TypeError when the row has no productPosiblemente ocupada @albanycomputers la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
backdrop-contrib/ubercart#610 ·