-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into experiment/calendar-optimization
- Loading branch information
Showing
21 changed files
with
690 additions
and
490 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
{ | ||
"phpVersion": "7.4", | ||
"core": "Wordpress/Wordpress#6.5", | ||
"plugins": [ | ||
".", | ||
"https://downloads.wordpress.org/plugin/wp-crontrol.zip", | ||
"https://downloads.wordpress.org/plugin/wordpress-importer.zip", | ||
"https://downloads.wordpress.org/plugin/query-monitor.zip", | ||
"https://downloads.wordpress.org/plugin/wp-mail-logging.zip", | ||
"https://downloads.wordpress.org/plugin/jsm-show-post-meta.zip", | ||
"https://downloads.wordpress.org/plugin/disable-welcome-messages-and-tips.zip" | ||
], | ||
"port": 1000, | ||
"testsPort": 1001, | ||
"config": { | ||
"WP_DEBUG": true, | ||
"WP_DEBUG_LOG": true, | ||
"WP_DEBUG_DISPLAY": false | ||
}, | ||
"themes": [ | ||
"flegfleg/kasimir-theme" | ||
], | ||
"env": { | ||
"tests": { | ||
"mappings": { | ||
"wp-content/plugins/commonsbooking": "." | ||
} | ||
} | ||
} | ||
"phpVersion" : "7.4", | ||
"core" : "Wordpress/Wordpress#6.5", | ||
"plugins" : [ | ||
".", | ||
"https://downloads.wordpress.org/plugin/wp-crontrol.zip", | ||
"https://downloads.wordpress.org/plugin/wordpress-importer.zip", | ||
"https://downloads.wordpress.org/plugin/query-monitor.zip", | ||
"https://downloads.wordpress.org/plugin/wp-mail-logging.zip", | ||
"https://downloads.wordpress.org/plugin/jsm-show-post-meta.zip", | ||
"https://downloads.wordpress.org/plugin/disable-welcome-messages-and-tips.zip" | ||
], | ||
"port" : 1000, | ||
"testsPort" : 1001, | ||
"config" : { | ||
"WP_DEBUG" : true, | ||
"WP_DEBUG_LOG" : true, | ||
"WP_DEBUG_DISPLAY" : false | ||
}, | ||
"themes" : [ | ||
"flegfleg/kasimir-theme" | ||
], | ||
"env" : { | ||
"tests" : { | ||
"mappings" : { | ||
"wp-content/plugins/commonsbooking" : "." | ||
}, | ||
"config" : { | ||
"WP_DEBUG" : true, | ||
"WP_DEBUG_LOG" : true, | ||
"WP_DEBUG_DISPLAY" : false | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,15 +1,8 @@ | ||
# setup-cypress-env.sh | ||
# Felipe Elia <[email protected]> and 10up contributors | ||
# | ||
# The following code is a derivative work of the code from the ElasticPress project, | ||
# which is licensed GPLv2. This code therefore is also licensed under the terms | ||
# of the GNU Public License, version 2.' | ||
|
||
#!/bin/bash | ||
|
||
# Install our example posts from a WP export file | ||
./bin/wp-env-cli tests-wordpress "wp --allow-root import /var/www/html/wp-content/plugins/commonsbooking/tests/cypress/wordpress-files/content-example.xml --authors=create" | ||
wp-env run tests-cli wp import /var/www/html/wp-content/plugins/commonsbooking/tests/cypress/wordpress-files/content-example.xml --authors=create | ||
# Switch to Kasimir theme | ||
./bin/wp-env-cli tests-wordpress "wp --allow-root theme activate kasimir-theme" | ||
wp-env run tests-cli wp theme activate kasimir-theme | ||
# Create subscriber with username "subscriber" and password "password" | ||
./bin/wp-env-cli tests-wordpress "wp --allow-root user create subscriber [email protected] --role=subscriber --user_pass=password" | ||
wp-env run tests-cli wp user create subscriber [email protected] --role=subscriber --user_pass=password |
This file was deleted.
Oops, something went wrong.
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.