Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 842dad4

Browse files
oshmyheliukBarny Shergoldmeker12
authored
MCLOUD-6394: Help with running MFTF test generation commands (#7995)
* MCLOUD-6394: Help with running MFTF test generation commands * Added `--with-test` option to `build:compose` option list * Update src/cloud/docker/docker-containers.md - Added test container * Update src/cloud/docker/docker-containers-service.md Added `--with-test` option to `build:compose` option list Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Margaret Eker <[email protected]>
1 parent 7f8ebe1 commit 842dad4

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

src/cloud/docker/docker-containers-service.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,14 @@ docker-compose run --rm redis redis-cli -h redis
182182

183183
The Selenium container, based on the [selenium/standalone-chrome/](https://hub.docker.com/r/selenium/standalone-chrome/h), enables the [Magento Functional Testing Framework (MFTF)](https://devdocs.magento.com/mftf/docs/introduction.html) for Magento application testing in the Cloud Docker environment. See [Magento application testing]({{site.baseurl}}/cloud/docker/docker-test-app-mftf.html).
184184

185+
## Test container
186+
187+
**Container name**: test<br/>
188+
**Docker base image**: [magento/magento-cloud-docker-php][php-cloud], which is based on the [php](https://hub.docker.com/_/php) Docker image<br/>
189+
**Ports exposed**: None<br/>
190+
191+
The Test container, based on the [magento/magento-cloud-docker-php][php-cloud] Docker image has a writable file system and is used for Magento application testing in the Cloud Docker environment. See [Magento application testing]({{site.baseurl}}/cloud/docker/docker-test-app-mftf.html).
192+
185193
## TLS container
186194

187195
**Container name**: tls<br/>

src/cloud/docker/docker-containers.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ The following table shows the options to customize service container configurati
4949
| [rabbitmq][rabbitmq-container]| RabbitMQ | `--rmq` | 3.5, 3.7, 3.8 |
5050
| [redis][redis-container] | Redis | `--redis` | 3.2, 4.0, 5.0 | Standard redis container
5151
| [selenium][selenium-container]| Selenium | `--with-selenium`<br>`--selenium-version`<br>`--selenium-image`| Any | Enables Magento application testing using the Magento Functional Testing Framework (MFTF)
52+
| [test][test-container]| PHP CLI | `--with-test`| Any | Container with a writable file system for running tests
5253
| [tls][tls-container] | SSL Endpoint | | | Terminates SSL, can be configured to pass to varnish or nginx
5354
| [varnish][varnish-container] | Varnish | `--no-varnish` | 4, 6.2 | Varnish is provisioned by default. Use the `--no-varnish` option to skip Varnish service installation
5455
| [web][web-container] | NGINX | `--nginx` | 1.9, latest |
@@ -157,6 +158,7 @@ Now you can see all requests that are passing through the TLS container and chec
157158
[fpm-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#fpm-container
158159
[redis-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#redis-container
159160
[selenium-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#selenium-container
161+
[test-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#test-container
160162
[tls-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#tls-container
161163
[varnish-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#varnish-container
162164
[web-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#web-container
@@ -171,4 +173,4 @@ Now you can see all requests that are passing through the TLS container and chec
171173
<style>
172174
table.docker-service-versions-table td:nth-child(3) {
173175
width: 200px;
174-
}
176+
}

src/cloud/docker/docker-test-app-mftf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To set up and run MFTF tests in a Cloud Docker environment:
3636
1. Generate the `docker-compose.yml` file.
3737

3838
```bash
39-
./vendor/bin/ece-docker build:compose --with-selenium
39+
./vendor/bin/ece-docker build:compose --with-selenium --with-test
4040
```
4141

4242
1. Start the {{site.data.var.mcd-prod}} environment. Optionally, you can set up {{site.data.var.mcd-prod}} to work in [Developer Mode].

0 commit comments

Comments
 (0)