angular-drag-and-drop-lists icon indicating copy to clipboard operation
angular-drag-and-drop-lists copied to clipboard

Page crash and E2E issues

Open hansiemithun opened this issue 8 years ago • 0 comments

This simple test case breaks in jenkins but runs perfectly fine in local machine:

describe('BF drag and drop', function () {
    it('should drag and drop BF from left to right', function () {
        let src = 0;
        let tgt = 1;
        expect(bfbaConfig.getBfNthElementName(src)).toBe('BF 1');
        browser.actions().dragAndDrop(bfbaConfig.getBfNthElement(src), bfbaConfig.getBfNthElement(tgt)).perform();
        browser.sleep(2000);
        expect(bfbaConfig.getBfNthElementName(src)).toBe('BF name edited');
        browser.actions().dragAndDrop(bfbaConfig.getBfNthElement(src), bfbaConfig.getBfNthElement(tgt)).perform();
        browser.sleep(2000); // experimental code to perform wait operation after drag and drop
        expect(bfbaConfig.getBfNthElementName(src)).toBe('BF 1');
    });
});

Using angular-drag-and-drop-lists dependency

Error: [e2e] [chrome #01-1] ==== JS stack trace ========================================= [e2e] [chrome #01-1] [e2e] [chrome #01-1] Security context: 0xb9a5dfcfb51 [e2e] [chrome #01-1] 1: setValue(aka setValue) [/opt/data/workspace/for-business-activities-new-ISJRIAHH4WOHTRBZMRHEINSNJMWBS5FJCNX5NFKXRBL6L2JSK7VQ/node_modules/selenium-webdriver/lib/webdriver.js:196] [pc=0x33259d2e0162] (this=0xb9a5df04381 ,value=0x37125ba630a1 const args = arguments;\n for (let i = 0; i < args.length; i++) {\n if (args[i] ins... [e2e] [chrome #01-1] [e2e] [chrome

01-1] FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory [e2e] [e2e] [10:03:16] I/testLogger - [e2e]

[e2e] [10:03:16] I/launcher - 1 instance(s) of WebDriver still running [e2e] [10:03:49] I/testLogger - [e2e] ------------------------------------ [e2e] [e2e] [10:03:49] I/testLogger - [firefox #11-1] PID: 4753 [e2e] [firefox #11-1] Specs: /opt/data/workspace/for-business-activities-new-ISJRIAHH4WOHTRBZMRHEINSNJMWBS5FJCNX5NFKXRBL6L2JSK7VQ/test/e2e/integration/bvc/bfba/bf-crud.e2e-spec.js

Huge performance issues while drag and drop with medium and large data set of records

hansiemithun avatar Oct 02 '17 17:10 hansiemithun