diff --git a/classes/controllers/FrmAddonsController.php b/classes/controllers/FrmAddonsController.php index 513df262d1..b0d90d1b37 100644 --- a/classes/controllers/FrmAddonsController.php +++ b/classes/controllers/FrmAddonsController.php @@ -1411,6 +1411,7 @@ public static function show_conditional_action_button( $atts ) { public static function addon_upgrade_link( $addon, $upgrade_link ) { $atts = is_array( $upgrade_link ) ? $upgrade_link : array(); $upgrade_link = is_array( $upgrade_link ) ? $upgrade_link['link'] : $upgrade_link; + $text = ! empty( $atts['text'] ) ? $atts['text'] : __( 'Upgrade Now', 'formidable' ); if ( $addon ) { $upgrade_link .= '&utm_content=' . $addon['slug']; @@ -1427,7 +1428,7 @@ public static function addon_upgrade_link( $addon, $upgrade_link ) { } ?> - + FrmEntry::get_entries_count(), ); - $dashboard_view = new FrmDashboardHelper( + return new FrmDashboardHelper( array( 'counters' => array( 'counters' => self::view_args_counters( $latest_available_form, $counters_value ), @@ -111,6 +113,15 @@ public static function route() { 'video' => array( 'id' => self::get_youtube_embed_video( $counters_value['entries'] ) ), ) ); + } + + /** + * Init dashboard page. + * + * @return void + */ + public static function route() { + $dashboard_view = self::get_dashboard_helper(); $should_display_videos = is_callable( 'FrmProDashboardHelper::should_display_videos' ) ? FrmProDashboardHelper::should_display_videos() : true; diff --git a/classes/controllers/FrmHooksController.php b/classes/controllers/FrmHooksController.php index 9e8a4a6994..ec99052bff 100644 --- a/classes/controllers/FrmHooksController.php +++ b/classes/controllers/FrmHooksController.php @@ -162,7 +162,7 @@ public static function load_admin_hooks() { // Settings Controller. add_action( 'admin_menu', 'FrmSettingsController::menu', 45 ); add_action( 'frm_before_settings', 'FrmSettingsController::license_box' ); - add_action( 'frm_after_settings', 'FrmSettingsController::settings_cta' ); + add_action( 'frm_after_settings_tabs', 'FrmSettingsController::settings_cta' ); // Styles Controller. add_action( 'admin_menu', 'FrmStylesController::menu', 14 ); diff --git a/classes/controllers/FrmSettingsController.php b/classes/controllers/FrmSettingsController.php index 8c74af2932..ffaf29e0e1 100644 --- a/classes/controllers/FrmSettingsController.php +++ b/classes/controllers/FrmSettingsController.php @@ -330,29 +330,10 @@ public static function route( $stop_load = false ) { * @since 3.04.02 */ public static function settings_cta( $view ) { - if ( get_option( 'frm_lite_settings_upgrade', false ) ) { return; } - $features = array( - __( 'Extra form features like file uploads, pagination, etc', 'formidable' ), - __( 'Repeaters & cascading fields for advanced forms', 'formidable' ), - __( 'Flexibly view, search, edit, and delete entries anywhere', 'formidable' ), - __( 'Display entries with virtually limitless Formidable views', 'formidable' ), - __( 'Create surveys & polls', 'formidable' ), - __( 'WordPress user registration and login forms', 'formidable' ), - __( 'Create Stripe, PayPal or Authorize.net payment forms', 'formidable' ), - __( 'Powerful conditional logic for smart forms', 'formidable' ), - __( 'Integrations with 1000+ marketing & payment services', 'formidable' ), - __( 'Collect digital signatures', 'formidable' ), - __( 'Accept user-submitted content with Post submissions', 'formidable' ), - __( 'Email routing', 'formidable' ), - __( 'Create calculator forms', 'formidable' ), - __( 'Save draft entries and return later', 'formidable' ), - __( 'Analyze form data with graphs & stats', 'formidable' ), - ); - include FrmAppHelper::plugin_path() . '/classes/views/frm-settings/settings_cta.php'; } diff --git a/classes/helpers/FrmAddonsHelper.php b/classes/helpers/FrmAddonsHelper.php index 6871f3b941..6aaf5c38c5 100644 --- a/classes/helpers/FrmAddonsHelper.php +++ b/classes/helpers/FrmAddonsHelper.php @@ -53,6 +53,8 @@ public static function show_upgrade_renew_cta() { private static function show_expired_cta() { FrmTipsHelper::show_admin_cta( array( + 'class' => 'frm-gradient', + 'icon' => 'frmfont frm_speaker_icon', 'title' => esc_html__( 'Unlock Add-on library', 'formidable' ), 'description' => esc_html__( 'Renew your subscription today and access our library of add-ons to supercharge your forms.', 'formidable' ), 'link_text' => esc_html__( 'Renew Now', 'formidable' ), @@ -71,6 +73,8 @@ private static function show_expired_cta() { private static function show_lite_cta() { FrmTipsHelper::show_admin_cta( array( + 'class' => 'frm-gradient', + 'icon' => 'frmfont frm_speaker_icon', 'title' => esc_html__( 'Unlock Add-on library', 'formidable' ), 'description' => esc_html__( 'Upgrade to Pro and access our library of add-ons to supercharge your forms.', 'formidable' ), 'link_text' => esc_html__( 'Upgrade to PRO', 'formidable' ), @@ -261,4 +265,56 @@ private static function set_plan_required( $addon ) { public static function get_plan() { return self::$plan_required; } + + /** + * Shows five star rating, used on Views page if only Lite plugins are installed. + * + * @since x.x + * + * @param string $color Star color. + * @return void + */ + public static function show_five_star_rating( $color = 'black' ) { + $icon = file_get_contents( FrmAppHelper::plugin_path() . '/images/star.svg' ); + ?> + + + + + + 'frm-gradient', + 'icon' => 'frmfont frm_speaker_icon', 'title' => sprintf( /* translators: %1$s: Open span tag, %2$s: Close span tag */ - esc_html__( 'Get Super Powers with %1$s%2$s More Pre-built Forms', 'formidable' ) . ' 🦸', + esc_html__( 'Upgrade to get all %1$s%2$s templates', 'formidable' ), '', '' ), - 'description' => esc_html__( 'Unleash the potential of hundreds of additional form templates and save precious time. Upgrade today for unparalleled form-building capabilities.', 'formidable' ), - 'link_text' => esc_html__( 'Upgrade to PRO', 'formidable' ), + 'description' => esc_html__( 'Upgrade to PRO to get access to all of our templates and unlock the full potential of your forms.', 'formidable' ), + 'link_text' => esc_html__( 'Get More Templates', 'formidable' ), 'link_url' => $args['upgrade_link'], 'id' => 'frm-upgrade-banner', ) diff --git a/classes/helpers/FrmTipsHelper.php b/classes/helpers/FrmTipsHelper.php index 6f2ed7f28a..af311cd662 100644 --- a/classes/helpers/FrmTipsHelper.php +++ b/classes/helpers/FrmTipsHelper.php @@ -57,18 +57,18 @@ public static function show_tip( $tip, $html = '' ) { $link = empty( $tip['link'] ) ? $tip['page'] : FrmAppHelper::admin_upgrade_link( $tip['link'], $tip['page'] ); ?> - - 'true' ) ); ?> + class="frm_pro_tip frm-gradient"> + - class="frm-tip-cta"> + - - + +
-

- - - - +
+

+
    + +
  • + + +
  • + +
+ + + +
+ +
+
+
+
Amazing plugin, amazing support. We've been using FF since 2016. The best form plugin on WP. Its powerful and versatile with an amazing support!
+
Emmanuel Khoury
+
+ +
+
+ +
+
+
+
diff --git a/classes/views/frm-settings/form.php b/classes/views/frm-settings/form.php index d5937bd393..4caf06c533 100644 --- a/classes/views/frm-settings/form.php +++ b/classes/views/frm-settings/form.php @@ -24,42 +24,44 @@
- - - - + + + + + + + +
+

+ +

+ +
+ +
+ - - -
-

- -

- -
- -
- - -
- + if ( isset( $section['class'] ) ) { + call_user_func( array( $section['class'], $section['function'] ) ); + } elseif ( isset( $section['function'] ) ) { + call_user_func( $section['function'] ); + } + } + do_action( 'frm_' . $section['anchor'] . '_form', $frm_settings ); + ?> +
+
diff --git a/classes/views/frm-settings/settings_cta.php b/classes/views/frm-settings/settings_cta.php index 4e0ae7e918..8707ec7c20 100644 --- a/classes/views/frm-settings/settings_cta.php +++ b/classes/views/frm-settings/settings_cta.php @@ -3,40 +3,21 @@ die( 'You are not allowed to call this page directly.' ); } ?> -
-
-
+
+
+
+ + 'Dismiss' ) ); ?> + - - 'Dismiss' ) ); ?> - -
-

