feat: deprecate combine text and update templates (#7690)
* update template to use prompt
* [autofix.ci] apply automated fixes
* ✨ (generalBugs-shard-5.spec.ts): introduce new function addLegacyComponents to handle legacy components in tests
---------
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
73c2582381
commit
8433d72ba3
3 changed files with 549 additions and 498 deletions
|
|
@ -8,6 +8,7 @@ class CombineTextComponent(Component):
|
|||
description = "Concatenate two text sources into a single text chunk using a specified delimiter."
|
||||
icon = "merge"
|
||||
name = "CombineText"
|
||||
legacy: bool = True
|
||||
|
||||
inputs = [
|
||||
MessageTextInput(
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +1,5 @@
|
|||
import { expect, test } from "@playwright/test";
|
||||
import { addLegacyComponents } from "../../utils/add-legacy-components";
|
||||
import { awaitBootstrapTest } from "../../utils/await-bootstrap-test";
|
||||
import { zoomOut } from "../../utils/zoom-out";
|
||||
|
||||
|
|
@ -14,6 +15,8 @@ test(
|
|||
|
||||
await page.getByTestId("blank-flow").click();
|
||||
|
||||
await addLegacyComponents(page);
|
||||
|
||||
await page.getByTestId("sidebar-search-input").click();
|
||||
await page.getByTestId("sidebar-search-input").fill("text input");
|
||||
await page.waitForSelector('[data-testid="inputsText Input"]', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue