feat: change params for models (#6992)
* feat: change advanced params for models
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* fix: ruff erros
* remove Redundant component
* refactor: streamline freeze-path test by removing redundant slider interactions and updating model selection
- Removed unnecessary wait for the default slider display value.
- Updated model selection to use 'gpt-4o-mini-0-option' for varied output in tests.
* [autofix.ci] apply automated fixes
* test: update slider component test to reflect new parameter values and structure
- Modified the test to replace a multiline string with updated values for the slider component.
- Ensured that the new code differs from the original to validate changes.
- Adjusted the test to fill the textarea with the new code after modification.
* ✅ (intComponent.spec.ts): update test assertions to match expected behavior for IntComponent regarding checkbox states
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
This commit is contained in:
parent
584833bed6
commit
100c4b8eba
36 changed files with 140 additions and 111 deletions
|
|
@ -35,14 +35,7 @@ test(
|
|||
await page.getByTestId("dropdown_str_model_name").click();
|
||||
await page.getByTestId("gpt-4o-1-option").click();
|
||||
|
||||
await page.waitForSelector('[data-testid="default_slider_display_value"]', {
|
||||
timeout: 1000,
|
||||
});
|
||||
|
||||
await page.getByTestId("fit_view").click();
|
||||
await page
|
||||
.getByTestId("default_slider_display_value")
|
||||
.click({ force: true });
|
||||
|
||||
await page.waitForSelector('[data-testid="button_run_chat output"]', {
|
||||
timeout: 1000,
|
||||
|
|
@ -68,11 +61,9 @@ test(
|
|||
|
||||
await page.getByText("Close").last().click();
|
||||
|
||||
await page.waitForSelector('[data-testid="default_slider_display_value"]', {
|
||||
timeout: 1000,
|
||||
});
|
||||
|
||||
await moveSlider(page, "right", false);
|
||||
// Change model to force different output
|
||||
await page.getByTestId("dropdown_str_model_name").click();
|
||||
await page.getByTestId("gpt-4o-mini-0-option").click();
|
||||
|
||||
await page.waitForSelector('[data-testid="button_run_chat output"]', {
|
||||
timeout: 1000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue