Add link to nominatim wiki for countrycodes tooltip (#497)

Increase waitForCssElement timeout
This commit is contained in:
jekkos
2016-05-23 23:13:07 +02:00
parent 63d6ac59df
commit 0aadbc0467
3 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@
</div>
<div class="form-group form-group-sm">
<span class="glyphicon glyphicon-info-sign" data-toggle="tootltip" data-placement="right" title="<?php echo $this->lang->line('config_country_codes_tooltip'); ?>"></span>
<a href="http://wiki.openstreetmap.org/wiki/Nominatim/Country_Codes" target="_blank"><span class="glyphicon glyphicon-info-sign" data-toggle="tootltip" data-placement="right" title="<?php echo $this->lang->line('config_country_codes_tooltip'); ?>"></span></a>
<?php echo form_label($this->lang->line('config_country_codes'), 'country_codes', array('class'=>'control-label col-xs-2')); ?>
<div class='col-xs-1'>
<?php echo form_input('country_codes', $this->config->item('country_codes'), array('class'=>'form-control input-sm')); ?>

View File

@@ -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%");
});
}

View File

@@ -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",