-

-

- -

-
-

-
    - -
  • - 'true' ) ); ?> - -
  • - -
-
- -

- - - -

-

- Bonus: Formidable Forms Lite users get 50% off regular price, automatically applied at checkout. -

-
+
+ get_bottom_widget(); + } + ?>
+
diff --git a/classes/views/shared/admin-cta.php b/classes/views/shared/admin-cta.php index bd03f5a00d..929c439d2d 100644 --- a/classes/views/shared/admin-cta.php +++ b/classes/views/shared/admin-cta.php @@ -11,9 +11,23 @@ if ( ! defined( 'ABSPATH' ) ) { die( 'You are not allowed to call this page directly.' ); } +if ( false === strpos( $attributes['class'], 'frm-gradient' ) ) { + $button_class = 'frm-button-primary'; +} else { + $button_class = 'frm-button-secondary'; +} ?>
> -
+ +
+ +
+ +

@@ -23,7 +37,7 @@

- +
diff --git a/classes/views/shared/views-info.php b/classes/views/shared/views-info.php index 6749d901ac..0ef65d8ea2 100644 --- a/classes/views/shared/views-info.php +++ b/classes/views/shared/views-info.php @@ -3,7 +3,7 @@ die( 'You are not allowed to call this page directly.' ); } ?> -
+
-
-

