diff --git a/assets/js/page-context.js b/assets/js/page-context.js index 5566f2f04..695f73194 100644 --- a/assets/js/page-context.js +++ b/assets/js/page-context.js @@ -43,7 +43,7 @@ function getCurrentProductData() { urls: influxdbUrls.core, }, { - pattern: /\/enterprise_v1\//, + pattern: /\/enterprise_influxdb\//, product: products.enterprise_influxdb, urls: influxdbUrls.oss, }, diff --git a/cypress/e2e/page-context.cy.js b/cypress/e2e/page-context.cy.js index 52c946017..87567afea 100644 --- a/cypress/e2e/page-context.cy.js +++ b/cypress/e2e/page-context.cy.js @@ -171,9 +171,8 @@ describe('Product Data Validation - AI Questions', function () { expect(products.influxdb3_cloud_serverless.name).to.equal( 'InfluxDB Cloud Serverless' ); - expect( - products.influxdb3_cloud_serverless.ai_sample_questions - ).to.exist; + expect(products.influxdb3_cloud_serverless.ai_sample_questions).to + .exist; const questionsText = products.influxdb3_cloud_serverless.ai_sample_questions.join(' ');