fix(page-context): correct enterprise_influxdb URL pattern matching
- Changed pattern from /enterprise_v1/ to /enterprise_influxdb/ - Fixes Ask AI example questions not showing correctly for Enterprise v1 - Pattern now matches actual URL structure /enterprise_influxdb/v1/ - All 27 e2e tests passingjts-askai-group-filters
parent
b81bf84ee5
commit
c2a49b1134
|
|
@ -43,7 +43,7 @@ function getCurrentProductData() {
|
|||
urls: influxdbUrls.core,
|
||||
},
|
||||
{
|
||||
pattern: /\/enterprise_v1\//,
|
||||
pattern: /\/enterprise_influxdb\//,
|
||||
product: products.enterprise_influxdb,
|
||||
urls: influxdbUrls.oss,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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(' ');
|
||||
|
|
|
|||
Loading…
Reference in New Issue