Cypress infra and additional dependencies are isolated in docker image

Đang mở
#1,729 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cypress, docker, github-actions, php
Lĩnh vực
ci-cd, devops, testing

Hướng nghiên cứu

Rà soát package.json, image cypress-included hiện có, basecontainers và test-integration GHA workflow. Xác định những dependency nào của Cypress, Axe, trình duyệt và hạ tầng cần được cô lập. Công việc được xem là hoàn tất khi các bài kiểm thử khả năng truy cập của Cypress chạy trong container hoặc workflow riêng mà không xung đột với các dependency build của container PHP.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
17
Fork
26
Merge trung bình
3 ngày 2 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenConext/OpenConext-engineblock

Tất cả issue của OpenConext/OpenConext-engineblock

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.