ref: sidebar experience improvement with new bundles (#8824)
* cohere sidebar * side bar embeddings * move memories * sort style utils * [autofix.ci] apply automated fixes * serach components add * Update __init__.py * Update styleUtils.ts * [autofix.ci] apply automated fixes * Update model_input_constants.py * fix lint * update to wikipedia * ✨ (tableInputComponent.spec.ts): Refactor test to use for loops for better readability and efficiency ✨ (filterEdge-shard-1.spec.ts): Update model names for better clarity and consistency 🐛 (duckduckgo.spec.ts): Update selector for search button to match changes in the frontend 🐛 (generalBugs-shard-11.spec.ts): Update selector for search button to match changes in the frontend * [autofix.ci] apply automated fixes * update tests path * update tests * Update test_arxiv_component.py * [autofix.ci] apply automated fixes * make embeddings functions --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
This commit is contained in:
parent
dc671ae204
commit
e28093234b
84 changed files with 264 additions and 238 deletions
|
|
@ -75,7 +75,7 @@ test(
|
|||
"vectorstoresAstra DB",
|
||||
"langchain_utilitiesTool Calling Agent",
|
||||
"langchain_utilitiesConversationChain",
|
||||
"memoriesMem0 Chat Memory",
|
||||
"mem0Mem0 Chat Memory",
|
||||
"logicCondition",
|
||||
"langchain_utilitiesSelf Query Retriever",
|
||||
"langchain_utilitiesCharacterTextSplitter",
|
||||
|
|
@ -101,15 +101,15 @@ test(
|
|||
await page.getByTestId("sidebar-search-input").click();
|
||||
|
||||
const visibleModelSpecsTestIds = [
|
||||
"languagemodelsCohere",
|
||||
"languagemodelsGroq",
|
||||
"languagemodelsLM Studio",
|
||||
"languagemodelsMaritalk",
|
||||
"languagemodelsMistralAI",
|
||||
"languagemodelsPerplexity",
|
||||
"languagemodelsQianfan",
|
||||
"languagemodelsSambaNova",
|
||||
"languagemodelsxAI",
|
||||
"cohereCohere Language Models",
|
||||
"groqGroq",
|
||||
"lmstudioLM Studio",
|
||||
"maritalkMaritalk",
|
||||
"mistralMistralAI",
|
||||
"perplexityPerplexity",
|
||||
"baiduQianfan",
|
||||
"sambanovaSambaNova",
|
||||
"xaixAI",
|
||||
];
|
||||
|
||||
await Promise.all(
|
||||
|
|
|
|||
|
|
@ -11,12 +11,15 @@ test(
|
|||
await page.getByTestId("sidebar-search-input").click();
|
||||
await page.getByTestId("sidebar-search-input").fill("duck");
|
||||
|
||||
await page.waitForSelector('[data-testid="searchDuckDuckGo Search"]', {
|
||||
timeout: 3000,
|
||||
});
|
||||
await page.waitForSelector(
|
||||
'[data-testid="disclosure-bundles-duckduckgo"]',
|
||||
{
|
||||
timeout: 3000,
|
||||
},
|
||||
);
|
||||
|
||||
await page
|
||||
.getByTestId("searchDuckDuckGo Search")
|
||||
.getByTestId("duckduckgoDuckDuckGo Search")
|
||||
.hover()
|
||||
.then(async () => {
|
||||
await page
|
||||
|
|
|
|||
|
|
@ -49,14 +49,14 @@ test(
|
|||
|
||||
await page.getByTestId("sidebar-search-input").click();
|
||||
await page.getByTestId("sidebar-search-input").fill("search api");
|
||||
await page.waitForSelector('[data-testid="searchSearch API"]', {
|
||||
await page.waitForSelector('[data-testid="searchapiSearch API"]', {
|
||||
timeout: 1000,
|
||||
});
|
||||
|
||||
await zoomOut(page, 3);
|
||||
|
||||
await page
|
||||
.getByTestId("searchSearch API")
|
||||
.getByTestId("searchapiSearch API")
|
||||
.dragTo(page.locator('//*[@id="react-flow-id"]'), {
|
||||
targetPosition: { x: 100, y: 100 },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue