question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testing menu interaction

See original GitHub issue

Love the framework! 👍

Is there any way currently to test menu item functionality through spectron? I could test the code itself but that doesn’t take into account menu item states like enabled and visible.

If not, is there a suggested strategy for testing menu items?

Thanks!

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:14
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

17reactions
kevinsawickicommented, May 5, 2016

If not, is there a suggested strategy for testing menu items?

Not currently, the require('electron').remote.Menu.getApplicationMenu() API does not serialize to JSON so it can’t currently be fetched via Spectron.

This is something that should be added though 👍

7reactions
ulfrykcommented, Nov 14, 2017

Any updates on this one ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Testing menu interaction #21 - electron-userland/spectron
Is there any way currently to test menu item functionality through spectron? I could test the code itself but that doesn't take into...
Read more >
Under the microscope: user testing mobile menus
Without a standard approach, every site has to develop their own interaction pattern. Should menu items expand to show their children?
Read more >
menu interact type - TestArchitect Docs
Description Specifies which mouse action (click or hover) to take on each middle-level menu item. Allowable values click : (Default) click menu items...
Read more >
Menus | Interaction Programming (CSE 340) - Washington
After your application is turned in, you will test these menus in an experiment with others. The user study will include the following:....
Read more >
Testing task: Close submenu in interaction mode - ARIA-AT
Open 'Text Align' submenu. Using the following commands, Close the menu. Escape. Success Criteria. To pass this test, NVDA needs to meet all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found