-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active window watching mechanism implemented #49
Conversation
0763a13
to
83fd28b
Compare
lgtm |
FPR |
I think we need tests that cover the following scenarious: |
The top window is active always while the page is loading and our scripts initializing. What the reason of testing scenarios when an iframe is active at test start?
This tests - unit tests for the active-window module. The Shadow UI has no relation to this |
ok, we have discussed it personally. We'll add two tests:
|
150f1f0
to
67da233
Compare
2c3edb7
to
396c15f
Compare
} | ||
} | ||
|
||
export function init () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we have init() function I think it should be better to call this ActiveWindowTracker and make it class instead of set of functions (moreover it has internal state)
396c15f
to
ac0293f
Compare
ac0293f
to
ee058d7
Compare
ee058d7
to
224a472
Compare
224a472
to
263cd31
Compare
What's going on here? |
PR closed due to wrong merging |
It's necessary to fix the T235186 TestCafe bug
/cc @miherlosev @LavrovArtem @inikulin
@VasilyStrelyaev please check the note in the src/client/sandboxes/event/active-window.js file