From e100e1f5c98fc028846387c12d9d403e9f905758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20St=C3=BCrmer?= Date: Wed, 19 Oct 2016 11:01:46 +0200 Subject: [PATCH] Add test to verify umlaut in vis name Relates to #8705 --- test/functional/apps/visualize/_area_chart.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/functional/apps/visualize/_area_chart.js b/test/functional/apps/visualize/_area_chart.js index 15bbf4aada834..bd9bfec024801 100644 --- a/test/functional/apps/visualize/_area_chart.js +++ b/test/functional/apps/visualize/_area_chart.js @@ -74,6 +74,16 @@ bdd.describe('visualize app', function describeIndexTests() { }); }); + bdd.it('should save and load with non-ascii characters', async function () { + const vizNamewithSpecialChars = `${vizName1} with Umlaut รค`; + const message = await PageObjects.visualize.saveVisualization(vizNamewithSpecialChars); + + PageObjects.common.debug(`Saved viz message with umlaut = ${message}`); + expect(message).to.be(`Visualization Editor: Saved Visualization "${vizNamewithSpecialChars}"`); + + await PageObjects.visualize.waitForToastMessageGone(); + }); + bdd.it('should save and load', function () { return PageObjects.visualize.saveVisualization(vizName1) .then(function (message) {