From 6d27499475d416dbfc847d5a9c53fe57f1b10c53 Mon Sep 17 00:00:00 2001 From: Andrew Risse <52644157+andrewrisse@users.noreply.github.com> Date: Mon, 5 Aug 2024 08:22:47 -0600 Subject: [PATCH] chore(ui): improve reliability of playwright test in workflow --- .github/workflows/e2e-llama-cpp-python.yaml | 1 - .github/workflows/e2e-playwright.yaml | 1 - .github/workflows/e2e-text-embeddings.yaml | 1 - .github/workflows/e2e-vllm.yaml | 1 - .github/workflows/e2e-whisper.yaml | 1 - .github/workflows/lint.yaml | 1 - .github/workflows/pytest.yaml | 1 - .../src/routes/chat/(settings)/api-keys/+page.svelte | 1 + .../routes/chat/(settings)/file-management/+page.svelte | 1 + src/leapfrogai_ui/tests/api-keys.test.ts | 2 +- src/leapfrogai_ui/tests/file-management.test.ts | 8 ++++---- src/leapfrogai_ui/tests/helpers/fileHelpers.ts | 2 +- src/leapfrogai_ui/tests/helpers/helpers.ts | 5 ++++- 13 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/e2e-llama-cpp-python.yaml b/.github/workflows/e2e-llama-cpp-python.yaml index d2f0c777c..91671539b 100644 --- a/.github/workflows/e2e-llama-cpp-python.yaml +++ b/.github/workflows/e2e-llama-cpp-python.yaml @@ -5,7 +5,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned paths: diff --git a/.github/workflows/e2e-playwright.yaml b/.github/workflows/e2e-playwright.yaml index bf6524f9b..3c9ed5e4b 100644 --- a/.github/workflows/e2e-playwright.yaml +++ b/.github/workflows/e2e-playwright.yaml @@ -5,7 +5,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned paths: diff --git a/.github/workflows/e2e-text-embeddings.yaml b/.github/workflows/e2e-text-embeddings.yaml index d601bf75c..c9788426a 100644 --- a/.github/workflows/e2e-text-embeddings.yaml +++ b/.github/workflows/e2e-text-embeddings.yaml @@ -5,7 +5,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned paths: diff --git a/.github/workflows/e2e-vllm.yaml b/.github/workflows/e2e-vllm.yaml index 7c41a5fc2..94d81110b 100644 --- a/.github/workflows/e2e-vllm.yaml +++ b/.github/workflows/e2e-vllm.yaml @@ -5,7 +5,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned paths: diff --git a/.github/workflows/e2e-whisper.yaml b/.github/workflows/e2e-whisper.yaml index 6b365f890..696e3a136 100644 --- a/.github/workflows/e2e-whisper.yaml +++ b/.github/workflows/e2e-whisper.yaml @@ -5,7 +5,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned paths: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7450aa4ee..53be4a941 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -3,7 +3,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 3c53ca973..091dd3d45 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -3,7 +3,6 @@ on: pull_request: types: - ready_for_review - - review_requested - synchronize - milestoned paths: diff --git a/src/leapfrogai_ui/src/routes/chat/(settings)/api-keys/+page.svelte b/src/leapfrogai_ui/src/routes/chat/(settings)/api-keys/+page.svelte index 621906058..8c4b4ad62 100644 --- a/src/leapfrogai_ui/src/routes/chat/(settings)/api-keys/+page.svelte +++ b/src/leapfrogai_ui/src/routes/chat/(settings)/api-keys/+page.svelte @@ -125,6 +125,7 @@