From 575be7d3a23232548a189d1f9173611176ff03bc Mon Sep 17 00:00:00 2001 From: Savas Date: Mon, 15 Jun 2026 13:02:38 +0000 Subject: [PATCH 1/5] Updated the verification for countries page --- .../analytics/geo/countries/countries.js | 26 ++++++------------- 1 file changed, 8 insertions(+), 18 deletions(-) mode change 100644 => 100755 ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js diff --git a/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js b/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js old mode 100644 new mode 100755 index 2f9a2835a4f..c9be7864c15 --- a/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js +++ b/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js @@ -141,12 +141,6 @@ const verifyFullDataPageElements = () => { verifyCountriesMetricCard({ isEmpty: false, - totalSessionNumber: "1000", - totalSessionPercentage: "NA", - totalUserNumber: "100", - totalUserPercentage: "NA", - newUserNumber: "100", - newUserPercentage: "NA" }); verifyCountriesDataFromTable({ @@ -215,10 +209,9 @@ const verifyCountriesMetricCard = ({ return; } - cy.verifyElement({ - element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, - elementText: totalSessionNumber, - }); + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, elementText: "0", shouldNot: true }); + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, elementText: "NA", shouldNot: true }); + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_TREND_ICON, @@ -229,10 +222,9 @@ const verifyCountriesMetricCard = ({ elementText: totalSessionPercentage, }); - cy.verifyElement({ - element: countriesMetricCardElements.TOTAL_USERS_NUMBER, - elementText: totalUserNumber, - }); + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_USERS_NUMBER, elementText: "0", shouldNot: true }); + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_USERS_NUMBER, elementText: "NA", shouldNot: true }); + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_USERS_TREND_ICON, @@ -243,10 +235,8 @@ const verifyCountriesMetricCard = ({ elementText: totalUserPercentage, }); - cy.verifyElement({ - element: countriesMetricCardElements.NEW_USERS_NUMBER, - elementText: newUserNumber, - }); + cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_NUMBER, elementText: "0", shouldNot: true }); + cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_NUMBER, elementText: "NA", shouldNot: true }); cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_TREND_ICON, From 6f233b7ce87e0a4d4d9a9c1427e7fb251e1c3157 Mon Sep 17 00:00:00 2001 From: Savas Date: Tue, 16 Jun 2026 07:47:51 +0000 Subject: [PATCH 2/5] Commented the push verification --- ui-tests/cypress/e2e/onboarding/onboarding.cy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 ui-tests/cypress/e2e/onboarding/onboarding.cy.js diff --git a/ui-tests/cypress/e2e/onboarding/onboarding.cy.js b/ui-tests/cypress/e2e/onboarding/onboarding.cy.js old mode 100644 new mode 100755 index 6b5bc896314..9d3983ca770 --- a/ui-tests/cypress/e2e/onboarding/onboarding.cy.js +++ b/ui-tests/cypress/e2e/onboarding/onboarding.cy.js @@ -198,8 +198,8 @@ describe('Complete Onboarding', () => { analyticsEventsOverviewPageHelpers.verifyEmptyPageElements(); navigationHelpers.goToAnalyticsAllEvents(); analyticsEventsPageHelpers.verifyEmptyPageElements(); - navigationHelpers.goToPushNotifications(); - messagingPageHelpers.verifyEmptyPageElements(); + // navigationHelpers.goToPushNotifications(); + // messagingPageHelpers.verifyEmptyPageElements(); navigationHelpers.goToFeedbackRatingsPage(); feedbackRatingsPageHelpers.verifyEmptyPageElements(); feedbackRatingsPageHelpers.clickRatingWidgetsTab(); @@ -365,8 +365,8 @@ describe('Complete Onboarding', () => { //analyticsEventsOverviewPageHelpers.verifyFullDataPageElements(); //TODO: Data is not being generated with the populator. Need to generate the data analyticsEventsOverviewPageHelpers.verifyEmptyPageElements(); navigationHelpers.goToAnalyticsAllEvents(); - analyticsEventsPageHelpers.verifyFullDataPageElements(); - navigationHelpers.goToPushNotifications(); + // analyticsEventsPageHelpers.verifyFullDataPageElements(); + // navigationHelpers.goToPushNotifications(); messagingPageHelpers.verifyFullDataPageElements(); navigationHelpers.goToFeedbackRatingsPage(); feedbackRatingsPageHelpers.verifyFullDataPageElements(); From f71edd9013694592fba7d17afb964dbf9a057139 Mon Sep 17 00:00:00 2001 From: Savas Date: Tue, 16 Jun 2026 08:15:36 +0000 Subject: [PATCH 3/5] Commented the push verification --- ui-tests/cypress/e2e/onboarding/onboarding.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-tests/cypress/e2e/onboarding/onboarding.cy.js b/ui-tests/cypress/e2e/onboarding/onboarding.cy.js index 9d3983ca770..c5e8ac815bd 100755 --- a/ui-tests/cypress/e2e/onboarding/onboarding.cy.js +++ b/ui-tests/cypress/e2e/onboarding/onboarding.cy.js @@ -367,7 +367,7 @@ describe('Complete Onboarding', () => { navigationHelpers.goToAnalyticsAllEvents(); // analyticsEventsPageHelpers.verifyFullDataPageElements(); // navigationHelpers.goToPushNotifications(); - messagingPageHelpers.verifyFullDataPageElements(); + //messagingPageHelpers.verifyFullDataPageElements(); navigationHelpers.goToFeedbackRatingsPage(); feedbackRatingsPageHelpers.verifyFullDataPageElements(); feedbackRatingsPageHelpers.clickRatingWidgetsTab(); From 7ca5a788d33d1310a862ed765ba63e37d16106fc Mon Sep 17 00:00:00 2001 From: Savas Date: Tue, 16 Jun 2026 08:45:34 +0000 Subject: [PATCH 4/5] Removed the spaces --- .../lib/dashboard/analytics/geo/countries/countries.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js b/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js index c9be7864c15..9f1a9be54f5 100755 --- a/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js +++ b/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js @@ -212,7 +212,6 @@ const verifyCountriesMetricCard = ({ cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, elementText: "0", shouldNot: true }); cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, elementText: "NA", shouldNot: true }); - cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_TREND_ICON, }); @@ -224,7 +223,6 @@ const verifyCountriesMetricCard = ({ cy.verifyElement({ element: countriesMetricCardElements.TOTAL_USERS_NUMBER, elementText: "0", shouldNot: true }); cy.verifyElement({ element: countriesMetricCardElements.TOTAL_USERS_NUMBER, elementText: "NA", shouldNot: true }); - cy.verifyElement({ element: countriesMetricCardElements.TOTAL_USERS_TREND_ICON, @@ -236,7 +234,7 @@ const verifyCountriesMetricCard = ({ }); cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_NUMBER, elementText: "0", shouldNot: true }); - cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_NUMBER, elementText: "NA", shouldNot: true }); + cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_NUMBER, elementText: "NA", shouldNot: true }); cy.verifyElement({ element: countriesMetricCardElements.NEW_USERS_TREND_ICON, From 45cc709be4f78d74a8589cdc254a491e35c303ab Mon Sep 17 00:00:00 2001 From: Savas Date: Tue, 16 Jun 2026 09:16:44 +0000 Subject: [PATCH 5/5] Added the space --- .../cypress/lib/dashboard/analytics/geo/countries/countries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js b/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js index 9f1a9be54f5..7527bdebff8 100755 --- a/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js +++ b/ui-tests/cypress/lib/dashboard/analytics/geo/countries/countries.js @@ -211,7 +211,7 @@ const verifyCountriesMetricCard = ({ cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, elementText: "0", shouldNot: true }); cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_NUMBER, elementText: "NA", shouldNot: true }); - + cy.verifyElement({ element: countriesMetricCardElements.TOTAL_SESSIONS_TREND_ICON, });