Increase waiting timeout for phantomjs test

Revert old database script
Add styling rules for number typed input fields
This commit is contained in:
jekkos committed 2015-07-14 12:36:43 +02:00
1 parent 92da2749ad
commit 80dcc2f63f
5 files changed
+67 -27

No files matched your search

+1 -1
View File
@@ -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()