Open
Description
Issues:
- The toaster tests are [intermittently] failing in "Check toaster stacking permanent messages", at least on FF on Saucelabs.
- The failure error message isn't reported; rather the whole test just times out.
Meta-issues:
- The Promise chain doesn't make sense. For example:
.then(pollUntil(codeIns(perm1), [], intern.config.WAIT_TIMEOUT, intern.config.POLL_INTERVAL))
.then(function () {}, function errback1 () { throw new Error("perm1 not inserted"); })
.then(pollUntil(codeIns(exp2000), [], intern.config.WAIT_TIMEOUT, intern.config.POLL_INTERVAL))
.then(function () {}, function errback2 () { throw new Error("exp2000 not inserted"); })
When errback1
throws the error, we want the whole test to abort, but instead the error gets passed to errback2
.
- The test is overly-complicated due to trying to use dynamic id's. Making the ids (and global variable names) deterministic would mean that the test wouldn't have to query the page to get the ids.
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Toaster test cleanup.
Toaster test cleanup.