From 5fc16bdbfb479f356d68d1050558132e0d27dbd8 Mon Sep 17 00:00:00 2001 From: Chris van Marle Date: Sat, 11 Feb 2017 13:41:00 +0100 Subject: [PATCH] Fix sabado in clock_es_spec.js test Fixes #712 --- tests/e2e/modules/clock_es_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/modules/clock_es_spec.js b/tests/e2e/modules/clock_es_spec.js index 72aee74c..54e0b278 100644 --- a/tests/e2e/modules/clock_es_spec.js +++ b/tests/e2e/modules/clock_es_spec.js @@ -39,7 +39,7 @@ describe("Clock set to spanish language module", function () { }); it("shows date with correct format", function () { - const dateRegex = /^(?:lunes|martes|miércoles|jueves|viernes|sabado|domingo), \d{1,2} de (?:enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre) de \d{4}$/; + const dateRegex = /^(?:lunes|martes|miércoles|jueves|viernes|sábado|domingo), \d{1,2} de (?:enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre) de \d{4}$/; return app.client.waitUntilWindowLoaded() .getText(".clock .date").should.eventually.match(dateRegex); }); @@ -66,7 +66,7 @@ describe("Clock set to spanish language module", function () { }); it("shows date with correct format", function () { - const dateRegex = /^(?:lunes|martes|miércoles|jueves|viernes|sabado|domingo), \d{1,2} de (?:enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre) de \d{4}$/; + const dateRegex = /^(?:lunes|martes|miércoles|jueves|viernes|sábado|domingo), \d{1,2} de (?:enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre) de \d{4}$/; return app.client.waitUntilWindowLoaded() .getText(".clock .date").should.eventually.match(dateRegex); });