diff --git a/test/basic.html b/test/basic.html
index 6c1b19b7..1af7c447 100644
--- a/test/basic.html
+++ b/test/basic.html
@@ -8,13 +8,14 @@
-
+
+
@@ -55,8 +56,9 @@
(function () {
/* global setupOmnitableFixture*/
'use strict';
-
- suite('basic', function () {
+ // get dom Type from helpers.js
+ const domType = getDomType(); //eslint-disable-line no-undef
+ suite('basic' + domType, () => {
var omnitable,
data;
@@ -208,7 +210,7 @@
});
});
- suite('it logs unnamed column', function () {
+ suite('it logs unnamed column' + domType, () => {
var omnitable,
data,
consoleErrorStub;
diff --git a/test/boolean.html b/test/boolean.html
index 6599305c..b824fb60 100644
--- a/test/boolean.html
+++ b/test/boolean.html
@@ -8,6 +8,7 @@
+
@@ -31,7 +32,10 @@
/* global setupOmnitableFixture*/
'use strict';
- suite('basic', () => {
+ // get dom Type from helpers.js
+ const domType = getDomType(); //eslint-disable-line no-undef
+
+ suite('basic' + domType, () => {
let omnitable,
column,
data;
diff --git a/test/fit-dropdowns.html b/test/fit-dropdowns.html
index 25756a21..28b542fb 100644
--- a/test/fit-dropdowns.html
+++ b/test/fit-dropdowns.html
@@ -8,6 +8,7 @@
+
@@ -39,6 +40,9 @@
+
@@ -75,7 +76,10 @@
/* global setupOmnitableFixture*/
'use strict';
- suite('id', () => {
+ // get dom Type from helpers.js
+ const domType = getDomType(); //eslint-disable-line no-undef
+
+ suite('id' + domType, () => {
let omnitable,
data;
@@ -119,7 +123,7 @@
});
});
- suite('bool', () => {
+ suite('bool' + domType, () => {
let omnitable,
data;
@@ -148,37 +152,36 @@
}, 120);
});
});
- }());
- suite('amount', () => {
- let omnitable,
- data;
+ suite('amount' + domType, () => {
+ let omnitable,
+ data;
setup(done => {
data = Cosmoz.TableDemoBehavior.generateTableDemoData(10, 11, 25);
omnitable = setupOmnitableFixture('amount', data, () => done());
});
- test('setting groupOn property to "amount" updates property groupOnColumn', done => {
- omnitable.groupOn = 'amount';
-
- omnitable.notifyResize();
- const verifyColumn = () => {
- const groupOnColumn = omnitable.groupOnColumn;
- if (groupOnColumn == null) {
- Polymer.Base.async(verifyColumn, 50);
- } else {
- assert.equal(typeof groupOnColumn, 'object');
- assert.equal(groupOnColumn.is, 'cosmoz-omnitable-column-amount');
- assert.equal(groupOnColumn.name, 'amount', 'Expected "groupOnColumn" to be the column that matches "groupOn" value');
- assert.equal(groupOnColumn, omnitable.columns[0]);
- done();
- }
- };
- Polymer.Base.async(verifyColumn, 50);
+ test('setting groupOn property to "amount" updates property groupOnColumn', done => {
+ omnitable.groupOn = 'amount';
+
+ omnitable.notifyResize();
+ const verifyColumn = () => {
+ const groupOnColumn = omnitable.groupOnColumn;
+ if (groupOnColumn == null) {
+ Polymer.Base.async(verifyColumn, 50);
+ } else {
+ assert.equal(typeof groupOnColumn, 'object');
+ assert.equal(groupOnColumn.is, 'cosmoz-omnitable-column-amount');
+ assert.equal(groupOnColumn.name, 'amount', 'Expected "groupOnColumn" to be the column that matches "groupOn" value');
+ assert.equal(groupOnColumn, omnitable.columns[0]);
+ done();
+ }
+ };
+ Polymer.Base.async(verifyColumn, 50);
+ });
});
- });
-
+ }());