fix tests on CI
This commit is contained in:
parent
b645d17c87
commit
b833746609
36 changed files with 36 additions and 9 deletions
|
|
@ -18,11 +18,7 @@ export default function NewFlowCardComponent() {
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.error("flow.data", "new flow");
|
|
||||||
console.error("flow.data", "new flow");
|
|
||||||
addFlow(true).then((id) => {
|
addFlow(true).then((id) => {
|
||||||
console.error("flow.data", id);
|
|
||||||
console.error("flow.data", id);
|
|
||||||
setFolderUrl(folderId ?? "");
|
setFolderUrl(folderId ?? "");
|
||||||
navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`);
|
navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -105,12 +105,8 @@ export default function UndrawCardComponent({
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.error("flow.data", flow.data);
|
|
||||||
console.error("flow.data", flow);
|
|
||||||
|
|
||||||
updateIds(flow.data!);
|
updateIds(flow.data!);
|
||||||
addFlow(true, flow).then((id) => {
|
addFlow(true, flow).then((id) => {
|
||||||
console.error("flow.data", flow);
|
|
||||||
setFolderUrl(folderId ?? "");
|
setFolderUrl(folderId ?? "");
|
||||||
navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`);
|
navigate(`/flow/${id}${folderId ? `/folder/${folderId}` : ""}`);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -17,5 +17,40 @@
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"noImplicitAny": false
|
"noImplicitAny": false
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": [
|
||||||
|
"src",
|
||||||
|
"tests/end-to-end/saveComponents.spec.ts",
|
||||||
|
"tests/end-to-end/actionsMainPage.spec.ts",
|
||||||
|
"tests/end-to-end/auto_login.spec.ts",
|
||||||
|
"tests/end-to-end/chatInputOutput.spec.ts",
|
||||||
|
"tests/end-to-end/chatInputOutputUser.spec.ts",
|
||||||
|
"tests/end-to-end/codeAreaModalComponent.spec.ts",
|
||||||
|
"tests/end-to-end/curl_api_generation.spec.ts",
|
||||||
|
"tests/end-to-end/deleteComponentFlows.spec.ts",
|
||||||
|
"tests/end-to-end/dragAndDrop.spec.ts",
|
||||||
|
"tests/end-to-end/dropdownComponent.spec.ts",
|
||||||
|
"tests/end-to-end/fileUploadComponent.spec.ts",
|
||||||
|
"tests/end-to-end/filterEdge.spec.ts",
|
||||||
|
"tests/end-to-end/floatComponent.spec.ts",
|
||||||
|
"tests/end-to-end/flowPage.spec.ts",
|
||||||
|
"tests/end-to-end/flowSettings.spec.ts",
|
||||||
|
"tests/end-to-end/generalBugs.spec.ts",
|
||||||
|
"tests/end-to-end/globalVariables.spec.ts",
|
||||||
|
"tests/end-to-end/group.spec.ts",
|
||||||
|
"tests/end-to-end/folders.spec.ts",
|
||||||
|
"tests/end-to-end/inputComponent.spec.ts",
|
||||||
|
"tests/end-to-end/inputListComponent.spec.ts",
|
||||||
|
"tests/end-to-end/intComponent.spec.ts",
|
||||||
|
"tests/end-to-end/keyPairListComponent.spec.ts",
|
||||||
|
"tests/end-to-end/langflowShortcuts.spec.ts",
|
||||||
|
"tests/end-to-end/nestedComponent.spec.ts",
|
||||||
|
"tests/end-to-end/promptModalComponent.spec.ts",
|
||||||
|
"tests/end-to-end/python_api_generation.spec.ts",
|
||||||
|
"tests/end-to-end/textAreaModalComponent.spec.ts",
|
||||||
|
"tests/end-to-end/textInputOutput.spec.ts",
|
||||||
|
"tests/end-to-end/toggleComponent.spec.ts",
|
||||||
|
"tests/end-to-end/tweaks_test.spec.ts",
|
||||||
|
"tests/end-to-end/twoEdges.spec.ts",
|
||||||
|
"tests/end-to-end/userSettings.spec.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue