Skip to content

Commit

Permalink
Merge pull request #608 from bluehost/release/3.0.10
Browse files Browse the repository at this point in the history
Release/3.0.10
  • Loading branch information
wpscholar authored Aug 10, 2023
2 parents e6e040a + 7601321 commit d43ecea
Show file tree
Hide file tree
Showing 12 changed files with 512 additions and 598 deletions.
4 changes: 2 additions & 2 deletions bluehost-wordpress-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: The Bluehost Plugin
* Plugin URI: https://bluehost.com
* Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features.
* Version: 3.0.9
* Version: 3.0.10
* Requires at least: 6.0
* Requires PHP: 7.1
* Tested up to: 6.3
Expand All @@ -31,7 +31,7 @@
}

// Define constants
define( 'BLUEHOST_PLUGIN_VERSION', '3.0.9' );
define( 'BLUEHOST_PLUGIN_VERSION', '3.0.10' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
"newfold-labs/wp-module-customer-bluehost": "^1.6.0",
"newfold-labs/wp-module-data": "^2.4.3",
"newfold-labs/wp-module-ecommerce": "^1.1.1",
"newfold-labs/wp-module-help-center": "^1.0.11",
"newfold-labs/wp-module-help-center": "^1.0.14",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^1.5.1",
"newfold-labs/wp-module-notifications": "^1.1.2",
"newfold-labs/wp-module-onboarding": "^1.9.0",
"newfold-labs/wp-module-onboarding": "^1.10.1",
"newfold-labs/wp-module-patterns": "^0.1.1",
"newfold-labs/wp-module-performance": "^1.1.1",
"newfold-labs/wp-module-runtime": "^1.0.2",
Expand Down
291 changes: 151 additions & 140 deletions composer.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = defineConfig({
}
}
// Exclude onboarding tests for WordPress lower than 6.1
if (semver.satisfies(config.env.wpSemverVersion, '<6.1.0')) {
if (semver.satisfies(config.env.wpSemverVersion, '<6.2.0')) {
config.excludeSpecPattern = config.excludeSpecPattern.concat(
[
"tests/cypress/integration/z-newfold-labs/wp-module-onboarding/**"
Expand Down
5 changes: 5 additions & 0 deletions inc/upgrades/3.0.10.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
/**
* Reset the connection attempts counter.
**/
update_option( 'nfd_data_connection_attempts', 0 );
607 changes: 333 additions & 274 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bluehost-wordpress-plugin",
"description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.",
"license": "GPL-2.0-or-later",
"version": "3.0.9",
"version": "3.0.10",
"private": true,
"repository": {
"type": "git",
Expand All @@ -28,11 +28,11 @@
"@newfold-labs/wp-module-ecommerce": "^1.1.1",
"@newfold-labs/wp-module-runtime": "^1.0.2",
"@reduxjs/toolkit": "^1.9.5",
"@wordpress/compose": "^6.12.0",
"@wordpress/dom-ready": "^3.35.0",
"@wordpress/element": "^5.12.0",
"@wordpress/compose": "^6.16.0",
"@wordpress/dom-ready": "^3.39.0",
"@wordpress/element": "^5.16.0",
"@wordpress/i18n": "^4.35.0",
"@wordpress/icons": "^9.26.0",
"@wordpress/icons": "^9.30.0",
"@yoast/ui-library": "^3.1.0",
"classnames": "^2.3.2",
"jquery": "^3.7.0",
Expand All @@ -47,8 +47,8 @@
"@replayio/cypress": "^1.0.2",
"@tailwindcss/forms": "^0.5.3",
"@testing-library/cypress": "^9.0.0",
"@wordpress/env": "^8.4.0",
"@wordpress/scripts": "^26.6.0",
"@wordpress/env": "^8.5.0",
"@wordpress/scripts": "^26.10.0",
"@yoast/tailwindcss-preset": "^2.2.0",
"cypress": "^12.15.0",
"cypress-axe": "^1.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe( 'Top Priority Page', function () {
cy.url().should( 'include', 'step/basic-info', {
timeout: 30000,
} );
cy.wait(5000);
cy.go( 'back' );
cy.get(
'.nfd-card__body.nfd-selected-card> .nfd-card__body_title'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe( 'Step Ecommerce Products Info', function () {
it( 'Check Drawer Activity', () => {
DrawerActivityForMenu(
'Onboarding Menu',
':nth-child(3)',
':nth-child(2)',
'Product Info',
false
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ describe( 'Get Started Site Type Secondary', function () {
);
} );

it( 'Check only Business category is avaiable', () => {
cy.get('.category-scrolling-wrapper__left-btn').should('not.exist');
cy.get('.category-scrolling-wrapper__right-btn-icon').should('not.exist');
} )

it( 'Check different subCategories exist and is selectable', () => {
let categoryCount = 0;
const className = '.subCategoriesSection';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,33 @@ describe( 'Step Ecommerce Tax Information', function () {
cy.wait( 5000 );
} );

it( 'Check Drawer Activity', () => {
it.skip( 'Check Drawer Activity', () => {
DrawerActivityForMenu( 'Onboarding Menu', ':nth-child(2)', 'Tax Info', false );
} );

it( 'Check to make sure sidebar opens, content is in place and close sidebar', () => {
it.skip( 'Check to make sure sidebar opens, content is in place and close sidebar', () => {
CheckIntroPanel( '__ecommerce-tax-info', 'Tax Info' );
CheckIllustrationPanel();
CheckInfoPanel();
CheckHelpPanelLinks();
} );

it( 'Checks if Heading and Subheading are present.', () => {
it.skip( 'Checks if Heading and Subheading are present.', () => {
CheckCardHeadingSubheading();
} );

it( 'Checks if Continue Setup is disabled.', () => {
it.skip( 'Checks if Continue Setup is disabled.', () => {
cy.get( '.nfd-nav-card-button' ).should( 'be.disabled' );
} );

it( 'Checks if there are the correct number of tax preference radio controls.', () => {
it.skip( 'Checks if there are the correct number of tax preference radio controls.', () => {
cy.get( '.components-radio-control__option' ).should(
'have.length',
3
);
} );

it( 'Checks if all the tax preference radio control buttons are enabled and clickable.', () => {
it.skip( 'Checks if all the tax preference radio control buttons are enabled and clickable.', () => {
let radioCount = 0;
const className = '[type="radio"]';
const arr = cy.get( className );
Expand All @@ -56,17 +56,17 @@ describe( 'Step Ecommerce Tax Information', function () {
} );
} );

it( 'Checks existence of Need Help Tag.', () => {
it.skip( 'Checks existence of Need Help Tag.', () => {
cy.get( '.nfd-card-need-help-tag' )
.scrollIntoView()
.should( 'be.visible' );
} );

it( 'Checks existence of Need Help URL.', () => {
it.skip( 'Checks existence of Need Help URL.', () => {
cy.get( '.nfd-card-need-help-tag > a' ).should( 'have.attr', 'href' );
} );

it( 'Goes to the next step on clicking navigation Next.', () => {
it.skip( 'Goes to the next step on clicking navigation Next.', () => {
cy.get( '.navigation-buttons_next' ).click();
cy.url().should( 'not.include', '#/ecommerce/step/tax' );
cy.go( 'back' );
Expand Down

This file was deleted.

0 comments on commit d43ecea

Please sign in to comment.