-

+

+

+

'views-info', 'plan' => 'view', - 'class' => 'frm-mb-md frm-button-primary', + 'class' => 'frm-mb-md frm-button-primary frm-gradient', + 'text' => __( 'Get Formidable Views', 'formidable' ), ); FrmAddonsController::conditional_action_button( 'views', $upgrade_link_args ); ?> -
- + + + +
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+

+

+ +
+
+
+
+ +
+
+
+ +
+ +
+
+
+ +
+ + 4.8 / 5 +
+ +
+ +
+
+
+ +
+
+ + +
+ + 4.8 / 5 +
+ +
+ +
+
+
+ +
+
+ +
+ + 4.9 / 5 +
+ +
+ +
+
+
+
+ +
+ +

+

+ + diff --git a/css/admin/applications.css b/css/admin/applications.css index 31126ec340..4ae8e45df6 100644 --- a/css/admin/applications.css +++ b/css/admin/applications.css @@ -128,12 +128,14 @@ margin-top: var(--gap-xs); } -#frm_view_application_modal .frm_warning_style { - border: none aliceblue; - margin-top: 0; - padding: 20px; - border-radius: 0; +#frm_view_application_modal .frm_note_style2 { + margin-right: var(--gap-md); + margin-left: var(--gap-md); + padding: 10px; + border-radius: 8px; display: flex; + justify-content: space-between; + align-items: center; } #frm_view_application_modal .frm_warning_style span { @@ -156,7 +158,7 @@ } .frm-application-modal-details { - padding: 25px 30px; + padding: 25px var(--gap-md); } .frm-admin-page-applications .ui-widget-overlay { @@ -173,7 +175,7 @@ #frm_view_application_modal .frm-application-image-wrapper { background-color: #F6F7FB; - padding: 20px 30px 15px; + padding: 20px var(--gap-md) 15px; } #frm_view_application_modal img { @@ -230,21 +232,47 @@ margin-right: 0; } -#frm_custom_applications_placeholder > div:first-child { +#frm_custom_applications_placeholder { + border-radius: 16px; + overflow: hidden; + position: relative; + margin-top: 40px; + margin-bottom: 25px; + background-color: #fff; + padding: 11px 8px; +} + +#frm_custom_applications_placeholder:before { + content: ''; + display: block; + background: linear-gradient(90deg, #1961D5 0.76%, #E8ABEF 100%); + height: 4px; + margin: auto; position: absolute; + top: 0; + left: 0; + width: 100%; } -#frm_custom_applications_placeholder > div:last-child { - text-align: center; - max-width: 500px; - margin: var(--gap-md) auto; - position: relative; +#frm_custom_applications_placeholder img { + margin-right: 5px; + float: left; } -#frm_custom_applications_placeholder > div a { +#frm_custom_applications_placeholder div a { margin-top: var(--gap-md); } +#frm_custom_applications_placeholder .frm2 { + text-align: right; + padding-right: 24px; +} + +#frm_custom_applications_placeholder h3 { + font-weight: 700; + margin-bottom: 4px; +} + .frm-application-modal-label ~ .frm-application-modal-label { margin-top: var(--gap-md); } diff --git a/css/admin/dashboard.css b/css/admin/dashboard.css index 4129b40afc..295ff78980 100644 --- a/css/admin/dashboard.css +++ b/css/admin/dashboard.css @@ -307,6 +307,8 @@ .frm-pro-features-list { padding: var(--gap-xl) var(--gap-2xl); position: relative; + display: flex; + gap: var(--gap-2xl); } .frm-pro-features-list:before { @@ -321,11 +323,15 @@ border-top-left-radius: var(--small-radius); } -.frm_wrap .frm-dashboard-container .frm-pro-features-list h2 { - font-size: 24px; - font-weight: 600; +.frm-pro-features-list-left { + flex: 0 0 55%; +} + +.frm-pro-features-list h2 { + font-size: 24px !important; + font-weight: 600 !important; max-width: 382px; - margin-bottom: var(--gap-md); + margin-bottom: var(--gap-md) !important; } .frm-pro-features-list ul { @@ -338,6 +344,69 @@ align-items: center; gap: var(--gap-xs); } + +.frm-testimonial { + border-radius: 16px; + border: 1px solid #EAECF0; + position: relative; + padding: 24px; +} + +.frm-testimonial:before { + content: ''; + display: block; + height: 12px; + width: calc(100% - 30px); + border-radius: 0 0 12px 12px; + border: 1px solid #EAECF0; + border-top: 0; + position: absolute; + left: 15px; + bottom: -13px; +} + +.frm-testimonial__content { + font-size: 16px; + line-height: 1.625; + margin-bottom: 24px; +} + +.frm-testimonial__author { + font-weight: 600; + font-size: 18px; + margin-bottom: 3px; +} + +.frm-testimonial__rating svg { + height: 18px; + width: 18px; +} + +.frm-testimonial__guarantee-icon img { + position: absolute; + bottom: -15px; + right: -27px; + height: 110px; + width: 110px; +} + +@media (max-width: 1280px) { + .frm-pro-features-list { + padding-left: var(--gap-lg); + padding-right: var(--gap-lg); + gap: var(--gap-lg); + } +} + +@media (max-width: 1025px) { + .frm-pro-features-list { + flex-direction: column; + } + + .frm-testimonial__guarantee-icon svg { + right: -10px; + } +} /* END Pro Features List */ /* Inbox */ diff --git a/css/frm_admin.css b/css/frm_admin.css index 7f6b242263..22052c2382 100644 --- a/css/frm_admin.css +++ b/css/frm_admin.css @@ -478,11 +478,32 @@ td.column-title .frm_actions_dropdown { } /** End Temporary View CSS */ +.frm-gradient, +.frm-upgrade-bar { + background: linear-gradient(90deg, #388CF3, #1961D5, #8C7FD8) !important; + color: #fff !important; + border: 0 !important; +} + +.frm-gradient.frm-button-primary:not([disabled]):hover, +.frm-gradient.frm-button-primary:not([disabled]):focus { + background: linear-gradient(90deg, #2871E6, #9989FB) !important; +} + .frm-upgrade-bar { - background: rgba(188, 224, 253, 0.23); border-bottom: 1px solid var(--sidebar-hover); - padding: 3px 0 3px 40px; - font-size: 95%; + padding: 9px 0; + font-size: 12px; + text-align: center; +} + +.frm-upgrade-bar a { + color: currentColor !important; + text-decoration: underline; +} + +.frm-upgrade-bar a:focus { + outline: 1px dotted var(--sidebar-hover); } .frm-upgrade-bar span { @@ -2269,6 +2290,7 @@ form .frm_blank_field label { .frm_error_style, .frm_warning_style, +.frm_note_style2, .frm_note_style, .frm_message, #post-body-content .frm_updated_message, @@ -2282,6 +2304,12 @@ div.frm_updated_message { text-align: left; } +.frm_note_style2 { + background: linear-gradient(90deg, #e9effa, #fcf6fe) padding-box, + linear-gradient(90deg, #1961D5, #E8ABEF) border-box; + border: 1px solid transparent; +} + #frm_top_bar + .wrap > .frm_updated_message, #frm_top_bar + .wrap > .frm_warning_style { display: inline-block; width: 100%; @@ -9449,6 +9477,34 @@ Responsive Design border-color: var(--error-100); } +.frm-cta-icon { + padding: 3px 15px 3px 0; + border-right: 1px solid currentColor; +} + +#frm-upgrade-banner { + gap: 0; +} + +#frm-upgrade-banner .frm-cta-icon + .frm-cta-content { + margin-right: auto; + padding-left: 15px; +} + +#frm-upgrade-banner.frm-gradient h4, +#frm-upgrade-banner.frm-gradient p { + color: currentColor; +} + +#frm-upgrade-banner.frm-gradient h4 { + font-size: 16px; + font-weight: 600; +} + +#frm-upgrade-banner.frm-gradient p { + font-size: 14px; +} + .frm-right-panel .inside .frm_pro_tip, .frm_pro_tip { color: var(--grey-700); @@ -9463,6 +9519,7 @@ Responsive Design position: relative; width: calc(100% - 30px); box-sizing: border-box; + font-size: 14px; } .frm_pro_tip .frmsvg, @@ -9479,6 +9536,22 @@ Responsive Design color: var(--orange); } +.frm-gradient .frm-tip-cta { + color: currentColor; + font-weight: 700; +} + +.frm-tip-badge { + font-size: 9px; + font-weight: 700; + text-transform: uppercase; + color: #1E63D5; + background-color: #fff; + line-height: 1; + border-radius: 4px; + padding: 3px 4px; +} + .frm-light-tip .frm_pro_tip { background: var(--primary-25); } @@ -9489,10 +9562,6 @@ Responsive Design color: var(--primary-500); } -.frm-tip-cta:hover { - color: var(--primary-500); -} - .nav-tab-wrapper .frm_pro_tip { float: right; } diff --git a/images/applications/custom-applications.svg b/images/applications/custom-applications.svg deleted file mode 100644 index c1e10ec907..0000000000 --- a/images/applications/custom-applications.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/images/applications/folder.svg b/images/applications/folder.svg index 575fbefb63..9fe07d828a 100644 --- a/images/applications/folder.svg +++ b/images/applications/folder.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/images/guarantee.svg b/images/guarantee.svg new file mode 100644 index 0000000000..77f5476ad1 --- /dev/null +++ b/images/guarantee.svg @@ -0,0 +1 @@ + diff --git a/images/star.svg b/images/star.svg new file mode 100644 index 0000000000..639edb2000 --- /dev/null +++ b/images/star.svg @@ -0,0 +1 @@ + diff --git a/images/views-info/wordpress.png b/images/views-info/wordpress.png new file mode 100644 index 0000000000..79d3bc45bf Binary files /dev/null and b/images/views-info/wordpress.png differ diff --git a/js/admin/applications.js b/js/admin/applications.js index ab640f1420..07d6ecfc53 100644 --- a/js/admin/applications.js +++ b/js/admin/applications.js @@ -104,23 +104,27 @@ id: 'frm_custom_applications_placeholder', className: 'frm_placeholder_block', child: div({ - child: img({ src: getUrlToApplicationsImages() + 'custom-applications.svg' }) - }) - }); - placeholder.appendChild( - div({ + className: 'frm_grid_container', children: [ - img({ src: getUrlToApplicationsImages() + 'folder.svg' }), - tag( 'h3', __( 'Improve your workflow with applications', 'formidable' ) ), - div( __( 'Applications help to organize your workspace by combining forms, Views, and pages into a full solution.', 'formidable' ) ), - a({ - className: 'button button-primary frm-button-primary', - text: __( 'Upgrade to Pro', 'formidable' ), - href: frmApplicationsVars.proUpgradeUrl + div({ + className: 'frm10 frm_clearfix', + children: [ + img({ src: getUrlToApplicationsImages() + 'folder.svg' }), + tag( 'h3', __( 'Improve your workflow with applications', 'formidable' ) ), + div( __( 'Applications help to organize your workspace by combining forms, Views, and pages into a full solution.', 'formidable' ) ), + ] + }), + div({ + className: 'frm2', + child: a({ + className: 'button button-primary frm-gradient', + text: __( 'Upgrade to Pro', 'formidable' ), + href: frmApplicationsVars.proUpgradeUrl + }) }) ] }) - ); + }); customTemplatesNav.parentNode.insertBefore( placeholder, customTemplatesNav.nextElementSibling ); } @@ -420,13 +424,14 @@ if ( data.upgradeUrl ) { children.push( div({ - className: 'frm_warning_style', + className: 'frm_note_style2', children: [ span( /* translators: %s: The required license type (ie. Plus, Business, or Elite) */ sprintf( __( 'Access to this application requires the %s plan.', 'formidable' ), data.requires ) ), a({ + className: 'frm-gradient frm-button-primary frm-button-sm', text: getUpgradeNowText(), href: data.upgradeUrl }) diff --git a/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js b/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js index 71670127fc..e7f6a7c74f 100644 --- a/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js +++ b/tests/cypress/e2e/Applications/validateApplicationsPage.cy.js @@ -10,10 +10,10 @@ describe("Applications page", () => { cy.get('#frm_top_bar').should('contain', "Applications"); cy.get('#frm-publishing > .button').should("contain", "Upgrade"); cy.get('.frm-h2 > span').should('contain', 'My Applications'); - cy.get('#frm_custom_applications_placeholder > :nth-child(1) > img').should('exist'); - cy.get(':nth-child(2) > h3').should('contain', 'Improve your workflow with applications'); - cy.get('#frm_custom_applications_placeholder > :nth-child(2) > div').should('contain', 'Applications help to organize your workspace by combining forms, Views, and pages into a full solution.'); - cy.get('#frm_custom_applications_placeholder > :nth-child(2) > .button').should('contain', 'Upgrade to Pro').invoke('removeAttr', 'target').click(); + cy.get('#frm_custom_applications_placeholder > .frm_grid_container > :nth-child(1) > img').should('exist'); + cy.get('#frm_custom_applications_placeholder > .frm_grid_container > :nth-child(1) > h3').should('contain', 'Improve your workflow with applications'); + cy.get('#frm_custom_applications_placeholder > .frm_grid_container > :nth-child(1) > div').should('contain', 'Applications help to organize your workspace by combining forms, Views, and pages into a full solution.'); + cy.get('#frm_custom_applications_placeholder > .frm_grid_container > :nth-child(2) > .button').should('contain', 'Upgrade to Pro').invoke('removeAttr', 'target').click(); cy.origin('https://formidableforms.com', () => { cy.get('h1').should(($h1) => { @@ -47,7 +47,7 @@ describe("Applications page", () => { .should('be.visible') .within(() => { cy.get('.frm-modal-title').should('contain.text', 'Business Directory'); - cy.get('.frm_warning_style span') + cy.get('.frm_note_style2 span') .should('contain.text', 'Access to this application requires the Elite plan.'); cy.get('.frm-application-image-wrapper img') .should('have.attr', 'src') @@ -175,7 +175,7 @@ describe("Applications page", () => { .should('be.visible') .within(() => { cy.get('.frm-modal-title').should('contain.text', 'Letter of Recommendation'); - cy.get('.frm_warning_style span') + cy.get('.frm_note_style2 span') .should('contain.text', 'Access to this application requires the Business plan'); cy.get('.frm-application-image-wrapper img') .should('have.attr', 'src') @@ -286,13 +286,13 @@ describe("Applications page", () => { .and('include', '/images/applications/thumbnails/testimonials.webp'); cy.get('h3 .frm-inner-text').should('contain.text', 'Testimonials').click(); }); - + cy.get('#frm_view_application_modal') .should('be.visible') .within(() => { cy.get('.frm-modal-title').should('contain.text', 'Testimonials'); - cy.get('.frm_warning_style span') + cy.get('.frm_note_style2 span') .should('contain.text', 'Access to this application requires the Business plan'); cy.get('.frm-application-image-wrapper img') .should('have.attr', 'src') @@ -355,4 +355,4 @@ describe("Applications page", () => { cy.get('#frm_application_templates_grid').should('contain', 'No application templates match your search query.'); }); -}); \ No newline at end of file +});