Cypress infra and additional dependencies are isolated in docker image

Aperta
#1,729 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cypress, docker, github-actions, php
Ambito
ci-cd, devops, testing

Direzione di ricerca

Esamina package.json, l’immagine cypress-included esistente, basecontainers e il test-integration GHA workflow. Determina quali dipendenze di Cypress, Axe, del browser e dell’infrastruttura devono essere isolate. Il lavoro è completato quando i test di accessibilità di Cypress vengono eseguiti nel proprio container o workflow senza entrare in conflitto con le dipendenze di build del container PHP.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

CI/CD needs-discussion tests

This issue is imported from pivotal - Originaly created at Aug 30, 2023 by Michiel Kodde

The cypresss tests are a valuable asset. They verify the a11y principles in our themes.

They however are rather fragile. And often stop working, or start to conflict with other build related packages found in our package.json

Given the e2e nature of the Cypress suite. It is a logical solution to isolate it into a container of it's own. Leaving the PHP container to be focussed on the EB application and not worry itself with Cypress and it's peers.

Proposal:

The existing cypress-included image should be extended into an image of our own (in basecontainers?) That image should have:

Cypress
Axe (for ally testing)
The test browser (s)
The other infra required to run them

It might be a good idea to run the cypress tests in a stage of their own. So not runnign them in the test-integration GHA, but have another e2e workflow tailormade for the cypress tests. But it might be.

Feel free to discuss

Lingua principale
PHP
Stelle
17
Fork
26
Merge medio
3g 2h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenConext/OpenConext-engineblock

Tutte le issue di OpenConext/OpenConext-engineblock

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.