-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add: convert showing all environment images including uninstalled ones by config #2697
add: convert showing all environment images including uninstalled ones by config #2697
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5.47% (-0% 🔻) |
337/6157 |
🔴 | Branches | 5.06% (-0% 🔻) |
214/4232 |
🔴 | Functions | 3.11% | 63/2023 |
🔴 | Lines | 5.37% (-0% 🔻) |
323/6013 |
Test suite run success
90 tests passing in 11 suites.
Report generated by 🧪jest coverage report action from 7b8aaac
export async function readConfigFileFromPath(page: Page, rawPath) { | ||
const filePath = path.resolve(__dirname, rawPath); | ||
const mockData = await fs.readFile(filePath, 'utf-8'); | ||
await page.route('http://127.0.0.1:9081/config.toml', async (route) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use webuiEndpoint
from test-util.ts
instead of 127.0.0.1:9081
in this file and login.test.ts
.
bfe2eea
to
b0ebc2c
Compare
ae95a28
to
4eb23eb
Compare
import { loginAsAdmin, mockConfigToml, webuiEndpoint } from './test-util'; | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test.describe('config read and test', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test.describe('config read and test', () => { | |
test.describe('config.toml', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
…s by config (#2697) ### TL;DR Added option to show all environment images, regardless of installation status. ### What changed? - Introduced a new configuration option `showNonInstalledImages` in `config.toml.sample` - Updated `ImageEnvironmentSelectFormItems` component to use the new configuration - Added `showNonInstalledImages` to the `BackendAIConfig` type - Implemented the new configuration in the `BackendAILogin` component
8a6bc8e
to
e261a78
Compare
…s by config (#2697) ### TL;DR Added option to show all environment images, regardless of installation status. ### What changed? - Introduced a new configuration option `showNonInstalledImages` in `config.toml.sample` - Updated `ImageEnvironmentSelectFormItems` component to use the new configuration - Added `showNonInstalledImages` to the `BackendAIConfig` type - Implemented the new configuration in the `BackendAILogin` component
e261a78
to
7b8aaac
Compare
TL;DR
Added option to show all environment images, regardless of installation status.
What changed?
showNonInstalledImages
inconfig.toml.sample
ImageEnvironmentSelectFormItems
component to use the new configurationshowNonInstalledImages
to theBackendAIConfig
typeBackendAILogin
component