Closed
Bug 974881
Opened 10 years ago
Closed 10 years ago
System app integration tests fail when run with APP=system
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 974897
People
(Reporter: benfrancis, Unassigned)
Details
STR: * Run "make test-integration APP=system" Expected: * Integration tests pass Actual: * Many of the tests fail on the waitForLaunch method on system.js when it tries to get the iframe of an app https://github.com/mozilla-b2g/gaia/blob/master/apps/system/test/marionette/lib/system.js#L41 It seems to try to get an iframe with the src homescreen.gaiamobile.org instead of the URL that was passed. Etienne was also able to reproduce this, though he points out that the tests pass when run with TEST_FILES= instead of APP= Test output below. --- Edges gesture > 1) "before each" hook modal dialog under mozFullScreen - alert is shown Fullscreen status bar > 2) "before each" hook lockscreen disabled test - launch test app media playback tests in utility tray 3) "before each" hook net_error.html: ✓ in an iframe (162ms) Notification.get(): ✓ promise is fulfilled ✓ promise returns a new notification ✓ get works with tag option 4) should work across domains 5) notifications should persist even after closing app ✓ bug 931307, empty title should not cause crash notification tests ✓ fire notification ✓ system replace notification (52ms) ✓ close notification (49ms) - email notification should not wake screen Edges gesture > 6) "before each" hook modal dialog under mozFullScreen - alert is shown Fullscreen status bar > 7) "before each" hook lockscreen disabled test - launch test app media playback tests in utility tray 8) "before each" hook net_error.html: ✓ in an iframe (182ms) Notification.get(): ✓ promise is fulfilled ✓ promise returns a new notification ✓ get works with tag option 9) should work across domains 10) notifications should persist even after closing app ✓ bug 931307, empty title should not cause crash notification tests ✓ fire notification ✓ system replace notification (54ms) ✓ close notification (45ms) - email notification should not wake screen 16 passing (2m) 6 pending 10 failing 1) Edges gesture > "before each" hook: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Object.System.waitForLaunch (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/lib/system.js:40:22) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/edges_gesture_test.js:29:20) at Hook.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:211:32) at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:257:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 2) Fullscreen status bar > "before each" hook: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Object.System.waitForLaunch (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/lib/system.js:40:22) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/fullscreen_statusbar_test.js:26:17) at Hook.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:211:32) at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:257:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 3) media playback tests "before each" hook: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Object.FakeMusic.launchInBackground (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/lib/fake_music.js:48:22) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/media_playback_test.js:25:11) at Hook.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:211:32) at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:257:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 4) Notification.get(): should work across domains: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/notification_get_test.js:105:17) at Test.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:194:15) at Runner.runTest (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:372:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:448:12 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:297:14) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:307:7 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:245:23) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 5) Notification.get(): notifications should persist even after closing app: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/apps/system/test/marionette/notification_get_test.js:165:17) at Test.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:194:15) at Runner.runTest (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:372:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:448:12 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:297:14) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:307:7 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:245:23) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 6) Edges gesture > "before each" hook: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Object.System.waitForLaunch (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/lib/system.js:40:22) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/edges_gesture_test.js:29:20) at Hook.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:211:32) at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:257:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 7) Fullscreen status bar > "before each" hook: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Object.System.waitForLaunch (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/lib/system.js:40:22) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/fullscreen_statusbar_test.js:26:17) at Hook.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:211:32) at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:257:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 8) media playback tests "before each" hook: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Object.FakeMusic.launchInBackground (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/lib/fake_music.js:48:22) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/media_playback_test.js:25:11) at Hook.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:211:32) at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:257:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 9) Notification.get(): should work across domains: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/notification_get_test.js:105:17) at Test.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:194:15) at Runner.runTest (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:372:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:448:12 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:297:14) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:307:7 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:245:23) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) 10) Notification.get(): notifications should persist even after closing app: NoSuchElement: (7) Unable to locate element: iframe[src*="homescreen.gaiamobile.org"] Remote Stack: <none> at Error.MarionetteError (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/error.js:67:13) at Object.Client._handleCallback (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:474:19) at /Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:508:21 at TcpSync.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/drivers/tcp-sync.js:94:10) at Object.send (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:455:36) at Object.Client._sendCommand (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:501:19) at Object._findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1283:19) at Object.findElement (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:1332:32) at waitForAppSync (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:40:19) at waitForApp (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/waitforapp.js:23:5) at launch (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-apps/lib/launch.js:37:3) at Context.<anonymous> (/Users/tola/Code/benfrancis/gaia/build_stage/system/test/marionette/notification_get_test.js:165:17) at Test.Runnable.run (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:194:15) at Runner.runTest (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:372:10) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:448:12 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:297:14) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:307:7 at next (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:245:23) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runner.js:269:7 at done (/Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:185:5) at /Users/tola/Code/benfrancis/gaia/node_modules/mocha/lib/runnable.js:197:9 at Object.executeHook (/Users/tola/Code/benfrancis/gaia/node_modules/marionette-client/lib/marionette/client.js:370:18) at process._tickCallback (node.js:415:13) make: *** [test-integration] Error 10
Comment 1•10 years ago
|
||
I think this is a "make profile" issue thus I put a needinfo for Yuren.
Flags: needinfo?(yurenju.mozilla)
Comment 2•10 years ago
|
||
This issue isn't isolated to the system app either. When I delete my profile and run |make test-integration APP=email|, no tests get run.
Updated•10 years ago
|
Summary: System app integration tests fail when run with APP=system → JS integration tests fail when run with APP=< . . . >
Comment 3•10 years ago
|
||
I think the issue mentioned in comment 2 is different than comment 0. I opened bug 974897 for comment 2. (maybe they will have the same root cause)
Summary: JS integration tests fail when run with APP=< . . . > → System app integration tests fail when run with APP=system
Comment 4•10 years ago
|
||
investigating.
Assignee: nobody → yurenju.mozilla
Flags: needinfo?(yurenju.mozilla)
Comment 5•10 years ago
|
||
Reverted commits of Bug 966215 and Bug 932605 and works again, I suspect root cause is same as bug 974897. needinfo dale to get more details.
Assignee: yurenju.mozilla → nobody
Flags: needinfo?(dale)
Comment 6•10 years ago
|
||
There was 2 seperate bugs, but both of these bugs refered to the same issue, have a fix in 974897
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(dale)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•