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

MCLOUD-6394: Help with running MFTF test generation commands #7995

Merged
merged 5 commits into from
Oct 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/cloud/docker/docker-containers-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,14 @@ docker-compose run --rm redis redis-cli -h redis

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).

## Test container

**Container name**: test<br/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<br/> is not needed on these lines (187 - 189)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All other containers description has <br>, without <br> text will be in one line.

**Docker base image**: [magento/magento-cloud-docker-php][php-cloud], which is based on the [php](https://hub.docker.com/_/php) Docker image<br/>
**Ports exposed**: None<br/>

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).

## TLS container

**Container name**: tls<br/>
Expand Down
4 changes: 3 additions & 1 deletion src/cloud/docker/docker-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The following table shows the options to customize service container configurati
| [rabbitmq][rabbitmq-container]| RabbitMQ | `--rmq` | 3.5, 3.7, 3.8 |
| [redis][redis-container] | Redis | `--redis` | 3.2, 4.0, 5.0 | Standard redis container
| [selenium][selenium-container]| Selenium | `--with-selenium`<br>`--selenium-version`<br>`--selenium-image`| Any | Enables Magento application testing using the Magento Functional Testing Framework (MFTF)
| [test][test-container]| PHP CLI | `--with-test`| Any | Container with a writable file system for running tests
| [tls][tls-container] | SSL Endpoint | | | Terminates SSL, can be configured to pass to varnish or nginx
| [varnish][varnish-container] | Varnish | `--no-varnish` | 4, 6.2 | Varnish is provisioned by default. Use the `--no-varnish` option to skip Varnish service installation
| [web][web-container] | NGINX | `--nginx` | 1.9, latest |
Expand Down Expand Up @@ -157,6 +158,7 @@ Now you can see all requests that are passing through the TLS container and chec
[fpm-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#fpm-container
[redis-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#redis-container
[selenium-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#selenium-container
[test-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#test-container
[tls-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#tls-container
[varnish-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#varnish-container
[web-container]: {{site.baseurl}}/cloud/docker/docker-containers-service.html#web-container
Expand All @@ -171,4 +173,4 @@ Now you can see all requests that are passing through the TLS container and chec
<style>
table.docker-service-versions-table td:nth-child(3) {
width: 200px;
}
}
2 changes: 1 addition & 1 deletion src/cloud/docker/docker-test-app-mftf.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ To set up and run MFTF tests in a Cloud Docker environment:
1. Generate the `docker-compose.yml` file.

```bash
./vendor/bin/ece-docker build:compose --with-selenium
./vendor/bin/ece-docker build:compose --with-selenium --with-test
```

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