Results 1 to 3 of 3

Thread: Sencha test 2.2 firefox is crashing and not starting to execute tests

  1. #1
    Sencha User
    Join Date
    May 2015
    Posts
    4
    Vote Rating
    0
      0  

    Default Sencha test 2.2 firefox is crashing and not starting to execute tests

    When I try to run my tests in seleneium hub, firefox i get this error, while in chrome is working fine

    senchaTest run -s test/topki -p "pool1"
    Sencha Test v2.2.0.148
    [INFO] Proxy Server open on port 8000
    [AGENT: 1] Launching agent
    [INFO] [model/browser/SandboxBrowser-8] [INFO] [process/ElectronSandboxProcess] Sandbox process running
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Initializing Sencha Test sandbox
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Loading Sencha Test core passed: 0 ┊ failed: 0 ┊
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Loading test framework
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Loading scenario libraries
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Loading page objects
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Loading test suites
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Loaded /home/kur/sencha_test/myapp/test/topki/easy.js
    [INFO] [model/browser/SandboxBrowser-8] [INFO] Sandbox initialized
    [AGENT: 1] Agent registered: firefox - Firefox
    [ERROR] [model/browser/SandboxBrowser-8] [ERROR] [orion] Error: The arguments passed to a command are either invalid or malformed.
    at url("http://kur.local/test1/") - WebDriver.js:125:18tests: 0 ┊ passed: 0 ┊ failed: 0 ┊
    at timeouts("script", 10000) - WebDriver.js:124:18
    at init() - WebDriver.js:119:18
    [AGENT: 1] System error:


    Error: The arguments passed to a command are either invalid or malformed.
    at url("http://kur.local/test1/") - WebDriver.js:125:18
    at timeouts("script", 10000) - WebDriver.js:124:18
    at init() - WebDriver.js:119:18
    [ERROR] [model/browser/SandboxBrowser-8] [ERROR] {"isTrusted":true}...
    [AGENT: 1] System error:ogress: [----------] 0.00 % ┊ tests: 0 ┊ passed: 0 ┊ failed: 1 ┊


    TypeError: Cannot read property 'error' of null
    at Request._callback (/home/kur/Sencha/Test/2_2_0_148/resources/app.asar/node_modules/orion-core/node_modules/webdriverio/build/lib/utils/RequestHandler.js:269:113)
    at Request.self.callback (/home/kur/Sencha/Test/2_2_0_148/resources/app.asar/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:188:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/kur/Sencha/Test/2_2_0_148/resources/app.asar/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:1171:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/kur/Sencha/Test/2_2_0_148/resources/app.asar/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:1091:12)
    at IncomingMessage.g (events.js:286:16)
    at emitNone (events.js:91:20)
    [WARN] [model/test/SandboxAgent] agent.terminate() called multiple times.

    here is my pool1.json file

    [
    {
    "browserName": "firefox",
    "sencha": {
    "concurrency": 1
    }
    }
    ]



    here if I swap to chrome, tests are starting to be exeuted

    easy.js has this

    describe("easy.js", function() {
    it("should pass", function() {
    expect(1).toBe(1);

    ST.wait(6999);
    });
    });




    workspace.json

    "tests": {
    "browser": {
    "farms": [
    {
    "name": "Generic WebDriver1",
    "type": "generic",
    "port": 4444,
    "host": "kur.local",
    "sessionLimit": 1,
    "accessKey": "",
    "pools": [
    {
    "name": "pool1",
    "path": "pool1.json"
    }
    ]
    }
    ]
    },



    and my selenium hub

    version: "3"
    services:
    selenium-hub:
    image: selenium/hub:latest
    container_name: selenium-hub
    ports:
    - "4444:4444"
    environment:
    - GRID_DEBUG=true
    extra_hosts:
    - "kur.local:192.168.25.28"
    chrome:
    image: selenium/node-chrome:latest
    depends_on:
    - selenium-hub
    environment:
    - HUB_HOST=selenium-hub
    - HUB_PORT=4444
    extra_hosts:
    - "kur.local:192.168.25.28"
    firefox:
    image: selenium/node-firefox:latest
    depends_on:
    - selenium-hub
    environment:
    - HUB_HOST=selenium-hub
    - HUB_PORT=4444
    extra_hosts:
    - "kur.local:192.168.25.28"

  2. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    681
    Vote Rating
    -322
      0  

    Default

    Thank you so much for bringing this to our attention. I am sorry for the trouble. I have sent this to support to look into and they will get back with you regarding this. We appreciate your patience.

    Michele

  3. #3
    Sencha - Sales Team daniel.gallo's Avatar
    Join Date
    Apr 2009
    Location
    Redwood City, CA
    Posts
    273
    Vote Rating
    32
      0  

    Default

    Please see this forum response about Firefox and Selenium Server compatibility: https://www.sencha.com/forum/showthr...=1#post1189430. You may need to use an older version of Firefox, along with Selenium Server 2.x.
    Daniel Gallo
    Senior Solutions Architect
    Sencha Inc.

Similar Threads

  1. Replies: 6
    Last Post: 21 Feb 2018, 5:07 AM
  2. Replies: 1
    Last Post: 18 Sep 2017, 6:40 AM
  3. Replies: 1
    Last Post: 17 Nov 2016, 5:29 AM
  4. Replies: 1
    Last Post: 29 Sep 2016, 2:44 PM
  5. Replies: 1
    Last Post: 9 Nov 2013, 9:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •