Not able to use `tab` helper
See original GitHub issueHello, I need some help !
When I do:
import helpers from '@ember/test-helpers';
In the helpers
object, I don’t have the tab
util.
I already tried with the latest version.
Is it normal? Should I do something specific?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to Fix Alt-Tab Shortcut Not Working on Windows 10
We hope our guide and tips were able to help you resolve your issues with the Alt-Tab shortcut not working on Windows 10....
Read more >Use tabs in Chrome - Computer - Google Support
Unpin a tab: Right-click the tab and select Unpin. Move a tab to a different window: Make sure both windows are signed in...
Read more >Visual Studio Code Tab Key does not insert a tab
Keybinding for ⇥ Tab isn't set to anything so you have to do it manually · Navigate to Preferences/Environment/Keybindings and search for "tab"...
Read more >Chromium Docs - Tab Helpers
Sometimes it's useful to re-use tab helpers for WebContents es that aren't browser tabs. For example, the Chrome Apps code wants to be...
Read more >Internet Explorer Security Fix: Chrome + IE Tab
IE Tab gives you the ability to use the Internet Explorer rendering engine within a tab in Chrome so you do not have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @ro0gr,
We’ve set up a minimal reproduction case.
The GitHub Action CI should fail because of the issue we have.
You can also run it locally with:
npm ci
(we’re using Node 16.14.0)npm test
ornpm start
then going to http://localhost:4200/testsThe simple test we have is in the /tests/unit/components/trap-focus-test.js file. As you can see there,
tap
is imported and is a function buttab
is not for some reason.There is a warning because Ember CLI is not tested in our Node version because we’re using the Ember 3.18.0 (the same issues occur with Ember 3.27.0) but we guessed it shouldn’t cause this particular issue. (Our apps are slowly migrating to Ember 4).
Let us know if we can give you more informations.
Thanks by advance!
We added a trap-focus to a modal component with a modifier, and we wanted to test it. Here is the current branch https://github.com/1024pix/pix-ui/compare/dev...pix-5157-add-trap-focus.
Currently, in the project, the
@ember/test-helpers
version is 2.6.0, but I tried locally with the most recent one. So, after updating it, I tried to import thetab
util, but I wasn’t able to do it. Whereas, I have no trouble with thetap
one, for example.