rename tests that may fail in dev env (#46878) (#46922)

This commit is contained in:
Matthew Kime 2019-09-30 09:43:22 -05:00 committed by GitHub
parent 5d93e47a4a
commit d8392c4771
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View file

@ -196,7 +196,7 @@ describe('RegionMapsVisualizationTests', function () {
imageComparator.destroy();
});
it('should instantiate at zoom level 2', async function () {
it('should instantiate at zoom level 2 (may fail in dev env)', async function () {
const regionMapsVisualization = new RegionMapsVisualization(domNode, vis);
await regionMapsVisualization.render(dummyTableGroup, vis.params, {
resize: false,
@ -236,7 +236,7 @@ describe('RegionMapsVisualizationTests', function () {
expect(mismatchedPixels).to.be.lessThan(PIXEL_DIFF);
});
it('should resize', async function () {
it('should resize (may fail in dev env)', async function () {
const regionMapsVisualization = new RegionMapsVisualization(domNode, vis);
await regionMapsVisualization.render(dummyTableGroup, vis.params, {
resize: false,
@ -273,7 +273,7 @@ describe('RegionMapsVisualizationTests', function () {
expect(mismatchedPixelsAfterSecondResize).to.be.lessThan(PIXEL_DIFF);
});
it('should redo data', async function () {
it('should redo data (may fail in dev env)', async function () {
const regionMapsVisualization = new RegionMapsVisualization(domNode, vis);
await regionMapsVisualization.render(dummyTableGroup, vis.params, {
resize: false,
@ -317,7 +317,7 @@ describe('RegionMapsVisualizationTests', function () {
expect(mismatchedPixelsAfterDataChangeAndResize).to.be.lessThan(PIXEL_DIFF);
});
it('should redo data and color ramp', async function () {
it('should redo data and color ramp (may fail in dev env)', async function () {
const regionMapsVisualization = new RegionMapsVisualization(domNode, vis);
await regionMapsVisualization.render(dummyTableGroup, vis.params, {
resize: false,

View file

@ -172,7 +172,7 @@ describe('CoordinateMapsVisualizationTest', function () {
imageComparator.destroy();
});
it('should initialize OK', async function () {
it('should initialize OK (may fail in dev env)', async function () {
const coordinateMapVisualization = new CoordinateMapsVisualization(domNode, vis);
await coordinateMapVisualization.render(dummyESResponse, vis.params, {
resize: false,
@ -211,7 +211,7 @@ describe('CoordinateMapsVisualizationTest', function () {
expect(mismatchedPixels).to.be.lessThan(PIXEL_DIFF);
});
it('should toggle back&forth OK between mapTypes', async function () {
it('should toggle back&forth OK between mapTypes (may fail in dev env)', async function () {
const coordinateMapVisualization = new CoordinateMapsVisualization(domNode, vis);
await coordinateMapVisualization.render(dummyESResponse, vis.params, {
resize: false,
@ -244,7 +244,7 @@ describe('CoordinateMapsVisualizationTest', function () {
expect(mismatchedPixels).to.be.lessThan(PIXEL_DIFF);
});
it('should toggle to different color schema ok', async function () {
it('should toggle to different color schema ok (may fail in dev env)', async function () {
const coordinateMapVisualization = new CoordinateMapsVisualization(domNode, vis);
await coordinateMapVisualization.render(dummyESResponse, vis.params, {
resize: false,

View file

@ -98,7 +98,7 @@ describe('geohash_layer', function () {
// }
].forEach(function (test) {
it(test.options.mapType, async function () {
it(`${test.options.mapType} (may fail in dev env)`, async function () {
const geohashGridOptions = test.options;
const geohashLayer = new GeohashLayer(

View file

@ -93,7 +93,7 @@ describe('VegaVisualizations', () => {
imageComparator.destroy();
});
it('should show vegalite graph and update on resize', async function () {
it('should show vegalite graph and update on resize (may fail in dev env)', async function () {
let vegaVis;
try {
vegaVis = new VegaVisualization(domNode, vis);
@ -116,7 +116,7 @@ describe('VegaVisualizations', () => {
}
});
it('should show vega graph', async function () {
it('should show vega graph (may fail in dev env)', async function () {
let vegaVis;
try {
vegaVis = new VegaVisualization(domNode, vis);
@ -132,7 +132,7 @@ describe('VegaVisualizations', () => {
}
});
it('should show vegatooltip on mouseover over a vega graph', async () => {
it('should show vegatooltip on mouseover over a vega graph (may fail in dev env)', async () => {
let vegaVis;
try {
vegaVis = new VegaVisualization(domNode, vis);