From 0aadbc04671d526298abef8559052083322268e7 Mon Sep 17 00:00:00 2001 From: jekkos Date: Mon, 23 May 2016 23:13:07 +0200 Subject: [PATCH] Add link to nominatim wiki for countrycodes tooltip (#497) Increase waitForCssElement timeout --- application/views/configs/locale_config.php | 2 +- test/ospos.js | 2 +- test/receiving_quantity.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/views/configs/locale_config.php b/application/views/configs/locale_config.php index 84dd3c990..54766fdf2 100644 --- a/application/views/configs/locale_config.php +++ b/application/views/configs/locale_config.php @@ -93,7 +93,7 @@
- + lang->line('config_country_codes'), 'country_codes', array('class'=>'control-label col-xs-2')); ?>
config->item('country_codes'), array('class'=>'form-control input-sm')); ?> diff --git a/test/ospos.js b/test/ospos.js index 8394ebc68..244ea3c20 100644 --- a/test/ospos.js +++ b/test/ospos.js @@ -38,7 +38,7 @@ var ospos = function() { .elementById("category", 2000).clear().type(item.category) .elementById('receiving_quantity', 2000).type(item.receiving_quantity || 1) .elementById("quantity_1", 2000).type("1").elementById("reorder_level", 2000).type("0").elementById("submit", 2000).click() - .waitForElementByXPath("//table/tbody/tr[td/text()='anItem']", 3000).text().then(function (value) { + .waitForElementByXPath("//table/tbody/tr[td/text()='anItem']", 5000).text().then(function (value) { assert.equal(value, "1 - anItem aCategory - $10.00 $20.00 1 21.00%"); }); } diff --git a/test/receiving_quantity.js b/test/receiving_quantity.js index 9e9a0f588..0b216f4de 100644 --- a/test/receiving_quantity.js +++ b/test/receiving_quantity.js @@ -3,7 +3,7 @@ var ospos = require('./ospos'); describe("test receiving quantity", function() { - var def_timeout = 5000; + var def_timeout = 10000; var item = { name: "recvQty",