-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Pls send halp!] Cleaning up the test output #16391
Comments
I can have a look at Build Phase'assert' and 'SERIALIZATION_FIRST_NODE_STRING' are imported from external module '@glimmer/util' but never used |
I'll take a stab at Test Phase
|
I'd like to take a stab at Test Phase
The |
I Can have a look at |
Thanks folks, I’ve updated the issue accordingly |
I'll also take |
solves the task "WARNING: Library "magic" is already registered with Ember."
solves the task "Testing paused. Use resumeTest() to continue."
I think I have an idea how to handle the library version banner on app boot:
|
solves the task: `the library version banner on app boot`
I can have a look at:
:) |
solves the task: `DEPRECATION: Should not throw [deprecation id: test]`
Thanks @Draggha, noted 👍 |
I take
|
[CLEANUP beta] #16391 Cleaning up the test output
[CLEANUP beta] #16391 Cleaning up the test output
[CLEANUP beta] #16391 Cleaning up the test output
[CLEANUP beta] #16391 Cleaning up the test output
[CLEANUP beta] #16391 Cleaning up the test output
I'll take a stab at Edit: No dice, not sure how to suppress the error message. Since it's throwing an error on an instance of another object (a Route), it may not be getting caught by the error callback... open to suggestions! this.add(
'route:c',
Route.extend({
afterModel() {
throw new Error('transition failure');
}
})
); Edit2: Got a PR for an attempt but want to make sure it's ok approach before I apply everywhere. |
Thanks @allthesignals, noted |
Ok folks, we've got 8 items left here. Any takers? @James-Byrne looks like there isn't a PR yet for your task, did we miss linking the PR over? Do you still want to take the one with your name on it or should we unlock that and let someone else take a stab? |
I can take :
|
@acorncom this test actually checks the window console for error messages: https://github.com/emberjs/ember.js/blob/master/packages/ember/tests/routing/decoupled_basic_test.js#L3471. Should it be rewritten to check these messages differently? Or skipped? Not sure how conservative I should try to be. Thx. Edit: Ah, @KamiKillertO, I think this is overlap of what you've taken on. |
I wouldn't mind taking a look at this one: Test Phase |
@lukecoy - you got it! |
It's seems that |
[CLEANUP beta] #16391 Cleaning up the test output
I will have a look to |
[CLEANUP beta] #16391 Cleaning up the test output
Hey folks, we're getting close here. Anyone blocked on things and need help in a given area? |
🙋I'm stuck with [edit] I've just check on |
@rwjblue @chancancode any guidance here? I've got even less context on the snag than @KamiKillertO does 😉 |
@Draggha @James-Byrne @KamiKillertO @acorncom @allthesignals @chancancode @lukecoy @rwjblue is this still an issue, perhaps we should close, what do you think? @chancancode Is there anything that remains TODO? |
♻️ ♻️ ♻️ Please consider the environment before printing this Github issue. ♻️ ♻️ ♻️
Currently, the test output is very noisy – even for green builds. This makes it very difficult find any actual failures, especially on small screens and on phones.
Let's try to clean it up!
Here are the useless output I have found based on this test run. Leave a comment about what you are looking into (🔒) so others won't duplicate the effort.
A lot of these probably have the same root cause (for example, because of how the default
Ember.onError
works) and probably require some refactoring in the test infrastructure.'container' is imported by tmp/rollup-cache_path-I6PjJI6s.tmp/run_loop.js, but could not be resolved – treating it as an external dependency
'ember-debug' is imported by tmp/rollup-cache_path-l0Z4sygU.tmp/index.js, but could not be resolved – treating it as an external dependency
'assert' is imported from external module '@glimmer/util' but never used
'assert' and 'SERIALIZATION_FIRST_NODE_STRING' are imported from external module '@glimmer/util' but never used
(🔒 @James-Byrne)WARNING: Library "magic" is already registered with Ember.
console.trace
DEPRECATION: Should not throw [deprecation id: test]
(🔒 @Draggha )(node:6689) Warning: Possible EventEmitter memory leak detected. * listeners added. Use emitter.setMaxListeners() to increase limit
(🔒 @lukecoy )(node:6689) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: *): Error: Navigation Timeout Exceeded: 900ms exceeded
Error: Element .does-not-exist not found.
(🔒 @KamiKillertO )Error: Catch me
(🔒 @KamiKillertO )Error: the error
(🔒 @KamiKillertO )Testing paused. Use
resumeTest()to continue.
Error while processing route: *
(🔒 @allthesignals )More context objects were passed than there are dynamic segments for the route: stink-bomb
`
WARNING: Binding style attributes may introduce cross-site scripting vulnerabilities; please ensure that values being bound are properly escaped. For more information, including how to disable this warning, see https://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. Style affected: *
(🔒 @KamiKillertO )The text was updated successfully, but these errors were encountered: