fix: readded output inspection shortcut (#6812)
* Implemented logFirstMessage function to see if the outputName is the first message possible * Only render outputs hidden if showHiddenOutputs is true * Implemented open and setOpen on OutputModal * Add open output inspection shortcut * Added data-testid to output modal * Added test for output shortcut * fixed chatinputoutputuser test * Fixed tests * fixed tests * fixed url test name * Fixed loop test * fixed similarity test * fixed generalbugs * fixed timeouts * fix general bugs * Fixed tests * Fix timeouts * Changed timeouts * fix general bugs * Fix decision flow --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org> Co-authored-by: Carlos Coelho <80289056+carlosrcoelho@users.noreply.github.com>
This commit is contained in:
parent
5a13f32da5
commit
6416c0f983
10 changed files with 226 additions and 17 deletions
|
|
@ -84,7 +84,7 @@ test(
|
|||
timeout: 30000,
|
||||
});
|
||||
|
||||
await page.getByTestId("icon-TextSearchIcon").nth(4).click();
|
||||
await page.getByTestId("icon-TextSearchIcon").nth(2).click();
|
||||
|
||||
await page.getByText("Restart").isHidden();
|
||||
},
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ test(
|
|||
.click();
|
||||
await page
|
||||
.getByTestId("handle-createlist-shownode-data list-right")
|
||||
.nth(2)
|
||||
.nth(1)
|
||||
.click();
|
||||
await page
|
||||
.getByTestId("handle-parsedata-shownode-data-left")
|
||||
|
|
@ -265,7 +265,7 @@ test(
|
|||
.click();
|
||||
await page
|
||||
.getByTestId("handle-parsedata-shownode-message-right")
|
||||
.nth(2)
|
||||
.nth(1)
|
||||
.click();
|
||||
await page
|
||||
.getByTestId("handle-prompt-shownode-false_examples-left")
|
||||
|
|
@ -273,7 +273,7 @@ test(
|
|||
.click();
|
||||
await page
|
||||
.getByTestId("handle-pass-shownode-output message-right")
|
||||
.nth(4)
|
||||
.nth(2)
|
||||
.click();
|
||||
await page
|
||||
.getByTestId("handle-prompt-shownode-user_message-left")
|
||||
|
|
@ -330,7 +330,7 @@ test(
|
|||
.click();
|
||||
await page
|
||||
.getByTestId("handle-pass-shownode-output message-right")
|
||||
.nth(2)
|
||||
.nth(1)
|
||||
.click();
|
||||
await page
|
||||
.getByTestId("handle-chatoutput-noshownode-text-target")
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ test(
|
|||
//connection 4
|
||||
const textEmbedderOutput_1 = await page
|
||||
.getByTestId("handle-textembeddercomponent-shownode-embedding data-right")
|
||||
.nth(2);
|
||||
.nth(1);
|
||||
await textEmbedderOutput_1.hover();
|
||||
await page.mouse.down();
|
||||
await embeddingSimilarityInput.hover();
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ test(
|
|||
.first();
|
||||
const secondBlockedHandle = page
|
||||
.getByTestId("div-handle-combinetext-shownode-combined text-right")
|
||||
.nth(3);
|
||||
.nth(1);
|
||||
const thirdBlockedHandle = page
|
||||
.getByTestId("div-handle-textoutput-shownode-message-right")
|
||||
.first();
|
||||
|
|
@ -192,7 +192,7 @@ test(
|
|||
//connection 2
|
||||
const elementTextOutput1 = page
|
||||
.getByTestId("handle-textinput-shownode-message-right")
|
||||
.nth(4);
|
||||
.nth(2);
|
||||
await elementTextOutput1.click();
|
||||
const elementGroupInput1 = page
|
||||
.getByTestId("handle-groupnode-shownode-second text-left")
|
||||
|
|
@ -202,7 +202,7 @@ test(
|
|||
//connection 3
|
||||
const elementTextOutput2 = page
|
||||
.getByTestId("handle-textinput-shownode-message-right")
|
||||
.nth(2);
|
||||
.nth(1);
|
||||
await elementTextOutput2.click();
|
||||
|
||||
const elementGroupInput2 = page
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue