diff --git a/features/feds/prodSanity/creativeCloudUnavSanity.spec.js b/features/feds/prodSanity/creativeCloudUnavSanity.spec.js index 43fe1fa3..6d7d94d9 100644 --- a/features/feds/prodSanity/creativeCloudUnavSanity.spec.js +++ b/features/feds/prodSanity/creativeCloudUnavSanity.spec.js @@ -6,7 +6,7 @@ module.exports = { name: '@UnitedStatesCCUnavPageCheck', path: '/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavUnitedStates', - buyNowUrl: 'https://www.adobe.com/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', country: 'United States', }, { @@ -14,7 +14,7 @@ module.exports = { name: '@GermanyCCUnavPageCheck', path: '/de/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavGermany', - buyNowUrl: 'https://www.adobe.com/de/creativecloud/plans.html', + buyNowUrl: '/de/creativecloud/plans.html', country: 'Germany', }, { @@ -22,7 +22,7 @@ module.exports = { name: '@FranceCCUnavPageCheck', path: '/fr/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavFrance', - buyNowUrl: 'https://www.adobe.com/fr/creativecloud/plans.html', + buyNowUrl: '/fr/creativecloud/plans.html', country: 'France', }, { @@ -30,7 +30,7 @@ module.exports = { name: '@ItalyCCUnavPageCheck', path: '/it/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavItaly', - buyNowUrl: 'https://www.adobe.com/it/creativecloud/plans.html', + buyNowUrl: '/it/creativecloud/plans.html', country: 'Italy', }, { @@ -38,7 +38,7 @@ module.exports = { name: '@UnitedKingdomCCUnavPageCheck', path: '/uk/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavUnitedKingdom', - buyNowUrl: 'https://www.adobe.com/uk/creativecloud/plans.html', + buyNowUrl: '/uk/creativecloud/plans.html', country: 'United Kingdom', }, { @@ -46,7 +46,7 @@ module.exports = { name: '@MiddleEastAndNorthAfricaCCUnavPageCheck', path: '/mena_ar/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavMiddleEastAndNorthAfrica', - buyNowUrl: 'https://www.adobe.com/mena_ar/creativecloud/plans.html', + buyNowUrl: '/mena_ar/creativecloud/plans.html', country: 'Middle East And North Africa', }, { @@ -54,7 +54,7 @@ module.exports = { name: '@JapanCCUnavPageCheck', path: '/jp/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavJapan', - buyNowUrl: 'https://www.adobe.com/jp/creativecloud/plans.html', + buyNowUrl: '/jp/creativecloud/plans.html', country: 'Japan', }, { @@ -62,7 +62,7 @@ module.exports = { name: '@IndiaCCUnavPageCheck', path: '/in/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavIndia', - buyNowUrl: 'https://www.adobe.com/in/creativecloud/plans.html', + buyNowUrl: '/in/creativecloud/plans.html', country: 'India', }, { @@ -70,7 +70,7 @@ module.exports = { name: '@SpainCCUnavPageCheck', path: '/es/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavSpain', - buyNowUrl: 'https://www.adobe.com/es/creativecloud/plans.html', + buyNowUrl: '/es/creativecloud/plans.html', country: 'Spain', }, { @@ -78,7 +78,7 @@ module.exports = { name: '@CanadaEnglishCCUnavPageCheck', path: '/ca/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavCanadaEnglish', - buyNowUrl: 'https://www.adobe.com/ca/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/ca/creativecloud/plans.html', country: 'Canada English', }, { @@ -86,7 +86,7 @@ module.exports = { name: '@KoreaCCUnavPageCheck', path: '/kr/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavKorea', - buyNowUrl: 'https://www.adobe.com/kr/creativecloud/plans.html', + buyNowUrl: '/kr/creativecloud/plans.html', country: 'Korea', }, { @@ -94,7 +94,7 @@ module.exports = { name: '@CanadaFrenchCCUnavPageCheck', path: '/ca_fr/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavCanadaFrench', - buyNowUrl: 'https://www.adobe.com/ca_fr/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/ca_fr/creativecloud/plans.html', country: 'Canada French', }, { @@ -102,7 +102,7 @@ module.exports = { name: '@PolandCCUnavPageCheck', path: '/pl/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavPoland', - buyNowUrl: 'https://www.adobe.com/pl/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/pl/creativecloud/plans.html', country: 'Poland', }, { @@ -110,7 +110,7 @@ module.exports = { name: '@MexicoCCUnavPageCheck', path: '/mx/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavMexico', - buyNowUrl: 'https://www.adobe.com/mx/creativecloud/plans.html', + buyNowUrl: '/mx/creativecloud/plans.html', country: 'Mexico', }, { @@ -118,7 +118,7 @@ module.exports = { name: '@AustraliaCCUnavPageCheck', path: '/au/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavAustralia', - buyNowUrl: 'https://www.adobe.com/au/creativecloud/plans.html', + buyNowUrl: '/au/creativecloud/plans.html', country: 'Australia', }, { @@ -126,7 +126,7 @@ module.exports = { name: '@IndonesiaCCUnavPageCheck', path: '/id_id/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavIndonesia', - buyNowUrl: 'https://www.adobe.com/id_id/creativecloud/plans.html', + buyNowUrl: '/id_id/creativecloud/plans.html', country: 'Indonesia', }, { @@ -134,7 +134,7 @@ module.exports = { name: '@IndonesiaEnglishCCUnavPageCheck', path: '/id_en/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavIndonesiaEnglish', - buyNowUrl: 'https://www.adobe.com/id_en/creativecloud/plans.html', + buyNowUrl: '/id_en/creativecloud/plans.html', country: 'Indonesia English', }, { @@ -142,7 +142,7 @@ module.exports = { name: '@TurkeyCCUnavPageCheck', path: '/tr/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavTurkey', - buyNowUrl: 'https://www.adobe.com/tr/creativecloud/plans.html', + buyNowUrl: '/tr/creativecloud/plans.html', country: 'Turkey', }, { @@ -150,7 +150,7 @@ module.exports = { name: '@ThailandEnglishCCUnavPageCheck', path: '/th_en/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavThailandEnglish', - buyNowUrl: 'https://www.adobe.com/th_en/creativecloud/plans.html', + buyNowUrl: '/th_en/creativecloud/plans.html', country: 'Thailand English', }, { @@ -158,7 +158,7 @@ module.exports = { name: '@ThailandCCUnavPageCheck', path: '/th_th/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavThailand', - buyNowUrl: 'https://www.adobe.com/th_th/creativecloud/plans.html', + buyNowUrl: '/th_th/creativecloud/plans.html', country: 'Thailand', }, { @@ -166,7 +166,7 @@ module.exports = { name: '@SingaporeCCUnavPageCheck', path: '/sg/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavSingapore', - buyNowUrl: 'https://www.adobe.com/sg/creativecloud/plans.html', + buyNowUrl: '/sg/creativecloud/plans.html', country: 'Singapore', }, { @@ -174,7 +174,7 @@ module.exports = { name: '@PhilippinesCCUnavPageCheck', path: '/ph_fil/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavPhilippines', - buyNowUrl: 'https://www.adobe.com/ph_fil/creativecloud/plans.html', + buyNowUrl: '/ph_fil/creativecloud/plans.html', country: 'Philippines', }, { @@ -182,7 +182,7 @@ module.exports = { name: '@PhilippinesEnglishCCUnavPageCheck', path: '/ph_en/creativecloud.html?georouting=off', tags: '@ccounavpagesanity @ccunavPhilippinesEnglish', - buyNowUrl: 'https://www.adobe.com/ph_en/creativecloud/plans.html', + buyNowUrl: '/ph_en/creativecloud/plans.html', country: 'Philippines English', }, ], diff --git a/features/feds/prodSanity/tabiPadTesting/tabCreativeCloudUnavSanity.spec.js b/features/feds/prodSanity/tabiPadTesting/tabCreativeCloudUnavSanity.spec.js index d0cd76a8..254f28eb 100644 --- a/features/feds/prodSanity/tabiPadTesting/tabCreativeCloudUnavSanity.spec.js +++ b/features/feds/prodSanity/tabiPadTesting/tabCreativeCloudUnavSanity.spec.js @@ -6,7 +6,7 @@ module.exports = { name: '@UnitedStatesCCUtabiPadSanity', path: '/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuUnitedStates', - buyNowUrl: 'https://www.adobe.com/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', country: 'United States', }, { @@ -14,7 +14,7 @@ module.exports = { name: '@GermanyCCUtabiPadSanity', path: '/de/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuGermany', - buyNowUrl: 'https://www.adobe.com/de/creativecloud/plans.html', + buyNowUrl: '/de/creativecloud/plans.html', country: 'Germany', }, { @@ -22,7 +22,7 @@ module.exports = { name: '@FranceCCUtabiPadSanity', path: '/fr/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuFrance', - buyNowUrl: 'https://www.adobe.com/fr/creativecloud/plans.html', + buyNowUrl: '/fr/creativecloud/plans.html', country: 'France', }, { @@ -30,7 +30,7 @@ module.exports = { name: '@ItalyCCUtabiPadSanity', path: '/it/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuItaly', - buyNowUrl: 'https://www.adobe.com/it/creativecloud/plans.html', + buyNowUrl: '/it/creativecloud/plans.html', country: 'Italy', }, { @@ -38,7 +38,7 @@ module.exports = { name: '@UnitedKingdomCCUtabiPadSanity', path: '/uk/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuUnitedKingdom', - buyNowUrl: 'https://www.adobe.com/uk/creativecloud/plans.html', + buyNowUrl: '/uk/creativecloud/plans.html', country: 'United Kingdom', }, { @@ -46,7 +46,7 @@ module.exports = { name: '@MiddleEastAndNorthAfricaCCUtabiPadSanity', path: '/mena_ar/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuMiddleEastAndNorthAfrica', - buyNowUrl: 'https://www.adobe.com/mena_ar/creativecloud/plans.html', + buyNowUrl: '/mena_ar/creativecloud/plans.html', country: 'Middle East And North Africa', }, { @@ -54,7 +54,7 @@ module.exports = { name: '@JapanCCUtabiPadSanity', path: '/jp/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuJapan', - buyNowUrl: 'https://www.adobe.com/jp/creativecloud/plans.html', + buyNowUrl: '/jp/creativecloud/plans.html', country: 'Japan', }, { @@ -62,7 +62,7 @@ module.exports = { name: '@IndiaCCUtabiPadSanity', path: '/in/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuIndia', - buyNowUrl: 'https://www.adobe.com/in/creativecloud/plans.html', + buyNowUrl: '/in/creativecloud/plans.html', country: 'India', }, { @@ -70,7 +70,7 @@ module.exports = { name: '@SpainCCUtabiPadSanity', path: '/es/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuSpain', - buyNowUrl: 'https://www.adobe.com/es/creativecloud/plans.html', + buyNowUrl: '/es/creativecloud/plans.html', country: 'Spain', }, { @@ -78,7 +78,7 @@ module.exports = { name: '@CanadaEnglishCCUtabiPadSanity', path: '/ca/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuCanadaEnglish', - buyNowUrl: 'https://www.adobe.com/ca/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/ca/creativecloud/plans.html', country: 'Canada English', }, { @@ -86,7 +86,7 @@ module.exports = { name: '@KoreaCCUtabiPadSanity', path: '/kr/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuKorea', - buyNowUrl: 'https://www.adobe.com/kr/creativecloud/plans.html', + buyNowUrl: '/kr/creativecloud/plans.html', country: 'Korea', }, { @@ -94,7 +94,7 @@ module.exports = { name: '@CanadaFrenchCCUtabiPadSanity', path: '/ca_fr/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuCanadaFrench', - buyNowUrl: 'https://www.adobe.com/ca_fr/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/ca_fr/creativecloud/plans.html', country: 'Canada French', }, { @@ -102,7 +102,7 @@ module.exports = { name: '@PolandCCUtabiPadSanity', path: '/pl/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuPoland', - buyNowUrl: 'https://www.adobe.com/pl/creativecloud/plans.html?filter=acrobat&plan=individual&filter=acrobat', + buyNowUrl: '/pl/creativecloud/plans.html', country: 'Poland', }, { @@ -110,7 +110,7 @@ module.exports = { name: '@MexicoCCUtabiPadSanity', path: '/mx/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuMexico', - buyNowUrl: 'https://www.adobe.com/mx/creativecloud/plans.html', + buyNowUrl: '/mx/creativecloud/plans.html', country: 'Mexico', }, { @@ -118,7 +118,7 @@ module.exports = { name: '@AustraliaCCUtabiPadSanity', path: '/au/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuAustralia', - buyNowUrl: 'https://www.adobe.com/au/creativecloud/plans.html', + buyNowUrl: '/au/creativecloud/plans.html', country: 'Australia', }, { @@ -126,7 +126,7 @@ module.exports = { name: '@IndonesiaCCUtabiPadSanity', path: '/id_id/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuIndonesia', - buyNowUrl: 'https://www.adobe.com/id_id/creativecloud/plans.html', + buyNowUrl: '/id_id/creativecloud/plans.html', country: 'Indonesia', }, { @@ -134,7 +134,7 @@ module.exports = { name: '@IndonesiaEnglishCCUtabiPadSanity', path: '/id_en/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuIndonesiaEnglish', - buyNowUrl: 'https://www.adobe.com/id_en/creativecloud/plans.html', + buyNowUrl: '/id_en/creativecloud/plans.html', country: 'Indonesia English', }, { @@ -142,7 +142,7 @@ module.exports = { name: '@TurkeyCCUtabiPadSanity', path: '/tr/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuTurkey', - buyNowUrl: 'https://www.adobe.com/tr/creativecloud/plans.html', + buyNowUrl: '/tr/creativecloud/plans.html', country: 'Turkey', }, { @@ -150,7 +150,7 @@ module.exports = { name: '@ThailandEnglishCCUtabiPadSanity', path: '/th_en/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuThailandEnglish', - buyNowUrl: 'https://www.adobe.com/th_en/creativecloud/plans.html', + buyNowUrl: '/th_en/creativecloud/plans.html', country: 'Thailand English', }, { @@ -158,7 +158,7 @@ module.exports = { name: '@ThailandCCUtabiPadSanity', path: '/th_th/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuThailand', - buyNowUrl: 'https://www.adobe.com/th_th/creativecloud/plans.html', + buyNowUrl: '/th_th/creativecloud/plans.html', country: 'Thailand', }, { @@ -166,7 +166,7 @@ module.exports = { name: '@SingaporeCCUtabiPadSanity', path: '/sg/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuSingapore', - buyNowUrl: 'https://www.adobe.com/sg/creativecloud/plans.html', + buyNowUrl: '/sg/creativecloud/plans.html', country: 'Singapore', }, { @@ -174,7 +174,7 @@ module.exports = { name: '@PhilippinesCCUtabiPadSanity', path: '/ph_fil/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuPhilippines', - buyNowUrl: 'https://www.adobe.com/ph_fil/creativecloud/plans.html', + buyNowUrl: '/ph_fil/creativecloud/plans.html', country: 'Philippines', }, { @@ -182,7 +182,7 @@ module.exports = { name: '@PhilippinesEnglishCCUtabiPadSanity', path: '/ph_en/creativecloud.html?georouting=off', tags: '@tabipadccounavanity @tabipadccuPhilippinesEnglish', - buyNowUrl: 'https://www.adobe.com/ph_en/creativecloud/plans.html', + buyNowUrl: '/ph_en/creativecloud/plans.html', country: 'Philippines English', }, ], diff --git a/selectors/feds/feds.ccepagesanity.page.js b/selectors/feds/feds.ccepagesanity.page.js index 2e13af3e..a3f1499b 100644 --- a/selectors/feds/feds.ccepagesanity.page.js +++ b/selectors/feds/feds.ccepagesanity.page.js @@ -78,7 +78,7 @@ export default class CreativeCloudEnterpriseSanity { this.adobecom = page.locator('.feds-crossCloudMenu-item [href*="/"]').nth(0); this.pdfAndESignature = page.locator('.feds-crossCloudMenu-item [href*="acrobat.html"]'); - this.marketingAndCommerce = page.locator('.feds-crossCloudMenu-item [href*="business.adobe.com"]'); + this.marketingAndCommerce = page.locator('.feds-crossCloudMenu-item [href*="business.stage.adobe.com"]'); this.helpAndSupport = page.locator('.feds-crossCloudMenu-item [href*="support.html"]'); this.removeBackground = page.locator('[href*="KCJMVG5Q&mv=other"]'); @@ -141,7 +141,7 @@ export default class CreativeCloudEnterpriseSanity { async validatingCreativityAndDesignElements(country) { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.individuals, conditions: { defaultVisibility: true, excludeCountries: ['Germany', 'France', 'India'] } }, @@ -192,7 +192,7 @@ export default class CreativeCloudEnterpriseSanity { { element: this.instagramPost, conditions: { includeCountries: ['India'] } }, { element: this.youTubeVideo, conditions: { includeCountries: ['India'] } }, { element: this.createNow, conditions: { includeCountries: ['India'] } }, - { element: this.whatIsCC, conditions: { includeCountries: ['India'] } }, + { element: this.whatIsCC, conditions: { includeCountries: ['India'], excludeCountries: ['Germany'] } }, { element: this.adobeExpressIn, conditions: { includeCountries: ['India'] } }, { element: this.seePlansAndPricing, conditions: { includeCountries: ['India'] } }, ]; @@ -272,7 +272,7 @@ export default class CreativeCloudEnterpriseSanity { async creativityAndDesignElements(country) { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { @@ -303,7 +303,7 @@ export default class CreativeCloudEnterpriseSanity { await this.creativityAndDesign.click(); await this.quickActions.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['India', 'Germany'] } }, { element: this.photoshop, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.adobeExpress, conditions: { defaultVisibility: true, excludeCountries: ['India', 'Spain'] } }, { element: this.lightroom, conditions: { defaultVisibility: true, excludeCountries: ['India', 'Spain'] } }, @@ -393,7 +393,7 @@ export default class CreativeCloudEnterpriseSanity { async validatingCreativityAndDesignElementsiPadTab(country) { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.individuals, conditions: { defaultVisibility: true, excludeCountries: ['Germany', 'France', 'India'] } }, @@ -441,7 +441,7 @@ export default class CreativeCloudEnterpriseSanity { { element: this.instagramPost, conditions: { includeCountries: ['India'] } }, { element: this.youTubeVideo, conditions: { includeCountries: ['India'] } }, { element: this.createNow, conditions: { includeCountries: ['India'] } }, - { element: this.whatIsCC, conditions: { includeCountries: ['India'] } }, + { element: this.whatIsCC, conditions: { includeCountries: ['India'], excludeCountries: ['Germany'] } }, { element: this.adobeExpressIn, conditions: { includeCountries: ['India'] } }, { element: this.seePlansAndPricing, conditions: { includeCountries: ['India'] } }, ]; diff --git a/selectors/feds/feds.creativeCloudUnavSanity.page.js b/selectors/feds/feds.creativeCloudUnavSanity.page.js index 39156722..04e72d16 100644 --- a/selectors/feds/feds.creativeCloudUnavSanity.page.js +++ b/selectors/feds/feds.creativeCloudUnavSanity.page.js @@ -85,11 +85,6 @@ export default class CreativeCloudUnavSanity { this.adobeFirefly = page.locator('.feds-popup a[href$="products/firefly.html"]'); this.adobeFireflyCC = page.locator('.feds-popup a[href*="firefly.html"]').nth(0); - this.adobecom = page.locator('.feds-crossCloudMenu-item').nth(0); - this.pdfAndESignatures = page.locator('.feds-popup a[href$="/acrobat.html"]').nth(0); - this.marketingAndCommerce = page.locator('.feds-popup a[href*="business.adobe.com"]').nth(0); - this.helpAndSupport = page.locator('.feds-popup a[href$="support.html"]').nth(0); - // Explore this.graphicDesignExplore = page.locator('.feds-popup a[href$="design.html"]').nth(1); this.graphicDesignExploreIn = page.locator('.feds-popup a[href$="design.html"]'); @@ -161,7 +156,7 @@ export default class CreativeCloudUnavSanity { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, @@ -192,10 +187,6 @@ export default class CreativeCloudUnavSanity { { element: this.pdf, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.aiOverviewCC, conditions: { defaultVisibility: true, excludeCountries: ['Japan'] } }, { element: this.adobeFirefly, conditions: { defaultVisibility: true, excludeCountries: ['Japan'] } }, - { element: this.adobecom, conditions: { defaultVisibility: true, excludeCountries: ['United Kingdom'] } }, - { element: this.pdfAndESignatures, conditions: { defaultVisibility: true, excludeCountries: ['United Kingdom'] } }, - { element: this.marketingAndCommerce, conditions: { defaultVisibility: true, excludeCountries: ['United Kingdom'] } }, - { element: this.helpAndSupport, conditions: { defaultVisibility: true, excludeCountries: ['United Kingdom'] } }, { element: this.forGovernmentAgencies, conditions: { includeCountries: ['Japan'] } }, { element: this.benifitsForCreativeCloudPaidMembers, conditions: { includeCountries: ['Japan'] } }, { element: this.adobeFireflyCC, conditions: { includeCountries: ['Japan'] } }, @@ -379,7 +370,7 @@ export default class CreativeCloudUnavSanity { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true } }, { element: this.business, conditions: { defaultVisibility: true } }, @@ -405,7 +396,7 @@ export default class CreativeCloudUnavSanity { await this.creativeCloudProducts.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['India', 'Germany'] } }, { element: this.photoshop, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.adobeExpress, conditions: { defaultVisibility: true } }, { element: this.lightroom, conditions: { defaultVisibility: true, excludeCountries: ['India', 'Spain'] } }, @@ -542,7 +533,7 @@ export default class CreativeCloudUnavSanity { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, diff --git a/selectors/feds/feds.footer.page.js b/selectors/feds/feds.footer.page.js index cb19320c..24db1683 100644 --- a/selectors/feds/feds.footer.page.js +++ b/selectors/feds/feds.footer.page.js @@ -51,8 +51,8 @@ export default class FedsFooter { this.footerAcrobatForBusiness = page.locator(".feds-footer-wrapper a[href$='acrobat/business.html']"); this.footerDiscountsForStudentsAndTeachers = page.locator(".feds-footer-wrapper a[href$='buy/students.html']"); this.footerDigitalLearningSolutions = page.locator("a[href$='/elearning.html']"); - this.footerAppsforiOS = page.locator("a[href*='id852473028']"); - this.footerAppsforAndroid = page.locator("a[href*='id=com.adobe.cc']"); + this.footerAppsforiOS = page.locator("a[href*='app-store']"); + this.footerAppsforAndroid = page.locator("a[href*='play.google.com']"); this.footerWhatIsExperienceCloud = page.locator('.feds-footer-wrapper a[href*="business"]').nth(4); this.footerTermsOfUse = page.locator('a[href*="experiencecloudterms"]'); this.footerDownloadAndInstall = page.locator('.feds-footer-wrapper a[href*="download-install.html"]'); @@ -70,7 +70,7 @@ export default class FedsFooter { this.footerAdobeAcrobatReaderlogo = page.locator('a[href$="reader/"]'); this.footerAdobeExpresslogo = page.locator('a[href$="Z2G1FSYV&mv=other"]:nth-of-type(2)'); this.footerPhotoshoplogo = page.locator('a[href$="photoshop/free-trial-download.html"]'); - this.footerIllustratorlogo = page.locator('a[href$="illustrator/free-trial-download.html"]'); + this.footerIllustratorlogo = page.locator('.feds-featuredProducts a[href$="illustrator/free-trial-download.html"]'); } // >> FEDS Footer methods declared here << diff --git a/selectors/feds/feds.homepagesanity.page.js b/selectors/feds/feds.homepagesanity.page.js index 88009ae3..c6c16467 100644 --- a/selectors/feds/feds.homepagesanity.page.js +++ b/selectors/feds/feds.homepagesanity.page.js @@ -62,7 +62,7 @@ export default class HomePageSanity { this.consultationBeforePurchase = page.locator('.feds-popup a[href$="0120-693-724"]'); // Experience Cloud Elements - this.adobeExperienceCloud = page.locator('.feds-popup a[href*="business.adobe.com"]').nth(0); + this.adobeExperienceCloud = page.locator('.feds-popup a[href*="business.stage.adobe.com"]').nth(0); this.customerDataPlatform = page.locator('a[href*="/rtcdp.html"]'); this.marketingAutomation = page.locator('.feds-popup a[href*="marketo.html"]'); this.viewAllProductsEC = page.locator('a[href*="products.html"]'); @@ -74,7 +74,6 @@ export default class HomePageSanity { this.resourceCentre = page.locator('a[href$="resources/main.html"]'); this.customerSuccessStories = page.locator('a[href*="success-stories"]'); this.servicesAndSupport = page.locator('a[href$="support/main.html"]'); - this.training = page.locator('a[href*="learning.adobe"]'); this.insightsAndAudiences = page.locator('.feds-popup a[href$="personalization.html"]'); this.b2bMarketing = page.locator('.feds-popup a[href$="b2b-marketing.html"]'); @@ -102,13 +101,11 @@ export default class HomePageSanity { this.footerAcrobatForBusiness = page.locator(".feds-footer-wrapper a[href$='acrobat/business.html']"); this.footerDiscountsForStudentsAndTeachers = page.locator(".feds-footer-wrapper a[href$='buy/students.html']"); this.footerDigitalLearningSolutions = page.locator("a[href$='/elearning.html']"); - this.footerAppsforiOS = page.locator("a[href*='id852473028']"); - this.footerAppsforAndroid = page.locator("a[href*='id=com.adobe.cc']"); - this.footerWhatIsExperienceCloud = page.locator('.feds-footer-wrapper a[href*="business.adobe.com"]').nth(0); + this.footerAppsforiOS = page.locator("a[href*='app-store']"); + this.footerAppsforAndroid = page.locator("a[href*='play.google.com']"); this.footerTermsOfUse = page.locator('a[href*="experiencecloudterms"]'); this.footerDownloadAndInstall = page.locator('.feds-footer-wrapper a[href*="download-install.html"]'); this.footerGenuineSoftware = page.locator('a[href*="genuine.html"]'); - this.footerAdobeBlog = page.locator('.feds-navLink[href*="blog.adobe"]'); this.footerLogInToYourAccount = page.locator('.feds-footer-wrapper a[href*="account.adobe"]').nth(0); this.footerAbout = page.locator('.feds-footer-wrapper [href*="about-adobe.html"]').nth(0); this.footerIntegrity = page.locator('a[href*="integrity.html"]'); @@ -248,7 +245,7 @@ export default class HomePageSanity { element: this.government, conditions: { defaultVisibility: true, - excludeCountries: ['Germany', 'France', 'Greece', 'Italy', 'Saudi Arabia', 'Finland', 'Japan'], + excludeCountries: ['France', 'Greece', 'Italy', 'Saudi Arabia', 'Finland', 'Japan'], }, }, { @@ -261,7 +258,7 @@ export default class HomePageSanity { 'Finland', 'Sweden', 'Switzerland Italian', 'Turkey', 'Czech Republic', 'Bulgaria', 'Russia', 'Ukraine', 'Israel Hebrew', 'UAE', 'Middle East And North Africa', 'Kingdom Of Saudi Arabia', 'Egypt', 'Kuwait', 'Qatar', 'Indonesia', 'Malaysia', 'Philippines', 'Vietnam', 'India Hindi', 'Thailand', - 'Hong Kong', 'Taiwan', 'Japan', 'Korea', 'Latvia', 'Denmark', 'Norway', 'Canada French'], + 'Hong Kong', 'Taiwan', 'Japan', 'Korea', 'Latvia', 'Denmark', 'Norway', 'United States'], }, }, { @@ -274,13 +271,13 @@ export default class HomePageSanity { 'Finland', 'Sweden', 'Switzerland Italian', 'Turkey', 'Czech Republic', 'Bulgaria', 'Russia', 'Ukraine', 'Israel Hebrew', 'UAE', 'Middle East And North Africa', 'Kingdom Of Saudi Arabia', 'Egypt', 'Kuwait', 'Qatar', 'Indonesia', 'Malaysia', 'Philippines', 'Vietnam', 'India Hindi', 'Thailand', 'Hong Kong', - 'Taiwan', 'Japan', 'Korea', 'Latvia', 'Denmark', 'Norway', 'Canada French'], + 'Taiwan', 'Japan', 'Korea', 'Latvia', 'Denmark', 'Norway'], }, }, { element: this.pdfToWord, conditions: { defaultVisibility: true } }, { element: this.wordToPDF, conditions: { defaultVisibility: true } }, - { element: this.developerResources, conditions: { defaultVisibility: true } }, - { element: this.eventsAndWebinars, conditions: { defaultVisibility: true } }, + { element: this.developerResources, conditions: { defaultVisibility: true, excludeCountries: ['United States'] } }, + { element: this.eventsAndWebinars, conditions: { defaultVisibility: true, excludeCountries: ['United States'] } }, { element: this.consultationBeforePurchase, conditions: { includeCountries: ['Japan'] } }, { element: this.governmentTwo, conditions: { includeCountries: ['Japan'] } }, ]; @@ -305,34 +302,50 @@ export default class HomePageSanity { element: this.customerDataPlatform, conditions: { defaultVisibility: true, - excludeCountries: ['Brazil', 'India'], + excludeCountries: ['Brazil', 'India', 'United States'], }, }, - { element: this.marketingAutomation, conditions: { defaultVisibility: true } }, + { element: this.marketingAutomation, conditions: { defaultVisibility: true, excludeCountries: ['United States'] } }, { element: this.viewAllProductsEC, conditions: { defaultVisibility: true, includeCountries: ['Brazil', 'India'], + excludeCountries: ['United States'], }, }, - { element: this.adobeGenStudio, conditions: { defaultVisibility: true, excludeCountries: ['Brazil', 'India'] } }, - { element: this.aiAssistant, conditions: { defaultVisibility: true, excludeCountries: ['Brazil', 'India'] } }, + { element: this.adobeGenStudio, conditions: { defaultVisibility: true, excludeCountries: ['Brazil', 'India', 'United States'] } }, + { element: this.aiAssistant, conditions: { defaultVisibility: true, excludeCountries: ['Brazil', 'India', 'United States'] } }, { element: this.adobeExperiencePlatform, conditions: { defaultVisibility: true, - excludeCountries: ['Brazil', 'India'], + excludeCountries: ['Brazil', 'India', 'United States'], + }, + }, + { + element: this.adobeGenAI, + conditions: { + defaultVisibility: true, + includeCountries: ['Brazil'], + excludeCountries: ['United States'], }, }, - { element: this.adobeGenAI, conditions: { defaultVisibility: true, includeCountries: ['Brazil'] } }, { element: this.findProduct, conditions: { defaultVisibility: true, excludeCountries: ['Brazil', 'India'] } }, - { element: this.resourceCentre, conditions: { defaultVisibility: true, includeCountries: ['Brazil', 'India'] } }, + { + element: this.resourceCentre, + conditions: { + defaultVisibility: true, + includeCountries: ['Brazil', 'India'], + excludeCountries: ['United States'], + }, + }, { element: this.customerSuccessStories, conditions: { defaultVisibility: true, includeCountries: ['Brazil', 'India'], + excludeCountries: ['United States'], }, }, { @@ -340,10 +353,9 @@ export default class HomePageSanity { conditions: { defaultVisibility: true, includeCountries: ['Brazil', 'India'], + excludeCountries: ['United States'], }, }, - { element: this.training, conditions: { defaultVisibility: true, includeCountries: ['Brazil', 'India'] } }, - { element: this.insightsAndAudiences, conditions: { includeCountries: ['Brazil', 'India'] } }, { element: this.b2bMarketing, conditions: { includeCountries: ['Brazil', 'India'] } }, { element: this.requestAdemo, conditions: { includeCountries: ['Brazil', 'India'] } }, @@ -408,21 +420,20 @@ export default class HomePageSanity { { element: this.footerViewAllProducts, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { element: this.footerCreativeCloudForBusiness, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { element: this.footerAcrobatForBusiness, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, + { element: this.footerDiscountsForStudentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, + { element: this.footerDigitalLearningSolutions, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { - element: this.footerDiscountsForStudentsAndTeachers, + element: this.footerAppsforiOS, conditions: { defaultVisibility: true, - excludeCountries: ['Russia', 'China'], + excludeCountries: ['China', 'CIS English', 'CIS Russian', 'Egypt English', 'Kuwait English', 'Nigeria', 'Qatar English', + 'South Africa'], }, }, - { element: this.footerDigitalLearningSolutions, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, - { element: this.footerAppsforiOS, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { element: this.footerAppsforAndroid, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, - { element: this.footerWhatIsExperienceCloud, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { element: this.footerTermsOfUse, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { element: this.footerDownloadAndInstall, conditions: { defaultVisibility: true } }, { element: this.footerGenuineSoftware, conditions: { defaultVisibility: true } }, - { element: this.footerAdobeBlog, conditions: { defaultVisibility: true, excludeCountries: ['China'] } }, { element: this.footerLogInToYourAccount, conditions: { defaultVisibility: true } }, { element: this.footerAbout, conditions: { defaultVisibility: true } }, { element: this.footerIntegrity, conditions: { defaultVisibility: true } }, diff --git a/selectors/feds/feds.illustratorsanity.page.js b/selectors/feds/feds.illustratorsanity.page.js index db2a3e06..5841743a 100644 --- a/selectors/feds/feds.illustratorsanity.page.js +++ b/selectors/feds/feds.illustratorsanity.page.js @@ -109,7 +109,7 @@ export default class IllustratorPageSanity { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.individuals, conditions: { defaultVisibility: true, excludeCountries: ['Germany', 'France', 'India'] } }, @@ -244,7 +244,7 @@ export default class IllustratorPageSanity { async creativityAndDesignElements(country) { const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.business, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, @@ -312,7 +312,7 @@ export default class IllustratorPageSanity { await this.creativityAndDesign.click(); const elementsToCheck = [ - { element: this.whatIsCC, conditions: { defaultVisibility: true } }, + { element: this.whatIsCC, conditions: { defaultVisibility: true, excludeCountries: ['Germany'] } }, { element: this.photographers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.studentsAndTeachers, conditions: { defaultVisibility: true, excludeCountries: ['India'] } }, { element: this.individuals, conditions: { defaultVisibility: true, excludeCountries: ['Germany', 'France', 'India'] } }, diff --git a/tests/feds/creativeCloudUnavSanity.test.js b/tests/feds/creativeCloudUnavSanity.test.js index 34391f26..33dc26cf 100644 --- a/tests/feds/creativeCloudUnavSanity.test.js +++ b/tests/feds/creativeCloudUnavSanity.test.js @@ -25,7 +25,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingExplore(features[0].country); await creative.validatingLearnAndSupport(); await creative.validatingFooter(features[0].country); - await creative.validatingBuyNowButton(features[0].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[0].buyNowUrl}`); }); test(`${features[1].name}, ${features[1].tags}, ${features[1].country}`, async ({ page, baseURL }) => { @@ -42,7 +42,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[1].country); await creative.closingPromoButton(); await creative.validatingFooter(features[1].country); - await creative.validatingBuyNowButton(features[1].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[1].buyNowUrl}`); }); test(`${features[2].name}, ${features[2].tags}, ${features[2].country}`, async ({ page, baseURL }) => { @@ -58,7 +58,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[2].country); await creative.closingPromoButton(); await creative.validatingFooter(features[2].country); - await creative.validatingBuyNowButton(features[2].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[2].buyNowUrl}`); }); test(`${features[3].name}, ${features[3].tags}, ${features[3].country}`, async ({ page, baseURL }) => { @@ -75,7 +75,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[3].country); await creative.closingPromoButton(); await creative.validatingFooter(features[3].country); - await creative.validatingBuyNowButton(features[3].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[3].buyNowUrl}`); }); test(`${features[4].name}, ${features[4].tags}, ${features[4].country}`, async ({ page, baseURL }) => { @@ -91,7 +91,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingSubjectArea(features[4].country); await creative.validatingTrainingAndSupport(features[4].country); await creative.validatingFooter(features[4].country); - await creative.validatingBuyNowButton(features[4].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[4].buyNowUrl}`); }); test(`${features[5].name}, ${features[5].tags}, ${features[5].country}`, async ({ page, baseURL }) => { @@ -107,7 +107,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[5].country); - await creative.validatingBuyNowButton(features[5].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[5].buyNowUrl}`); }); test(`${features[6].name}, ${features[6].tags}, ${features[6].country}`, async ({ page, baseURL }) => { @@ -123,7 +123,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingSubjectArea(features[6].country); await creative.validatingTrainingAndSupport(features[6].country); await creative.validatingFooter(features[6].country); - await creative.validatingBuyNowButton(features[6].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[6].buyNowUrl}`); }); test(`${features[7].name}, ${features[7].tags}, ${features[7].country}`, async ({ page, baseURL }) => { @@ -139,7 +139,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[7].country); - await creative.validatingBuyNowButton(features[7].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[7].buyNowUrl}`); }); test(`${features[8].name}, ${features[8].tags}, ${features[8].country}`, async ({ page, baseURL }) => { @@ -156,7 +156,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[8].country); await creative.closingPromoButton(); await creative.validatingFooter(features[8].country); - await creative.validatingBuyNowButton(features[8].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[8].buyNowUrl}`); }); test(`${features[9].name}, ${features[9].tags}, ${features[9].country}`, async ({ page, baseURL }) => { @@ -171,7 +171,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingExplore(features[9].country); await creative.validatingLearnAndSupport(); await creative.validatingFooter(features[9].country); - await creative.validatingBuyNowButton(features[9].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[9].buyNowUrl}`); }); test(`${features[10].name}, ${features[10].tags}, ${features[10].country}`, async ({ page, baseURL }) => { @@ -187,7 +187,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[10].country); - await creative.validatingBuyNowButton(features[10].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[10].buyNowUrl}`); }); test(`${features[11].name}, ${features[11].tags}, ${features[11].country}`, async ({ page, baseURL }) => { @@ -203,7 +203,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[11].country); - await creative.validatingBuyNowButton(features[11].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[11].buyNowUrl}`); }); test(`${features[12].name}, ${features[12].tags}, ${features[12].country}`, async ({ page, baseURL }) => { @@ -219,7 +219,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[12].country); - await creative.validatingBuyNowButton(features[12].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[12].buyNowUrl}`); }); test(`${features[13].name}, ${features[13].tags}, ${features[13].country}`, async ({ page, baseURL }) => { @@ -236,7 +236,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[13].country); await creative.closingPromoButton(); await creative.validatingFooter(features[13].country); - await creative.validatingBuyNowButton(features[13].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[13].buyNowUrl}`); }); test(`${features[14].name}, ${features[14].tags}, ${features[14].country}`, async ({ page, baseURL }) => { @@ -252,7 +252,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[14].country); - await creative.validatingBuyNowButton(features[14].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[14].buyNowUrl}`); }); test(`${features[15].name}, ${features[15].tags}, ${features[15].country}`, async ({ page, baseURL }) => { @@ -268,7 +268,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[15].country); - await creative.validatingBuyNowButton(features[15].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[15].buyNowUrl}`); }); test(`${features[16].name}, ${features[16].tags}, ${features[16].country}`, async ({ page, baseURL }) => { @@ -284,7 +284,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[16].country); - await creative.validatingBuyNowButton(features[16].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[16].buyNowUrl}`); }); test(`${features[17].name}, ${features[17].tags}, ${features[17].country}`, async ({ page, baseURL }) => { @@ -299,9 +299,9 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingProgram(features[17].country); await creative.validatingSubjectArea(features[17].country); await creative.validatingTrainingAndSupport(features[17].country); - await creative.closingPromoButton(); + // await creative.closingPromoButton(); await creative.validatingFooter(features[17].country); - await creative.validatingBuyNowButton(features[17].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[17].buyNowUrl}`); }); test(`${features[18].name}, ${features[18].tags}, ${features[18].country}`, async ({ page, baseURL }) => { @@ -317,7 +317,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[18].country); - await creative.validatingBuyNowButton(features[18].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[18].buyNowUrl}`); }); test(`${features[19].name}, ${features[19].tags}, ${features[19].country}`, async ({ page, baseURL }) => { @@ -334,7 +334,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[19].country); await creative.closingPromoButton(); await creative.validatingFooter(features[19].country); - await creative.validatingBuyNowButton(features[19].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[19].buyNowUrl}`); }); test(`${features[20].name}, ${features[20].tags}, ${features[20].country}`, async ({ page, baseURL }) => { @@ -350,7 +350,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[20].country); - await creative.validatingBuyNowButton(features[20].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[20].buyNowUrl}`); }); test(`${features[21].name}, ${features[21].tags}, ${features[21].country}`, async ({ page, baseURL }) => { @@ -366,7 +366,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[21].country); - await creative.validatingBuyNowButton(features[21].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[21].buyNowUrl}`); }); test(`${features[22].name}, ${features[22].tags}, ${features[22].country}`, async ({ page, baseURL }) => { @@ -382,6 +382,6 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[22].country); - await creative.validatingBuyNowButton(features[22].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[22].buyNowUrl}`); }); }); diff --git a/tests/feds/tabCreativeCloudUnavSanity.test.js b/tests/feds/tabCreativeCloudUnavSanity.test.js index 694f1e91..0401a8ba 100644 --- a/tests/feds/tabCreativeCloudUnavSanity.test.js +++ b/tests/feds/tabCreativeCloudUnavSanity.test.js @@ -25,7 +25,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingExplore(features[0].country); await creative.validatingLearnAndSupport(); await creative.validatingFooter(features[0].country); - await creative.validatingBuyNowButton(features[0].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[0].buyNowUrl}`); }); test(`${features[1].name}, ${features[1].tags}, ${features[1].country}`, async ({ page, baseURL }) => { @@ -42,7 +42,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[1].country); await creative.closingPromoButton(); await creative.validatingFooter(features[1].country); - await creative.validatingBuyNowButton(features[1].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[1].buyNowUrl}`); }); test(`${features[2].name}, ${features[2].tags}, ${features[2].country}`, async ({ page, baseURL }) => { @@ -58,7 +58,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[2].country); await creative.closingPromoButton(); await creative.validatingFooter(features[2].country); - await creative.validatingBuyNowButton(features[2].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[2].buyNowUrl}`); }); test(`${features[3].name}, ${features[3].tags}, ${features[3].country}`, async ({ page, baseURL }) => { @@ -75,7 +75,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[3].country); await creative.closingPromoButton(); await creative.validatingFooter(features[3].country); - await creative.validatingBuyNowButton(features[3].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[3].buyNowUrl}`); }); test(`${features[4].name}, ${features[4].tags}, ${features[4].country}`, async ({ page, baseURL }) => { @@ -91,7 +91,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingSubjectArea(features[4].country); await creative.validatingTrainingAndSupport(features[4].country); await creative.validatingFooter(features[4].country); - await creative.validatingBuyNowButton(features[4].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[4].buyNowUrl}`); }); test(`${features[5].name}, ${features[5].tags}, ${features[5].country}`, async ({ page, baseURL }) => { @@ -107,7 +107,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[5].country); - await creative.validatingBuyNowButton(features[5].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[5].buyNowUrl}`); }); test(`${features[6].name}, ${features[6].tags}, ${features[6].country}`, async ({ page, baseURL }) => { @@ -123,7 +123,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingSubjectArea(features[6].country); await creative.validatingTrainingAndSupport(features[6].country); await creative.validatingFooter(features[6].country); - await creative.validatingBuyNowButton(features[6].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[6].buyNowUrl}`); }); test(`${features[7].name}, ${features[7].tags}, ${features[7].country}`, async ({ page, baseURL }) => { @@ -138,7 +138,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingExplore(features[7].country); await creative.validatingLearnAndSupport(); await creative.validatingFooter(features[7].country); - await creative.validatingBuyNowButton(features[7].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[7].buyNowUrl}`); }); test(`${features[8].name}, ${features[8].tags}, ${features[8].country}`, async ({ page, baseURL }) => { @@ -155,7 +155,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[8].country); await creative.closingPromoButton(); await creative.validatingFooter(features[8].country); - await creative.validatingBuyNowButton(features[8].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[8].buyNowUrl}`); }); test(`${features[9].name}, ${features[9].tags}, ${features[9].country}`, async ({ page, baseURL }) => { @@ -170,7 +170,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingExplore(features[9].country); await creative.validatingLearnAndSupport(); await creative.validatingFooter(features[9].country); - await creative.validatingBuyNowButton(features[9].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[9].buyNowUrl}`); }); test(`${features[10].name}, ${features[10].tags}, ${features[10].country}`, async ({ page, baseURL }) => { @@ -186,7 +186,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[10].country); - await creative.validatingBuyNowButton(features[10].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[10].buyNowUrl}`); }); test(`${features[11].name}, ${features[11].tags}, ${features[11].country}`, async ({ page, baseURL }) => { @@ -202,7 +202,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[11].country); - await creative.validatingBuyNowButton(features[11].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[11].buyNowUrl}`); }); test(`${features[12].name}, ${features[12].tags}, ${features[12].country}`, async ({ page, baseURL }) => { @@ -218,7 +218,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[12].country); - await creative.validatingBuyNowButton(features[12].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[12].buyNowUrl}`); }); test(`${features[13].name}, ${features[13].tags}, ${features[13].country}`, async ({ page, baseURL }) => { @@ -235,7 +235,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[13].country); await creative.closingPromoButton(); await creative.validatingFooter(features[13].country); - await creative.validatingBuyNowButton(features[13].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[13].buyNowUrl}`); }); test(`${features[14].name}, ${features[14].tags}, ${features[14].country}`, async ({ page, baseURL }) => { @@ -251,7 +251,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[14].country); - await creative.validatingBuyNowButton(features[14].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[14].buyNowUrl}`); }); test(`${features[15].name}, ${features[15].tags}, ${features[15].country}`, async ({ page, baseURL }) => { @@ -267,7 +267,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[15].country); - await creative.validatingBuyNowButton(features[15].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[15].buyNowUrl}`); }); test(`${features[16].name}, ${features[16].tags}, ${features[16].country}`, async ({ page, baseURL }) => { @@ -283,7 +283,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[16].country); - await creative.validatingBuyNowButton(features[16].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[16].buyNowUrl}`); }); test(`${features[17].name}, ${features[17].tags}, ${features[17].country}`, async ({ page, baseURL }) => { @@ -300,7 +300,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[17].country); await creative.closingPromoButton(); await creative.validatingFooter(features[17].country); - await creative.validatingBuyNowButton(features[17].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[17].buyNowUrl}`); }); test(`${features[18].name}, ${features[18].tags}, ${features[18].country}`, async ({ page, baseURL }) => { @@ -316,7 +316,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[18].country); - await creative.validatingBuyNowButton(features[18].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[18].buyNowUrl}`); }); test(`${features[19].name}, ${features[19].tags}, ${features[19].country}`, async ({ page, baseURL }) => { @@ -333,7 +333,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingTrainingAndSupport(features[19].country); await creative.closingPromoButton(); await creative.validatingFooter(features[19].country); - await creative.validatingBuyNowButton(features[19].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[19].buyNowUrl}`); }); test(`${features[20].name}, ${features[20].tags}, ${features[20].country}`, async ({ page, baseURL }) => { @@ -349,7 +349,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[20].country); - await creative.validatingBuyNowButton(features[20].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[20].buyNowUrl}`); }); test(`${features[21].name}, ${features[21].tags}, ${features[21].country}`, async ({ page, baseURL }) => { @@ -365,7 +365,7 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[21].country); - await creative.validatingBuyNowButton(features[21].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[21].buyNowUrl}`); }); test(`${features[22].name}, ${features[22].tags}, ${features[22].country}`, async ({ page, baseURL }) => { @@ -381,6 +381,6 @@ test.describe('Test Suite for Creative Cloud Page Components', () => { await creative.validatingLearnAndSupport(); await creative.closingPromoButton(); await creative.validatingFooter(features[22].country); - await creative.validatingBuyNowButton(features[22].buyNowUrl); + await creative.validatingBuyNowButton(`${baseURL}${features[22].buyNowUrl}`); }); });