Results 1 to 2 of 2

Thread: reveal() method on ST.future.row causes subsequent actions to timeout.

    Success! Looks like we've fixed this one. According to our records the fix was applied for ORION-2231 in 2.2.0.
  1. #1
    Sencha User
    Join Date
    Mar 2017
    Posts
    9
    Vote Rating
    1
      0  

    Default reveal() method on ST.future.row causes subsequent actions to timeout.

    Following reveal call causes the click to timeout (tested also on other methods like cellWith()) It looks like the the Futures API can't locate the revealed element as I tried to select cell in the row outside (after) the chain.
    Code:
       it("Admin deletes an existing parameter 'Comments'", function () {
            let paramName = 'Comments';
    
    
            setupPage.grid.parameters()
                .rowWith('name', paramName)
                .reveal()
                //.visible()
                .click();
     
                /*.and(() => {
                    deleteRow(paramName, () => setupPage.grid.parameters()
                        .rowWith('name', paramName).timedout()
                    );
                });*/
            
        });

    Page object:
    Code:
    
    module.exports.setupPage = {
        tab: function (name) {
            if (!['Details', 'Parameters', 'Templates', 'Experiments', 'Requests', 'Users', 'Preveiw']
                .includes(name)) throw 'Wrong tab name: ' + name;
            return ST.component('tab[text="'+ name +'"]');
        },
        grid: {
            parameters: function () {return ST.grid('#entityGrid:nth-child(1)')},
            templates:  function () {return ST.grid('#entityGrid:nth-child(2)')},
            experiments:function () {return ST.grid('#entityGrid:nth-child(3)')},
            requests:   function () {return ST.grid('#entityGrid:nth-child(4)')},
            users:      function () {return ST.grid('#entityGrid:nth-child(5)')}
            //users:      function () {return ST.grid('grid[itemId=entityGrid]:nth-child(5)')}
     
        },
    };
    


    EDIT: added CODE tags

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

    Default

    Thanks for the report. This issue should be resolved in the latest 2.2.0.x build (available in the Support Portal under Nightlies), and the fix will be available in the 2.2.0 GA release (due shortly).
    Daniel Gallo
    Senior Solutions Architect
    Sencha Inc.

Similar Threads

  1. Replies: 7
    Last Post: 29 Mar 2017, 7:33 AM
  2. Subsequent button actions not possible on single tap
    By sencha_dev in forum Sencha Touch 2.x: Discussion
    Replies: 3
    Last Post: 15 Dec 2014, 1:50 AM
  3. how to set timeout in api actions for a HttpProxy
    By flamant in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 20 Mar 2011, 10:18 AM
  4. Add timeout to Provider Actions
    By ckr in forum Ext.Direct
    Replies: 13
    Last Post: 15 Jan 2011, 12:06 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
  •