Remove the dead Profile link from the sidebar profile menu
CI / full-gate (push) Successful in 2m39s
CI / full-gate (push) Successful in 2m39s
This commit is contained in:
@@ -39,6 +39,7 @@ test("app shell renders sidebar, topbar and the content slot", async () => {
|
||||
// Sign out is a CSRF-guarded POST form (state change, not a GET link), carrying the token.
|
||||
assert.match(html, /<form class="menu-item-form" method="post" action="\/logout">/);
|
||||
assert.match(html, /<input type="hidden" name="_csrf" value="tok\.sig" \/>/);
|
||||
assert.doesNotMatch(html, /<button class="menu-item" type="button"/); // every item in the menu goes somewhere
|
||||
|
||||
// Branding, document title, and the inlined icon sprite (so <use> resolves).
|
||||
assert.match(html, /Acme Console/);
|
||||
|
||||
Reference in New Issue
Block a user