About Options.spec.ts #91
-
@diballesteros
Why does this test succeed in the master branch? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Good catch! It's a bug I forgot to create an issue for although with the sidebar it should't happen anymore. Basically since the entire modal and its component is inside of the menu a spacebar would cause the same menu to open/close in the background (behind the modal) and not register the space ' ' itself. So in the .type I had to enter the space twice. I'm not sure of the behavior once its a sidebar but I expect it can be left as .type('Emerald Kaizo'). If you check out the following line: It also has double spaces. This can also be left with single spaces in the .type() |
Beta Was this translation helpful? Give feedback.
Good catch! It's a bug I forgot to create an issue for although with the sidebar it should't happen anymore. Basically since the entire modal and its component is inside of the menu a spacebar would cause the same menu to open/close in the background (behind the modal) and not register the space ' ' itself. So in the .type I had to enter the space twice.
I'm not sure of the behavior once its a sidebar but I expect it can be left as .type('Emerald Kaizo').
If you check out the following line:
.type('Please implement new feature')
It also has double spaces. This can also be left with single spaces in the .type()