Skip to content

Commit

Permalink
Merge pull request #98 from newfold-labs/release/1.0.2
Browse files Browse the repository at this point in the history
Release/1.0.2
  • Loading branch information
circlecube authored Jun 28, 2023
2 parents 9601e56 + 5898961 commit 8bfbb7a
Show file tree
Hide file tree
Showing 12 changed files with 3,569 additions and 11,031 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
types: [ opened, edited, reopened, ready_for_review, synchronize ]
branches:
- 'master'
- 'main'
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
run: npx cypress run

- name: Run Cypress Tests
uses: replayio/action-cypress@v0.2.8
uses: replayio/action-cypress@v0.3.0
env:
RECORD_REPLAY_METADATA_TEST_RUN_TITLE: "crazy-domains, php-${{ matrix.phpVersion }}, wp-${{ matrix.wpVersion }}"
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,22 @@ jobs:
- name: Install WordPress
run: npx @wordpress/env@latest start

- name: Run Cypress Tests
run: npm run test:e2e
- name: Run Basic Cypress Tests
env:
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
if: ${{ github.repository != 'newfold-labs/wp-plugin-crazy-domains' || env.RECORD_REPLAY_API_KEY == '' }}
run: npx cypress run

- name: Run Advanced Cypress Tests
uses: replayio/action-cypress@v0.3.0
env:
RECORD_REPLAY_API_KEY: ${{ secrets.RECORD_REPLAY_API_KEY }}
if: ${{ github.repository == 'newfold-labs/wp-plugin-crazy-domains' && env.RECORD_REPLAY_API_KEY != '' }}
with:
api-key: ${{ secrets.RECORD_REPLAY_API_KEY }}
browser: 'replay-chromium'
command: npm run test:e2e -- --record --key ${{ secrets.CYPRESS_RECORD_KEY }} --tag crazy-domains
upload-all: false

- name: Store screenshots of test failures
if: ${{ failure() }}
Expand Down
4 changes: 2 additions & 2 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"core": "WordPress/WordPress#tags/6.2",
"core": "WordPress/WordPress#tags/6.2.2",
"config": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true,
Expand All @@ -15,8 +15,8 @@
"env": {
"tests": {
"config": {
"WP_SITEURL": "localhost:8885",
"WP_TESTS_DOMAIN": "localhost:8885",
"WP_TESTS_EMAIL": "evanrm@gmail.com",
"WP_TESTS_TITLE": "Crazy Domains WordPress Plugin",
"WP_TESTS_BINARY": "php"
}
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
"doctrine/inflector": "1.2.0 as 1.3.1",
"newfold-labs/wp-module-coming-soon": "^1.1.3",
"newfold-labs/wp-module-data": "^2.3.4",
"newfold-labs/wp-module-ecommerce": "0.9.1",
"newfold-labs/wp-module-ecommerce": "1.0.6",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^1.5.0",
"newfold-labs/wp-module-marketplace": "^1.5.1",
"newfold-labs/wp-module-notifications": "^1.1.2",
"newfold-labs/wp-module-onboarding": "^1.6.0",
"newfold-labs/wp-module-performance": "^1.0.1",
"newfold-labs/wp-module-onboarding": "^1.8.2",
"newfold-labs/wp-module-performance": "^1.1.1",
"newfold-labs/wp-module-secure-passwords": "^1.1",
"newfold-labs/wp-module-sso": "^1.0.3",
"newfold-labs/wp-module-sso": "^1.0.4",
"wp-forge/wp-update-handler": "^1.0",
"wp-forge/wp-upgrade-handler": "^1.0"
},
Expand Down
132 changes: 38 additions & 94 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const {phpVersion, core} = require('./.wp-env.json')
const wpVersion = /[^/]*$/.exec(core)[0]

module.exports = defineConfig({
projectId: "bqvwhq",
env: {
wpUsername: 'admin',
wpPassword: 'password',
Expand All @@ -13,7 +14,7 @@ module.exports = defineConfig({
downloadsFolder: 'tests/cypress/downloads',
fixturesFolder: 'tests/cypress/fixtures',
screenshotsFolder: 'tests/cypress/screenshots',
video: false,
video: true,
videosFolder: 'tests/cypress/videos',
videoUploadOnPasses: false,
chromeWebSecurity: false,
Expand Down
2 changes: 1 addition & 1 deletion inc/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public static function actions( $actions ) {
* @return string
*/
public static function add_brand_to_admin_footer( $footer_text ) {
$footer_text = \sprintf( \__( 'Thank you for creating with <a href="https://wordpress.org/">WordPress</a> and <a href="https://crazydomains.com/about-us">Crazy Domains</a>.', 'wp-plugin-crazy-domains' ) );
$footer_text = \sprintf( \__( 'Thank you for creating with <a href="https://wordpress.org/">WordPress</a> and <a href="https://crazydomains.com/about">Crazy Domains</a>.', 'wp-plugin-crazy-domains' ) );
return $footer_text;
}
} // END \CrazyDomains\Admin
2 changes: 1 addition & 1 deletion languages/wp-plugin-crazy-domains.pot
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ msgid "Please update now"
msgstr ""

#: inc/Admin.php:187
msgid "Thank you for creating with <a href=\"https://wordpress.org/\">WordPress</a> and <a href=\"https://crazydomains.com/about-us\">Crazy Domains</a>."
msgid "Thank you for creating with <a href=\"https://wordpress.org/\">WordPress</a> and <a href=\"https://crazydomains.com/about\">Crazy Domains</a>."
msgstr ""

#: inc/AdminBar.php:35
Expand Down
Loading

0 comments on commit 8bfbb7a

Please sign in to comment.