testcafe
testcafe copied to clipboard
New window's id matches its parent's id if it's opened in a specific way
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
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)
Thank you for the information. We will take it into account.
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.
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.