Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Page crash and E2E issues #445

Open
hansiemithun opened this issue Oct 2, 2017 · 0 comments
Open

Page crash and E2E issues #445

hansiemithun opened this issue Oct 2, 2017 · 0 comments

Comments

@hansiemithun
Copy link

hansiemithun commented Oct 2, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant