diff --git a/application/frontend/src/pages/Search/components/BodyText.tsx b/application/frontend/src/pages/Search/components/BodyText.tsx index 7e089c105..7347627b9 100644 --- a/application/frontend/src/pages/Search/components/BodyText.tsx +++ b/application/frontend/src/pages/Search/components/BodyText.tsx @@ -30,6 +30,9 @@ export const SearchBody = () => { into an AI model to create the world's first security-specialized chatbot. This ensures you get a more reliable answer, and also a reference to a reputable source. + + Use Map Analysis to find how any two Resources connect with eachother +

HOW?

OpenCRE links each section of a resource (like a standard or guideline) to a shared topic, known as a diff --git a/application/frontend/src/scaffolding/Header/Header.tsx b/application/frontend/src/scaffolding/Header/Header.tsx index f1d09813c..362c0176d 100644 --- a/application/frontend/src/scaffolding/Header/Header.tsx +++ b/application/frontend/src/scaffolding/Header/Header.tsx @@ -13,6 +13,10 @@ const getLinks = (): { to: string; name: string }[] => [ to: `/`, name: 'Open CRE', }, + { + to: `/chatbot`, + name: 'OpenCRE Chat', + }, { to: `/map_analysis`, name: 'Map analysis', diff --git a/application/frontend/src/test/basic-e2etest.ts b/application/frontend/src/test/basic-e2etest.ts index 6e5e855f7..e6dbe1caa 100644 --- a/application/frontend/src/test/basic-e2etest.ts +++ b/application/frontend/src/test/basic-e2etest.ts @@ -162,7 +162,7 @@ describe('App.js', () => { it('can smartlink', async () => { const response = await page.goto('http://127.0.0.1:5000/smartlink/standard/CWE/1002'); expect(response.url()).toBe('http://127.0.0.1:5000/node/standard/CWE/sectionid/1002'); - + const redirectResponse = await page.goto('http://127.0.0.1:5000/smartlink/standard/CWE/404'); page.waitForNavigation('networkidle2'); expect(redirectResponse.url()).toBe('https://cwe.mitre.org/data/definitions/404.html');