dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 58 forks source link

Test failures on Safari and iPhone environments #338

Closed agubler closed 6 years ago

agubler commented 7 years ago

Bug

Moving to browserstack for CI has revealed test failures on the Safari and iPhone platforms.

These have been temporarily removed until the failures are resolved.

CancelError: Timeout reached on safari 9.1 on MAC - text plugin - correct text
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:141:20>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at Command.finally  <node_modules/leadfoot/Command.js:566:15>
  at <node_modules/intern/lib/Test.js:216:37>
  at Promise.cancel  <node_modules/intern/browser_modules/dojo/Promise.ts:343:37>
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:143:21>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
× safari 9.1 on MAC - text plugin - strips XML (5.003s)
CancelError: Timeout reached on safari 9.1 on MAC - text plugin - strips XML
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:141:20>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
  at Command.target.(anonymous function) [as get]  <node_modules/leadfoot/Command.js:610:11>
  at executeTest  <tests/functional/text/textPlugin.ts:12:3>
  at Test.strips XML [as test]  <tests/functional/text/textPlugin.ts:33:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at Command.finally  <node_modules/leadfoot/Command.js:566:15>
  at <node_modules/intern/lib/Test.js:216:37>
  at Promise.cancel  <node_modules/intern/browser_modules/dojo/Promise.ts:343:37>
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:143:21>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
× safari 9.1 on MAC - text plugin - strips HTML (5.002s)
CancelError: Timeout reached on safari 9.1 on MAC - text plugin - strips HTML
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:141:20>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
  at Command.target.(anonymous function) [as get]  <node_modules/leadfoot/Command.js:610:11>
  at executeTest  <tests/functional/text/textPlugin.ts:12:3>
  at Test.strips HTML [as test]  <tests/functional/text/textPlugin.ts:39:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at Command.finally  <node_modules/leadfoot/Command.js:566:15>
  at <node_modules/intern/lib/Test.js:216:37>
  at Promise.cancel  <node_modules/intern/browser_modules/dojo/Promise.ts:343:37>
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:143:21>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
× safari 9.1 on MAC - text plugin - strips empty file (5.008s)
CancelError: Timeout reached on safari 9.1 on MAC - text plugin - strips empty file
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:141:20>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
  at Command.target.(anonymous function) [as get]  <node_modules/leadfoot/Command.js:610:11>
  at executeTest  <tests/functional/text/textPlugin.ts:12:3>
  at Test.strips empty file [as test]  <tests/functional/text/textPlugin.ts:45:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at Command.finally  <node_modules/leadfoot/Command.js:566:15>
  at <node_modules/intern/lib/Test.js:216:37>
  at Promise.cancel  <node_modules/intern/browser_modules/dojo/Promise.ts:343:37>
  at Timeout._onTimeout  <node_modules/intern/lib/Test.js:143:21>
  at ontimeout  <timers.js:386:14>
  at tryOnTimeout  <timers.js:250:5>
  at Timer.listOnTimeout  <timers.js:214:5>
>> safari 9.1 on MAC: 4/608 tests failed (2 skipped)
‣ Created session iPhone 9.1 on any platform (670ea6f6afdff477f6e0a03c464f2e578a7f2f28)

× iPhone 9.1 on any platform - text plugin - correct text (1.319s)
AssertionError: expected undefined to equal 'abc'
  at Assertion.assertEqual  <node_modules/intern/browser_modules/chai/chai.js:776:12>
  at Assertion.ctx.(anonymous function) [as equal]  <node_modules/intern/browser_modules/chai/chai.js:4192:25>
  at Function.assert.strictEqual  <node_modules/intern/browser_modules/chai/chai.js:2329:32>
  at Command.<anonymous>  <tests/functional/text/textPlugin.ts:28:10>
  at runCallback  <node_modules/leadfoot/Command.js:526:31>
  at Command.<anonymous>  <node_modules/leadfoot/Command.js:543:11>
  at <node_modules/dojo/Promise.ts:393:15>
  at run  <node_modules/dojo/Promise.ts:237:7>
  at <node_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at executeTest  <tests/functional/text/textPlugin.ts:16:3>
  at Test.correct text [as test]  <tests/functional/text/textPlugin.ts:27:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
