diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-06 16:36:20 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-02-06 16:36:20 (GMT) |
commit | 66dae0ccbc23f4df612711a2e61fadd9b15feb91 (patch) | |
tree | a069ef55f4d97b6419f38d8ce86eb19f5cc1f1e7 /apps/system/test/integration/notification_test.js | |
parent | b5b9e95e2f4c8ab19cef000c82fcfc0625c52666 (diff) |
Diffstat (limited to 'apps/system/test/integration/notification_test.js')
-rw-r--r-- | apps/system/test/integration/notification_test.js | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/apps/system/test/integration/notification_test.js b/apps/system/test/integration/notification_test.js deleted file mode 100644 index aa532e4..0000000 --- a/apps/system/test/integration/notification_test.js +++ /dev/null @@ -1,41 +0,0 @@ -require('/apps/system/test/integration/system_integration.js'); - -suite('notifications', function() { - - var device; - var app; - - MarionetteHelper.start(function(client) { - app = new SystemIntegration(client); - device = app.device; - }); - - setup(function() { - yield app.launch(); - }); - - test('text/description notification', function() { - - var title = 'uniq--integration--uniq'; - var description = 'q--desc--q'; - - yield device.setContext('chrome'); - - yield IntegrationHelper.sendAtom( - device, - '/apps/system/test/integration/atoms/notification', - true, - [title, description] - ); - - yield device.setContext('content'); - var container = yield app.element('notificationsContainer'); - - var text = yield container.getAttribute('innerHTML'); - assert.ok(text, 'container should have notifications'); - - assert.include(text, title, 'should include title'); - assert.include(text, description, 'should include description'); - }); -}); - |