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
1
vote
1 answer

Siesta generate screenshot on fail

I'm running tests using Siesta from command line. Is that possible to generate screenshots on each test fail while running Siesta test runner? Edit: Need to wait for the feature http://www.bryntum.com/products/siesta/changelog/
Mike
  • 20,010
  • 25
  • 97
  • 140
1
vote
1 answer

Passing parameters to callback function without changing method (Siesta Testing namespace)

Does anyone know how to pass parameters to a callback function that you cannot alter? So here is the code I'm trying to implement (It is a siesta testing method): Base.js: waitForComponentQueryVisible: function (parentNext, parameters) { var th…
0
votes
0 answers

How to address the latest siesta error " Error in specifying the type of an atom!. Atoms specified is above the total number of atoms!"?

Good evening all. I am running a siesta/ transiesta calculation and when i started my transiesta calculation there seems to be some issue with the scattering run. It says " Error in specifying the type of an atom!. Atoms specified is above the total…
0
votes
2 answers

Siesta configuration 'self captured by a closure error'

I am using Siesta framework and trying to add decorator in order to refresh token when it expires but I am getting: 'self captured by a closure before all members were initialized'. What could be the reason? service.configure("**") { …
Ugur
  • 3
  • 3
0
votes
1 answer

Swift Siesta Framework: do something before sending requests

I am trying the Siesta framework and I want to call a function before sending every API calls. I saw that decorateRequests(with:) is best suited for what I am looking to do, but as the return value must be a Request, there's an error on the…
Anthony
  • 804
  • 3
  • 12
  • 32
0
votes
1 answer

Ext.button's click event is not response with Bryntum Siesta Test

I'm try to fill a textfield and then run click event with Bryntum Siesta Test. Whole test-process has been succeed but only the 'Save' button is not response for this click event and keeps says: Waited too long for: componentQuery…
Nuri Engin
  • 813
  • 10
  • 38
0
votes
1 answer

Siesta Test Runner gives 'store' of undefined error

I'm trying to implement Bryntum Siesta 4.3.2-lite to Sencha ExtJS 6.2 maded application and keep following ExtJS Essentials book. I've created Siesta Test Runner's index.html and index.js as well.. Collected required Siesta files; js and css through…
Nuri Engin
  • 813
  • 10
  • 38
0
votes
1 answer

Configure request method for a Siesta resource

I have this api where the login works via post while most other requests work with get. Now I am using siesta to define the login url as a resource. func login(username: String, password: String) -> Resource { return…
blackwolf123333
  • 313
  • 4
  • 13
0
votes
1 answer

Running external program (Siesta) by java

I've checked many threads about running external programs but they cant solve my problem. for running Siesta (DFT Calculation) I have to use something like this (Si.fdf is the input file): siesta < Si.fdf I'm using this code: public static void…
amirre
  • 21
  • 5
0
votes
1 answer

Siesta - Run Sub test(from another test file) based on certain Condition

I have setup siesta lite to test my ExtJs 4 application. I want to run a test depending upon the value of window.xxx and window.yyy of my application. So if xxx= 1 and yyy= 'xyz', I want to run a particular test file lets say test1.js. I read the…
Abdul Rehman Yawar Khan
  • 1,088
  • 3
  • 17
  • 40
0
votes
1 answer

Siesta - Test Dependencies

I have several test files in Siesta for my ExtJS application. Some of those tests must be ran and pass before others should begin. Is there a way to execute tests only after a previous test has passed?
Mike Richards
  • 939
  • 3
  • 14
  • 23
0
votes
0 answers

Bringing up an extJs application for testing

Nothing is rendered on DomPanel while testing a view. I have used Ext.create() to get an instance of the view. I have tried testing examples of Siesta which are rendered properly. But it fails for pages of our application. Please suggest the…
Ankita
  • 199
  • 3
  • 18
0
votes
1 answer

How to make siesta able to click elements non visible

I'm using siesta to test a large scrolling page, and some of the elements are not visible unless you scroll down first. Siesta runner seems to assume that the elements that need to be clicked are visible, so when it tries to click those elements, it…
jacoviza
  • 988
  • 2
  • 9
  • 31
0
votes
1 answer

Cross device testing of sencha touch application using seista

Does siesta testing framework support cross device testing? Do we have any documentation around it?
Suman
  • 191
  • 1
  • 7
0
votes
1 answer

Siesta Integration

Is there any way/idea to implement Siesta Code in Tomcat? Or, How to deploy siesta examples in Tomcat ? I have Lots of tests.js Files in project, have to include that in my code
Bala_Tech
  • 13
  • 1
  • 6