|
16 | 16 | * Verify that Merchant can configure secure URLs for Storefront and/or Admin panel in order to improve Store security.
|
17 | 17 | *
|
18 | 18 | * Preconditions:
|
19 |
| - * # SSL on server is configured. |
20 |
| - * # Secure URLs are disabled for Storefront & Admin (out-of-the-box Magento state). |
| 19 | + * 1. SSL on server is configured. |
| 20 | + * 2. Secure URLs are disabled for Storefront & Admin (out-of-the-box Magento state). |
21 | 21 | *
|
22 | 22 | * Steps:
|
23 |
| - * # Log in to Admin panel. |
24 |
| - * # Go to "Stores > Configuration" page. |
25 |
| - * # Select needed scope. |
26 |
| - * # Go to "General > Web > Base URLs (Secure)" section. |
27 |
| - * # Specify Base URL with Secure protocol in the same format as a Secure Base URL. |
| 23 | + * 1. Log in to Admin panel. |
| 24 | + * 2. Go to "Stores > Configuration" page. |
| 25 | + * 3. Select needed scope. |
| 26 | + * 4. Go to "General > Web > Base URLs (Secure)" section. |
| 27 | + * 5. Specify Base URL with Secure protocol in the same format as a Secure Base URL. |
28 | 28 | * (i) Make sure that Secure Base URL ends with a "/".
|
29 |
| - * # Enable Secure URLs for Storefront if there is a need. |
30 |
| - * # Enable Secure URLs for Admin if there is a need. |
31 |
| - * # Save the Config & refresh invalidated caches (Configuration, Page Cache). |
32 |
| - * # Deploy static view files. |
| 29 | + * 6. Enable Secure URLs for Storefront if there is a need. |
| 30 | + * 7. Enable Secure URLs for Admin if there is a need. |
| 31 | + * 8. Save the Config & refresh invalidated caches (Configuration, Page Cache). |
| 32 | + * 9. Deploy static view files. |
33 | 33 | *
|
34 |
| - * # If Secure URLs for Storefront were enabled: |
35 |
| - * # Assert that https is used all over the Storefront. |
36 |
| - * # Assert that static content is deployed validly (ex: JS functionality works on Storefront). |
37 |
| - * # Assert that Customer is redirected to https if trying to access the page directly via http. |
38 |
| - * # If secure URLs for Storefront were disabled: |
39 |
| - * # Assert that http is used all over the Storefront. |
40 |
| - * # Assert that static content is deployed validly (ex: JS functionality works on Storefront). |
| 34 | + * 10. If Secure URLs for Storefront were enabled: |
| 35 | + * 1. Assert that https is used all over the Storefront. |
| 36 | + * 2. Assert that static content is deployed validly (ex: JS functionality works on Storefront). |
| 37 | + * 3. Assert that Customer is redirected to https if trying to access the page directly via http. |
| 38 | + * 11. If secure URLs for Storefront were disabled: |
| 39 | + * 1. Assert that http is used all over the Storefront. |
| 40 | + * 2. Assert that static content is deployed validly (ex: JS functionality works on Storefront). |
41 | 41 | *
|
42 |
| - * # If secure URLs for Admin were enabled: |
43 |
| - * # Assert that https is used all over the Admin panel. |
44 |
| - * # Assert that static content is deployed validly (ex: JS functionality works in Admin panel). |
45 |
| - * # Assert that Merchant is redirected to https if trying to access the page directly via http. |
46 |
| - * # If secure URLs for Admin were disabled: |
47 |
| - * # Assert that http is used all over the Admin panel. |
48 |
| - * # Assert that static content is deployed validly (ex: JS functionality works in Admin panel). |
49 |
| - * # Assert that Merchant is redirected to http if trying to access the page directly via https. |
| 42 | + * 12. If secure URLs for Admin were enabled: |
| 43 | + * 1. Assert that https is used all over the Admin panel. |
| 44 | + * 2. Assert that static content is deployed validly (ex: JS functionality works in Admin panel). |
| 45 | + * 3. Assert that Merchant is redirected to https if trying to access the page directly via http. |
| 46 | + * 13. If secure URLs for Admin were disabled: |
| 47 | + * 1. Assert that http is used all over the Admin panel. |
| 48 | + * 2. Assert that static content is deployed validly (ex: JS functionality works in Admin panel). |
| 49 | + * 3. Assert that Merchant is redirected to http if trying to access the page directly via https. |
50 | 50 | *
|
51 | 51 | * Postconditions:
|
52 |
| - * # Turn the Secure URLs usage off (with further cache refreshing & static content deploying). |
| 52 | + * 1. Turn the Secure URLs usage off (with further cache refreshing & static content deploying). |
53 | 53 | *
|
54 | 54 | * @ZephyrId MAGETWO-35408
|
55 | 55 | */
|
@@ -112,8 +112,8 @@ public function __inject(
|
112 | 112 | /**
|
113 | 113 | * Test execution.
|
114 | 114 | *
|
115 |
| - * @param $configData |
116 |
| - * @return $this |
| 115 | + * @param string $configData |
| 116 | + * @return void |
117 | 117 | */
|
118 | 118 | public function test($configData)
|
119 | 119 | {
|
|
0 commit comments