Search Type: Posts; User: marcelofarias

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Are you running the latest stc version? There was a very similar issue reported a while back, and it should be fixed on 1.0.3.
  2. 1 - Let's double-check the command line first:

    stc run -o teamcity -p "My Sauce Pool"-s path\to\unit_tests -S http://localhost:1903-K mykey

    It might be just a typo in the copy/paste, but...
  3. Just checking: is this verbatim?

    describe("tests", function() {
    it("should pass", function() {
  4. Any firewalls in the picture?
  5. Hard to tell without looking at the code, but the two possible causes that come to my mind are:

    - JavaScript error preventing Sencha Test browser-side scripts to load/run properly
    - Firewall...
  6. When you run your tests in a local browser via Sencha Test Studio, do you see any errors in the browser's console?
  7. Using the Selenium server defaults, you should configure your farm in Studio with host as localhost or and port as 4444. Then you can inspect the generated JSON files to check their...
  8. Hi vsciu

    You should not see the error "Could not find module 'process'" as long as you use Node.js >= 4.2.1. Is it the same issue you're seeing? Or perhaps related to:...
  9. Hi

    For the host property, you should use:

    "host": ""

    Do not add protocol, port or path to this value.
  10. Hi

    In the 'host' property, you must inform solely the host (no http://, port, or path). Try using this instead:

    "host": ""
  11. Hi
    Did you check your Node.js version? STC requires Node.js version 4.2.1 or newer.
  12. We'll definitely cover this feature in more details in the guides. For the time being, you can find its documentation here:
  13. Here's an example of how to use additional libraries in your test project. Using the workspace contained in the public SenchaTestDemo repo as starting point, do the following:

    1 - Create a file...
  14. Glad you found a workaround for the time being. Unfortunately, I still can't reproduce the problem, as you can see in the screenshot, but will keep looking.

    If you have any more information about...
  15. Replies
    Here is an example where a spec listens to an event fired by a class which extends Ext.Observable:

    describe("Observable.js extension", function() {
    beforeEach(function() {
  16. Are you using relative paths to the JSON files? The page loaded for unit tests is located under:


    The resources folder itself should be available whether...
  17. I'm wondering what could have possibly changed between executions so they gave different answers. Does which stc give you the same path in both cases? Also, does it make any difference whether you...
  18. Actually you shouldn't have to specify one. Fix will be available on Sencha Test 1.0.2, and is already available in the nightly build.
  19. Glad it worked. Keep in mind you'll have one XML file *per browser*, so you can have many generated on the same run. It's also a good idea to cleanup any leftovers from previous executions each time...
  20. You should be able to generate Jenkins-friendly JUnit XML reports adding the
    -o junit flag. STC will generate one XML file per browser in the current directory. See example below.

  21. Thanks for the information! I've tried to re-create your environment and in fact I did see an error with stc 1.0.0 and 1.0.1, although it was *not the same* you're facing. I'm using the latest...
  22. Hi!

    I'm trying to reproduce the problem you're seeing.

    A brief checklist:
    - Check if you're using the latest Sencha Test 1.0.1
    - Does "packages/local/ourPackageName/test/unit" exist relative...
  23. It will be fixed in the next release, just make sure you've declared 'text' in your model's fields:

    Ext.define('NodeModel', {
    extend: '',
    fields: ['text']
  24. Replies
    Could you please provide a test case?
  25. Same code, now formatted:

    var form = Ext.create('Ext.form.Panel', {
    items: [{
    xtype: 'combobox',
    fieldLabel: 'Combobox',
    displayField: 'text',
Results 1 to 25 of 34
Page 1 of 2 1 2