https://drive., tinyurl.com, @everyone, *@gmail.com, @here, *@outlook.com, discord.gg, docs.google, fiverr, https://t.me,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @param e event from the DOM that we want to workout the testing path. | |
*/ | |
getUniqueQueryPathToDomEventTarget: function (e) { | |
let hasEmberIdRegex = /ember[\d]+/; | |
if (e.target.id && !hasEmberIdRegex.test(e.target.id)) { | |
return "#" + e.target.id; | |
} else { | |
let path = e.path.reverse().slice(2); //remove the window and document path sections |