Publish curated Unraid-AppOps-Gateway source from 034c9f844d2455850ba37b31379b7edaa786583e
This commit is contained in:
1 parent
c61fbfd87f
commit
1a54836efc
101 files changed
+4973
-1298
No files matched your search
@@ -16,12 +16,13 @@ describe("accessible operator shell", () => {
|
||||
|
||||
it("announces read-only state without claiming the status data is locked", () => {
|
||||
assert.match(banner, /role="status" aria-live="polite"/);
|
||||
assert.match(banner, /Read-only modus/);
|
||||
assert.match(banner, /Operatorsessie ontgrendelen/);
|
||||
assert.match(banner, /Alleen lezen/);
|
||||
assert.match(banner, /Je beheerder kan extra rechten toekennen/);
|
||||
assert.doesNotMatch(banner, /ontgrendel|operator-token/i);
|
||||
});
|
||||
|
||||
it("keeps notification mutations and write-only channel fields locked without an operator session", () => {
|
||||
assert.match(notifications, /const unlocked = useOperatorSession\(\)/);
|
||||
it("keeps notification mutations and write-only channel fields locked without notification permissions", () => {
|
||||
assert.match(notifications, /const unlocked = usePermission\("notifications.manage"\)/);
|
||||
assert.match(notifications, /disabled=\{!unlocked \|\| working !== null\}/);
|
||||
assert.match(notifications, /disabled=\{!unlocked\} className="border-slate-800 bg-slate-950 text-slate-100"/);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user