mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-22 00:04:37 -04:00
Increase waiting timeout for phantomjs test
Revert old database script Add styling rules for number typed input fields
This commit is contained in:
1 parent
92da2749ad
commit
80dcc2f63f
5 files changed
+67
-27
No files matched your search
@@ -28,7 +28,7 @@ describe("giftcard numbering test", function () {
|
||||
|
||||
it("issue #65: giftcard numbering should add properly", function() {
|
||||
return this.browser.get(url("/index.php/giftcards")).waitForElementByCss(".big_button").click()
|
||||
.waitForElementByName("value").type("100").elementById('giftcard_number').clear().type("10")
|
||||
.waitForElementByName("value", 2000).type("100").elementById('giftcard_number').clear().type("10")
|
||||
.elementById("submit").click().waitForElementByXPath("//table/tbody/tr[td/text()='10']/td[4]", 1000).text().then(function (value) {
|
||||
assert.ok(value, "giftcard failed to be added properly!");
|
||||
}).elementByCss(".big_button").click().waitForElementByName("value", 1000).type("100").elementById("submit").click()
|
||||
|
||||
Reference in new issue
Block a user