Questions tagged [siesta]

Siesta is a JavaScript unit testing tool which perform testing of the DOM and simulate user interactions. For the Siesta framework for iOS, use the tag [siesta-swift].

Siesta is a JavaScript unit testing tool which perform testing of the DOM and simulate user interactions.

31 questions
17
votes
3 answers

How to create a WAR file using the commandline?

I installed JBoss Developer Studio and it's possible to create a WAR file by "right mouse project > Export > WAR file" but I want to export my project to a WAR file using the commandline. I have maven installed which is one of the requirements of…
SomeGuyOnAComputer
  • 5,414
  • 6
  • 40
  • 72
11
votes
1 answer

What is the best way to map REST URL Patterns to Model Objects for the Siesta framework?

I'd like to use a ResponseTransformer (or a series of them) to automatically map my object model classes to the responses coming back from a Siesta service so that my Siesta resources are instances of my model classes. I have a working…
annicaburns
  • 215
  • 1
  • 8
4
votes
1 answer

Swift mysterious error

I'm receiving mysterious error messages while debugging my swift app on my iPhone. This message gets displayed while a performSegue after a Siesta-API-Call: 2016-12-06 11:08:36.032131 dl[20878:6372455] [Common] _BSMachError: port 9913; (os/kern)…
Kevin H. Klein
  • 403
  • 1
  • 5
  • 14
2
votes
1 answer

Global Function in Siesta

I just started to use Bryntum Siesta and ExtJs for Automated testing. My first, very simple test work like i expected. Now i came across a problem with DRY-Code. I am trying to write DRY Code for a Login Test. There are actually two cases here: -…
1
vote
0 answers

Error during compilling on python/fortran of Siesta libraries (Error: Line truncated)

I'm currently trying to install libraries for Siesta modelling soft. I have zero programming expirience and tried work with manuals and guides. I work with Ubuntu on Windows 10. I install all uppdates and soft that was asked (not 100% sure though)…
user366242
  • 11
  • 2
1
vote
1 answer

JavaScript: How to return a modified function with `forEach` or `for` loop?

I've a property name of items: which waits for a array list. The normal and running implementation of this code block is below; // This usage works perfectly with `getFirstTest()` function // And creates a list of Array fine! harness.start( { …
Nuri Engin
  • 813
  • 10
  • 38
1
vote
1 answer

How to override testClass methods with Siesta?

I'm using Bryntum Siesta for UI testing an ExtJS app. I've created a TestClass and aim to use its methods for different views. Whole actions of test are same only some specific things are changing such as package, view, grid names. Here is some…
Nuri Engin
  • 813
  • 10
  • 38
1
vote
1 answer

Siesta: Component Query assertion doesn't work

I am playing around with Siesta and some built in assertions. I came across a problem with the elementIsNotEmpty() assertion. I want to check if after typing an empty string in a login field, the field is really empty and nothing is displayed in…
adamswebspace
  • 43
  • 1
  • 8
1
vote
1 answer

How to make selection on ExtJS Combo Box with Bryntum Siesta Test?

I've a datatable form and includes several items such as textfield, datefield and combobox. How i'll be able to make selection items with Siesta for combobox and I need to set Siesta waiting time more than 30000ms because data is loading through…
Nuri Engin
  • 813
  • 10
  • 38
1
vote
1 answer

How to do a basic cross page test ? Login example

So I'm testing my login page with this piece of code describe('Testing the login page', function (t) { t.it('Should be possible to login', function (t) { t.chain( { waitForCQ : '>> textfield[itemId=login]' …
MiniYuuzhan
  • 108
  • 3
  • 14
1
vote
1 answer

Siesta selector by custom tags

I want to ask if in siesta possible to write selector by custom tag: for example I have component:
Edgar
  • 1,120
  • 4
  • 28
  • 53
1
vote
2 answers

Siesta Ext JS test not completing

I am testing an Ext JS frontend with Siesta. Here is my login/logout test: StartTest(function(t) { t.diag("Login/Logout"); t.chain( { waitForCQ : '#loginPanel' }, function(next) { t.cq1("#username").setValue(); …
PEC
  • 593
  • 1
  • 5
  • 16
1
vote
1 answer

Warning Message when running Siesta tests

I have Sencha ExtJs 5.1.0.107 with Sencha CMD v 5.1.1.48 and Siesta 2.0.9, according to my Ivy dependencies:
panza
  • 1,341
  • 7
  • 38
  • 68
1
vote
1 answer

Siesta : "Can't execute code from a freed script"

I have a testing scenario where I need to access the preloaded file from the window object after signing in and signing out of the page. The Harness configuration is : var Harness = Siesta.Harness.Browser.ExtJS; Harness.configure({ …
Anum Malik
  • 554
  • 1
  • 7
  • 11
1
vote
3 answers

Ext.getStore() returns undefined while testing with Siesta

In ExtJs application to make getStore work controllers, models and stores are added in Application.js. But for testing with siesta, I can't make any changes in Application.js. Calling Ext.getStore(storeId) directly is returning undefined. I have…
Ankita
  • 199
  • 3
  • 18
1
2 3