siteMapPerso
Changes
src/mySiteMap.js 15(+13 -2)
Details
src/mySiteMap.js 15(+13 -2)
diff --git a/src/mySiteMap.js b/src/mySiteMap.js
index 7f13227..db47b7e 100644
--- a/src/mySiteMap.js
+++ b/src/mySiteMap.js
@@ -181,6 +181,16 @@ let landingEventosInteractions = {
name: "Inscripción a eventos"
}
+let perfilInteractions = {
+ name: "Perfil"
+}
+
+//SELECTORES perfil
+let perfilListeners = [
+ { class: ".panel.step-panel.selected[index='3'] .botonera .btn-verde", labelName: 'Botón Entendido modal (¿Tenés alguna duda?)', ItPropagation: false },
+ { class: "#user-notification-message a.close", labelName: 'Botón cerrar modal', ItPropagation: false }
+]
+
//LLamadas a las distintas page type para el match
const home = new PageType("Home", "cronista.com", homeInteractions, homeListeners, false);
const payWall = new PageType("PayWall", "cronista.com/suscripciones", payWallInteractions, payWallListeners, false);
@@ -195,6 +205,7 @@ const suscriptionsForm = new PageType("Suscriptions form", "cronista.com/suscrip
const globalData = new PageType("Datos Globales", "cronista.com/datos", globalDataInteractions, [], false);
const landingEventosGeneral = new PageType("Eventos General", "cronista.com/eventos", landingEventosGeneralInteractions, [], false);
const landingInternaEvento = new PageType("Inscripción a eventos", "cronista.com/eventos/", landingEventosInteractions, landingEventosListeners, false);
+const perfil = new PageType("Perfil", "cronista.com/0/perfil", perfilInteractions, perfilListeners, false);
@@ -283,9 +294,9 @@ function noTieneClase(elemento, clase) {
//Función que devuelve el array con las info de las pageType
/*[home, payWall, article, logInWall, landingDolar, mercadosOnline, confirmacionOnAir,
-streamingExclusivo, suscriptionsForm, suscriptionsConfirm, landingEventosGeneral, landingEventos]*/
+streamingExclusivo, suscriptionsForm, suscriptionsConfirm, landingEventosGeneral, landingEventos,perfil]*/
function Pages() {
- pages.push(home, payWall, logInWall, landingDolar, mercadosOnline, confirmacionOnAir, streamingExclusivo, suscriptionsForm, globalData, landingEventosGeneral, landingInternaEvento)
+ pages.push(home, payWall, logInWall, landingDolar, mercadosOnline, confirmacionOnAir, streamingExclusivo, suscriptionsForm, globalData, landingEventosGeneral, landingInternaEvento, perfil)
return pages
}