From 84cddccb72af3f037a2da581d4057a5491f778b1 Mon Sep 17 00:00:00 2001
From: Daniel Speicher <daniel.speicher@lakedrops.com>
Date: Wed, 12 Jun 2024 17:15:41 +0200
Subject: [PATCH] Add Cypress to docker/l3d#85

---
 docs/docker/cypress/index.md                  | 26 +++++++++++++++++++
 docs/docker/index.md                          |  7 ++++-
 .../screenshots/cypress_start_screen.png      |  3 +++
 mkdocs.yml                                    |  2 ++
 4 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 docs/docker/cypress/index.md
 create mode 100644 docs/files/screenshots/cypress_start_screen.png

diff --git a/docs/docker/cypress/index.md b/docs/docker/cypress/index.md
new file mode 100644
index 0000000..2a98bba
--- /dev/null
+++ b/docs/docker/cypress/index.md
@@ -0,0 +1,26 @@
+---
+title: Docker Cypress
+repo: https://gitlab.lakedrops.com/docker/cypress
+issues: https://gitlab.lakedrops.com/docker/cypress/-/issues
+tags:
+- docker
+- cypress
+- tests
+---
+# Cypress
+
+ This Docker project contains the testing tool [Cypress](https://cypress.io/). 
+ You will find the official documentation [here](https://docs.cypress.io/guides/overview/why-cypress).
+We recommend using [Docker for Drupal](omposer/plugin/d4d/) to install cypress, so you will benefit form the great
+and easy Drupal integration. You also get the corresponding [Ahoy](composer/plugin/ahoy/) commands out of the box.
+Make sure the Docker container inside [l3D](docker/l3d/) for Drupal are running, and you can start Cypress by
+
+```cypress
+a cypress on
+```
+
+The container starts, and you will see the Cypress UI in a few seconds:
+
+![Screenshot](/files/screenshots/cypress_start_screen.png)
+
+
diff --git a/docs/docker/index.md b/docs/docker/index.md
index 1d35899..922c22f 100644
--- a/docs/docker/index.md
+++ b/docs/docker/index.md
@@ -5,4 +5,9 @@ tags:
 ---
 # Docker
 
-For full documentation visit [mkdocs.org](https://mkdocs.org).
+LakeDrops provides several very useful Docker projects you can install. In all projects we have a `Dockerfile`,
+you can execute out of the box.
+
+## Requirements
+
+Of course, you have to install [Docker](https://docs.docker.com/get-docker/) on your machine. That is all you need.
diff --git a/docs/files/screenshots/cypress_start_screen.png b/docs/files/screenshots/cypress_start_screen.png
new file mode 100644
index 0000000..e4a3c54
--- /dev/null
+++ b/docs/files/screenshots/cypress_start_screen.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff3771f0db78c4902fd0d590ce4285e4a2ebb36bd48631099e96d8bea45a158f
+size 67522
diff --git a/mkdocs.yml b/mkdocs.yml
index b1b2f2d..ca5dff2 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -88,6 +88,8 @@ nav:
           - docker/alerta-proxy/index.md
       - Ansible:
           - docker/ansible/index.md
+      - Cypress:
+          - docker/cypress/index.md
       - GitLab Drupal CI:
           - docker/gitlab-drupal-ci/index.md
           - Changelog: docker/gitlab-drupal-ci/changelog.md
-- 
GitLab