Skip to content
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

Allow (deprecated) HTML as admin UI in package tests #596

Merged
merged 4 commits into from
Apr 17, 2024

Conversation

mcm1957
Copy link
Contributor

@mcm1957 mcm1957 commented Apr 17, 2024

As the current schema still allows HTML UI and HTML UI still works as expected the adapetr checks should allow it too.
Otherwise those old adapter need to disable the package tests completly which is worse (in my opinion).

Link to io-package.json schema: https://github.com/ioBroker/ioBroker.js-controller/blob/79fe972a23cee7c7fbf65d19aba044827f843d25/schemas/io-package.json#L796

@@ -259,6 +259,7 @@ export function validatePackageFiles(adapterDir: string): void {
it("The adapter uses Material UI or JSON Config for the admin UI", () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
it("The adapter uses Material UI or JSON Config for the admin UI", () => {
it("The adapter uses a supported admin UI", () => {

src/tests/packageFiles/index.ts Show resolved Hide resolved
mcm1957 and others added 2 commits April 17, 2024 08:45
Co-authored-by: AlCalzone <d.griesel@gmx.net>
@AlCalzone AlCalzone changed the title Update index.ts - allow common.adminui.config='html' Allow (deprecated) HTML as admin UI in package tests Apr 17, 2024
@AlCalzone AlCalzone merged commit 48bd5a7 into ioBroker:master Apr 17, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants