Beam

Matrix / Account menu items on hover

Account menu items on hover

Not runNot from a Kane issueMeasured on Kane 0.10.9 and 0.10.8

Hovering over "Account" reveals a menu with "Profile", "Billing" and "Sign out". The broken page's Account menu has "Profile" and "Sign out" but no "Billing" item.

What your agent will do with Beam installed

Not measured yet.

Results

Before each check, Kane does: Hover over "Account".

WordingKaneCorrect pageBroken pageResult
Verify the Account menu has a "Billing" option.Not run yet
Verify that after hovering over "Account", an item with the exact text "Billing" is visible in the menu.Not run yet

The two pages

These are live. To see the difference, do what Kane does: Hover over "Account".

Correct page Kane should passOpen full page
Source
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>dashboard</title>
<style>
  body { font-family: sans-serif; }
  .menu { position: relative; display: inline-block; }
  .trigger { padding: 8px 12px; border: 1px solid #888; background: #fff; cursor: pointer; }
  .items { display: none; position: absolute; top: 100%; left: 0; min-width: 140px; background: #fff; border: 1px solid #888; }
  .menu:hover .items { display: block; }
  .items a { display: block; padding: 8px 12px; color: #000; text-decoration: none; }
  .items a:hover { background: #eee; }
</style></head><body>
<h1>Dashboard</h1>
<div class="menu">
  <button class="trigger" type="button">Account</button>
  <div class="items">
    <a href="#profile">Profile</a>
    <a href="#billing">Billing</a>
    <a href="#signout">Sign out</a>
  </div>
</div>
</body></html>
Broken page Kane should failOpen full page
Source
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>dashboard</title>
<style>
  body { font-family: sans-serif; }
  .menu { position: relative; display: inline-block; }
  .trigger { padding: 8px 12px; border: 1px solid #888; background: #fff; cursor: pointer; }
  .items { display: none; position: absolute; top: 100%; left: 0; min-width: 140px; background: #fff; border: 1px solid #888; }
  .menu:hover .items { display: block; }
  .items a { display: block; padding: 8px 12px; color: #000; text-decoration: none; }
  .items a:hover { background: #eee; }
</style></head><body>
<h1>Dashboard</h1>
<div class="menu">
  <button class="trigger" type="button">Account</button>
  <div class="items">
    <a href="#profile">Profile</a>
    <a href="#signout">Sign out</a>
  </div>
</div>
</body></html>

Reproduce it

Clone the repo, then run this behavior on your own Kane:

npm run suite -- hover-menu