-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from woocommerce/24-10/env-vars
Custom Tests: Allow to pass env vars
- Loading branch information
Showing
33 changed files
with
518 additions
and
360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 2 additions & 7 deletions
9
_tests/custom_tests/tests/__snapshots__/EnvTest__test_env_up__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
Setting up Docker... | ||
Setting up WordPress... | ||
Starting Docker Environment... | ||
Installing WordPress... | ||
Activating plugins... | ||
|
||
[OK] Temporary test environment created. (ENV_ID) | ||
|
||
* URL: http://localhost:PORT | ||
* Admin URL: http://localhost:PORT/wp-admin | ||
* Admin Credentials: admin/password | ||
* PHP Version: 7.4 | ||
* WordPress Version: NORMALIZED | ||
* Redis Object Cache? No | ||
* Path: QIT_HOME/temporary-envs/e2e-ENV_ID/ | ||
|
||
To see additional info, run with the "--verbose" flag. | ||
|
||
http://localhost:PORT | ||
|
1 change: 0 additions & 1 deletion
1
...stom_tests/tests/__snapshots__/EnvTest__test_env_up_with_additional_php_extensions__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
gd | ||
|
2 changes: 0 additions & 2 deletions
2
_tests/custom_tests/tests/__snapshots__/EnvTest__test_env_up_with_additional_themes__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
Field Value | ||
name Storefront | ||
status inactive | ||
|
||
Field Value | ||
name Twenty Seventeen | ||
status inactive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,3 @@ author | |
version 1.0 | ||
description A temporary plugin for testing. | ||
status active | ||
|
1 change: 0 additions & 1 deletion
1
...s/custom_tests/tests/__snapshots__/EnvTest__test_env_up_woocommerce_stable_version__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
Success: Plugin already updated. | ||
|
1 change: 0 additions & 1 deletion
1
...s/__snapshots__/EnvTest__test_env_up_woocommerce_stable_version_alternative_syntax__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
Success: Plugin already updated. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...m_tests/tests/__snapshots__/RunE2ETest__test_cannot_use_woo_and_plugin_woocommerce__1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
Both "--woo" and "--plugin woocommerce" cannot be used at the same time. Please use one or another when running the test. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.