Merge pull request #30741 from woocommerce/e2e/init-permalinks

initialize index permalinks before e2e tests
This commit is contained in:
Greg 2021-09-20 14:59:19 -06:00 committed by GitHub
commit 54d134eb07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,9 @@ wp plugin install https://github.com/WP-API/Basic-Auth/archive/master.zip --acti
# install the WP Mail Logging plugin to test emails
wp plugin install wp-mail-logging --activate
# initialize pretty permalinks
wp rewrite structure /%postname%/
echo "Updating to WordPress Nightly Point Release"
wp core update https://wordpress.org/nightly-builds/wordpress-latest.zip

View File

@ -16,3 +16,6 @@ wp plugin install https://github.com/WP-API/Basic-Auth/archive/master.zip --acti
# install the WP Mail Logging plugin to test emails
wp plugin install wp-mail-logging --activate
# initialize pretty permalinks
wp rewrite structure /%postname%/