Skip to content

Commit

Permalink
webcompat#272 Shell for labels.js test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
karlcow committed Aug 14, 2015
1 parent a1faa33 commit e39050a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ define([
'./functional/issues',
'./functional/reporting',
'./functional/contributors',
'./functional/history-navigation'
'./functional/history-navigation',
'./functional/labels'
], function () {
'use strict';
});
34 changes: 34 additions & 0 deletions tests/functional/labels.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

define([
'intern',
'intern!object',
'intern/chai!assert',
'require'
], function (intern, registerSuite, assert, require) {
'use strict';

registerSuite(function () {

var url = function (num) {
return intern.config.siteRoot + '/issues/' + num;
};

return {
name: 'labels',

setup: function () {
// We should be logged before starting the labels test.
// The setup function should make sure we are not logged.
},

teardown: function () {
// The teardown should remove all labels which would have
// been put during the process, specifically if it fails
// in the middle of testing.
}
};
});
});

0 comments on commit e39050a

Please sign in to comment.