mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 16:28:40 -04:00
Add link to nominatim wiki for countrycodes tooltip (#497)
Increase waitForCssElement timeout
This commit is contained in:
@@ -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')); ?>
|
||||
|
||||
@@ -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%");
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user