You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/best-practices.md
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,9 @@ We recommend to keep Action Groups having single responsibility, for example `Ad
37
37
38
38
## Contribute
39
39
40
-
Althought the Magento Core team and Contributors join forces to cover most of the features with tests, it is impossible to have this done quickly.
40
+
Although the Magento Core team and Contributors join forces to cover most of the features with tests, it is impossible to have this done quickly.
41
41
If you've covered Magento Core feature with Functional Tests - you are more than welcome to contribute.
42
42
43
-
You can also help with MFTF Test Migration to get the experience and valuable feedback from other community members and maintainers.
44
-
45
43
## Action group
46
44
47
45
1.[Action group] names should be sufficiently descriptive to inform a test writer of what the action group does and when it should be used. Add additional explanation in annotations if needed.
Format: {_Admin_ or _Storefront_}{Action Group Summary}ActionGroup.xml`, where Action Group Summary describes with a few words what we can expect from it.
109
+
Format: {_Admin_ or _Storefront_}{Action Group Summary}ActionGroup.xml`, where Action Group Summary is a short description of what the action group does.
112
110
113
111
Example: _AdminCreateStoreActionGroup.xml_
114
112
@@ -217,4 +215,3 @@ Since the configurable product module could be disabled, this approach is more r
This command cleans up the previously generated tests; generates and runs the `LoginAsAdminTest` and `LoginAsCustomerTest` tests.
65
+
This command cleans up the previously generated tests; generates and runs the `AdminLoginSuccessfulTest` and `StorefrontPersistedCustomerLoginTest` tests.
66
66
67
67
### Generate and run particular test in a specific suite's context
Depending on the environment you use, you may need to configure the MFTF more precisely by setting more configuration parameters then for basic configuration.
67
+
Depending on the environment you use, you may need to configure MFTF more precisely by setting additional configuration parameters.
68
68
This section describes available configuration parameters and their default values (where applicable).
Copy file name to clipboardExpand all lines: docs/credentials.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -3,20 +3,20 @@
3
3
When you test functionality that involves external services such as UPS, FedEx, PayPal, or SignifyD,
4
4
use the MFTF credentials feature to hide sensitive [data][] like integration tokens and API keys.
5
5
6
-
Currently the MFTF supports three types of credential storage:
6
+
Currently MFTF supports three types of credential storage:
7
7
8
8
-**.credentials file**
9
9
-**HashiCorp Vault**
10
10
-**AWS Secrets Manager**
11
11
12
12
## Configure File Storage
13
13
14
-
The MFTF creates a sample file for credentials during [initial setup][]: `magento2/dev/tests/acceptance/.credentials.example`.
14
+
MFTF creates a sample file for credentials during [initial setup][]: `magento2/dev/tests/acceptance/.credentials.example`.
15
15
The file contains an example list of keys for fields that can require credentials.
16
16
17
17
### Create `.credentials`
18
18
19
-
To make the MFTF process the file with credentials, in the command line, navigate to `magento2/dev/tests/acceptance/` and rename `.credentials.example` to `.credentials`.
19
+
To make MFTF process the file with credentials, in the command line, navigate to `magento2/dev/tests/acceptance/` and rename `.credentials.example` to `.credentials`.
Hashicorp vault secures, stores, and tightly controls access to data in modern computing.
79
79
It provides advanced data protection for your testing credentials.
80
80
81
-
The MFTF works with both `vault enterprise` and `vault open source` that use `KV Version 2` secret engine.
81
+
MFTF works with both `vault enterprise` and `vault open source` that use `KV Version 2` secret engine.
82
82
83
83
### Install vault CLI
84
84
@@ -92,11 +92,11 @@ Authenticate to vault server via the vault CLI tool: [Login Vault][Login Vault].
92
92
vault login -method -path
93
93
```
94
94
95
-
**Do not** use `-no-store` command option, as the MFTF will rely on the persisted token in the token helper (usually the local filesystem) for future API requests.
95
+
**Do not** use `-no-store` command option, as MFTF will rely on the persisted token in the token helper (usually the local filesystem) for future API requests.
96
96
97
97
### Store secrets in vault
98
98
99
-
The MFTF uses the `KV Version 2` secret engine for secret storage.
99
+
MFTF uses the `KV Version 2` secret engine for secret storage.
100
100
More information for working with `KV Version 2` can be found in [Vault KV2][Vault KV2].
0 commit comments