testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

New window's id matches its parent's id if it's opened in a specific way

Open Ogurecher opened this issue 4 years ago • 3 comments

Description

https://github.com/DevExpress/testcafe/issues/912#issuecomment-653123581

Example project

https://github.com/DevExpress/testcafe/issues/912#issuecomment-658356160 Instructions are inside the example repo.

NOTE: in package.json change ng to npx ng in the start script

Ogurecher avatar Jul 15 '20 11:07 Ogurecher

If new window is opening in another tab in same browser window. both, parent and new window same same id and its throwing the below error.

TypeError: Cannot read property '0' of null

               270 |        this._handlePlainObject(val);
               271 |};
               272 |
               273 |DecodingTransformer.prototype.transform = function () {
               274 |    this.visitedRefs[0] = true;
             > 275 |    this._handleValue(this.references[0], this.references, 0);
               276 |
               277 |    return this.references[0];
               278 |};
               279 |
               280 |
            
               at DecodingTransformer.transform (/home/runner/work/node_modules/replicator/index.js:275:38)
              at module.exports.Replicator.decode (/home/runner/work//node_modules/replicator/index.js:577:24)

anjali-amle avatar Aug 07 '21 07:08 anjali-amle

Thank you for the information. We will take it into account.

viktoria2506 avatar Aug 09 '21 08:08 viktoria2506

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

github-actions[bot] avatar Aug 10 '22 02:08 github-actions[bot]

We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.

github-actions[bot] avatar Aug 20 '22 02:08 github-actions[bot]