Search found 5 matches

by Kurt
Thu Jul 31, 2014 6:16 pm
Forum: Siesta
Topic: Jenkins setup and CI siesta tutorial
Replies: 14
Views: 36914

Here is our setup

Because the setup in this tutorial did not work right away for us and we spent tons of time to get this working with Jenkins, I would like to share our setup. We were confronted with two problems in our task: 1. We had to use a shell script 2. In our case the PhantomJS command had some issues when w...
by Kurt
Thu Jul 31, 2014 3:58 pm
Forum: Siesta
Topic: Click and Tap with Sencha Touch 2.3
Replies: 3
Views: 1524

Click and Tap with Sencha Touch 2.3

Hi there, I am using phantomjs (browserless) for my tests and I am trying to tap/click a button: { tap: '>> #btnLogin' }, { waitFor: 'CQ', args: 'nextView' }, After that I wait for the next view to show , but nothing happends. If I run the same test in the browser all shows fine. What I found is: [D...
by Kurt
Wed Jan 16, 2013 3:52 pm
Forum: Siesta
Topic: waitForPageLoad and scope
Replies: 4
Views: 1572

Re: waitForPageLoad and scope

I know, that's what i am doing at the moment. But after loading the new page i need to do all calls with window at the beginning. E.g. StartTest(function (t) { localStorage.clear(); t.is(localStorage.length, 0, 'LocalStorage is cleared'); t.diag("Load App"); window.location.href = "index.html"; t.wa...
by Kurt
Wed Jan 16, 2013 1:51 am
Forum: Siesta
Topic: waitForPageLoad and scope
Replies: 4
Views: 1572

waitForPageLoad and scope

Hi there, I am writing a new test for localStorage testing. To do so, I need to swipe the localstorage set it via Siesta and afterwards run the app. I did not find another way than to use window.location.href and waitForPageLoad. But after loading the page I need to reference everything via window (...
by Kurt
Wed Apr 11, 2012 12:23 pm
Forum: Siesta
Topic: How to run only a part of myApp.js
Replies: 1
Views: 1252

How to run only a part of myApp.js

I tested Sencha Touch and Siesta without building one large myApp.js All works fine. Now I build the /testing/myApp.js and /production/myApp.js and I can't even get the 010_sanity.t.js File to run correct. this is my preload: preload : [ isProd ? '../production/resources/css/phone.css' : '../testing...