× iPhone 9.1 on any platform - text plugin - strips XML (1.547s)
AssertionError: expected undefined to equal 'abc'
  at Assertion.assertEqual  <node_modules/intern/browser_modules/chai/chai.js:776:12>
  at Assertion.ctx.(anonymous function) [as equal]  <node_modules/intern/browser_modules/chai/chai.js:4192:25>
  at Function.assert.strictEqual  <node_modules/intern/browser_modules/chai/chai.js:2329:32>
  at Command.<anonymous>  <tests/functional/text/textPlugin.ts:34:10>
  at runCallback  <node_modules/leadfoot/Command.js:526:31>
  at Command.<anonymous>  <node_modules/leadfoot/Command.js:543:11>
  at <node_modules/dojo/Promise.ts:393:15>
  at run  <node_modules/dojo/Promise.ts:237:7>
  at <node_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at executeTest  <tests/functional/text/textPlugin.ts:16:3>
  at Test.strips XML [as test]  <tests/functional/text/textPlugin.ts:33:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
× iPhone 9.1 on any platform - text plugin - strips HTML (1.471s)
AssertionError: expected undefined to equal 'abc'
  at Assertion.assertEqual  <node_modules/intern/browser_modules/chai/chai.js:776:12>
  at Assertion.ctx.(anonymous function) [as equal]  <node_modules/intern/browser_modules/chai/chai.js:4192:25>
  at Function.assert.strictEqual  <node_modules/intern/browser_modules/chai/chai.js:2329:32>
  at Command.<anonymous>  <tests/functional/text/textPlugin.ts:40:10>
  at runCallback  <node_modules/leadfoot/Command.js:526:31>
  at Command.<anonymous>  <node_modules/leadfoot/Command.js:543:11>
  at <node_modules/dojo/Promise.ts:393:15>
  at run  <node_modules/dojo/Promise.ts:237:7>
  at <node_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at executeTest  <tests/functional/text/textPlugin.ts:16:3>
  at Test.strips HTML [as test]  <tests/functional/text/textPlugin.ts:39:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
× iPhone 9.1 on any platform - text plugin - strips empty file (1.458s)
AssertionError: expected undefined to equal ''
  at Assertion.assertEqual  <node_modules/intern/browser_modules/chai/chai.js:776:12>
  at Assertion.ctx.(anonymous function) [as equal]  <node_modules/intern/browser_modules/chai/chai.js:4192:25>
  at Function.assert.strictEqual  <node_modules/intern/browser_modules/chai/chai.js:2329:32>
  at Command.<anonymous>  <tests/functional/text/textPlugin.ts:46:10>
  at runCallback  <node_modules/leadfoot/Command.js:526:31>
  at Command.<anonymous>  <node_modules/leadfoot/Command.js:543:11>
  at <node_modules/dojo/Promise.ts:393:15>
  at run  <node_modules/dojo/Promise.ts:237:7>
  at <node_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>
  at Command.then  <node_modules/leadfoot/Command.js:542:10>
  at executeTest  <tests/functional/text/textPlugin.ts:16:3>
  at Test.strips empty file [as test]  <tests/functional/text/textPlugin.ts:45:9>
  at <node_modules/intern/lib/Test.js:191:24>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:393:15>
  at runCallbacks  <node_modules/intern/browser_modules/dojo/Promise.ts:11:11>
  at <node_modules/intern/browser_modules/dojo/Promise.ts:317:4>
  at run  <node_modules/intern/browser_modules/dojo/Promise.ts:237:7>
  at <node_modules/intern/browser_modules/dojo/nextTick.ts:44:3>
  at _combinedTickCallback  <internal/process/next_tick.js:73:7>
  at process._tickCallback  <internal/process/next_tick.js:104:9>