Closed thim81 closed 7 years ago
Here is the source code of the page with the iframe
` | |
---|---|
<!--[if lt IE 9]> | |
<![endif]--> | |
<body data-spy="scroll" data-target="nav" | |
style="font-family:'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif" ng-controller="InboxCtrl" | |
id="InboxCtrl"> | |
<div class="header_logo_text" style="cursor:pointer;float:left;font-weight: bold;color:white;" | |
onclick="window.location='/'"> | |
MAILINATOR | |
Sign up | |
Log in | |
Upgrade | |
FAQ | |
API | |
<input type="text" placeholder="Enter Inbox" class="lb-input" | |
onkeydown="if (event.keyCode == 13) { subInboxSameZone($('#inbox_field_mob').val()); $('#inbox_field_mob').blur(); return false; }" | |
id="inbox_field_mob"/> | |
<span id='inbox_button_mob' class="lb-btn" | |
onclick="subInboxSameZone($('#inbox_field_mob').val()); $('#inbox_field_mob').blur(); return false;"> | |
<div id="activity_light" style="float:left;padding-top: 8px;" | |
title="Mailinator Stream Connection Status"> | |
<div id="pause_icon" | |
onclick="userPauseStream()" | |
style="float:left;margin-left: 5px;padding-top: 8px;" title="Pause incoming emails"> | |
privacy-level: | |
{{visibility}} | |
query: | |
{{original_query}} | |
<div id="pin_inbox_icon" | |
onclick="pinInbox();" | |
style="float:left;margin-left: 3px;padding-top:5px;cursor: pointer;display: {{save_eligible}}" | |
title="Save this Query"> | |
<span class="fa-stack fa-manylarge" title="Delete Emails" | |
onclick="trashEmails();" | |
style="cursor: pointer"> | |
<span class="fa-stack fa-manylarge" | |
title="Login to Save Emails" | |
style="cursor: pointer"> | |
<span class="fa-stack fa-manylarge" | |
title="Login to Forward Emails" | |
style="cursor: pointer;"> | |
function updateLinks(tree) { | |
tree.find('a').each(function () { | |
var href = $(this).attr('href'); | |
if (href && href.length > 0) { | |
if (href.indexOf('mailinator') > 0 || href.indexOf("clickrouter") > 0 || href == "/" |\ | |
href.indexOf("stripe") > 0) { | |
} else { | |
//console.log(href); | |
href = escape(href); | |
href = "http://click1.clickrouter.com/redirect?token=a2258079c24c4c50a56b6b1ffb75d6e2&" + | |
"url=" + href; | |
$(this).attr('href', href); | |
} | |
} | |
}); | |
} | |
var manyuser = false; | |
var muValidated = false; | |
var manyteam = false; | |
<input type="text" placeholder="Enter Inbox" class="lb-input" | |
onkeydown="if (event.keyCode == 13) { subInboxSameZone($('#inbox_field').val()); return false; }" | |
id="inbox_field" | |
/> | |
<span id='inbox_button' class="lb-btn" | |
onclick="subInboxSameZone($('#inbox_field').val()); return false;"> | |
<li ng-repeat="status in status_list" | |
class="lb_all_item"> | |
<p class="lball-text {{status.active}}" id='bigrow{{status.status_zone}}' | |
onclick="itemInboxClick('{{status.status_zone}}')"> | |
{{status.title}}{{status.count}} | |
<li ng-repeat="query in status.query_list" | |
class="lb_all_sub-item {{query.active}}" | |
onclick="subItemInboxClick('{{query.zone}}', '{{query.text}}')"> | |
{{query.pretty}} | |
<div style="min-width: 2.4rem;float:right;text-align: right;" | |
onclick="unpinInbox('{{query.zone}}', '{{query.text}}', '{{query.saved}}');if(event.stopPropagation){event.stopPropagation();}event.cancelBubble=true;" | |
title="Delete Saved Query"> | |
<i class="fa fa-close" | |
style="display:{{query.saved}};cursor: pointer;margin-left: 3px;color:#aaa;"> | |
{{query.count}} | |
Mailinator Blog: |
|
Introducing the Mailinator Realtime Inbox ! | |
Need your own Private Mailinator? | |
Upgrade Now | |
<ins class="adsbygoogle" | |
style="display:inline-block;width:160px;height:600px" | |
data-ad-client="ca-pub-8366735459736268" | |
data-ad-slot="8480074758"> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
Links monetized by ClickRouter | |
{{msg.subject}} | |
{{msg.received}} | |
<iframe id="msg_body" style="border: 0;overflow: hidden;" | |
width="100%" | |
height="100%" | |
name="msg_body" marginheight="0"> | |
EMAIL BODY | |
<div id='publicm8rguy' | |
style="display:none;text-align:center;background-color:#fff;font-size:18px;padding-top: 40px;"> | |
[ This Inbox channel is currently Empty ] | |
<li class="all_message-item all_message-item-parent cf" | |
ng-repeat="email in emails" id="row_{{email.id}}" | |
onclick="showTheMessage('{{email.id}}');"> | |
<div class="all_message-min-check-container" | |
id='check_{{email.id}}' | |
onclick="checkBox('{{email.id}}');if(event.stopPropagation){event.stopPropagation();}event.cancelBubble=true;"> | |
<i class="fa fa-check-square fa-lg" style="display:none;color#aaa;" | |
id="checkon_{{email.id}}"> | |
{{email.to}} | |
PRICING | |
FAQ | |
API DOCS | |
BLOG | |
Copyright 2017 Manybrain, Inc. All Right Reserved. Terms and |
|
Conditions and Privacy Policy | |
[email protected] | |
/* When the user clicks on the button, | |
toggle between hiding and showing the dropdown content */ | |
function gearClick() { | |
document.getElementById("myDropdown").classList.toggle("show"); | |
} | |
function otherMenuClick() { | |
document.getElementById("other_menu").classList.toggle("show"); | |
} | |
// Close the dropdown menu if the user clicks outside of it | |
window.onclick = function (event) { | |
if (!event.target.matches('.dropbtn')) { | |
var dropdowns = document.getElementsByClassName("dropdown-content"); | |
var i; | |
for (i = 0; i < dropdowns.length; i++) { | |
var openDropdown = dropdowns[i]; | |
if (openDropdown.classList.contains('show')) { | |
openDropdown.classList.remove('show'); | |
} | |
} | |
} | |
} | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-170806-1', 'mailinator.com'); | |
ga('send', 'pageview'); | |
adroll_adv_id = "VMN4XCGWCNE5PPIHTM52HX"; | |
adroll_pix_id = "AYN7TMHAPFAS5BJF723VO2"; | |
(function () { | |
var oldonload = window.onload; | |
window.onload = function(){ | |
__adroll_loaded=true; | |
var scr = document.createElement("script"); | |
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com"); | |
scr.setAttribute('async', 'true'); | |
scr.type = "text/javascript"; | |
scr.src = host + "/j/roundtrip.js"; | |
((document.getElementsByTagName('head') || [null])[0] |\ | |
document.getElementsByTagName('script')[0].parentNode).appendChild(scr); | |
if(oldonload){oldonload()}}; | |
}()); | |
Hi @kensoh
I run into a bug when trying to use the
frame
method in a test flow./src/tagui ./sample/2_signup_user firefox test
In this flow we use Mailinator to confirm a mail. When opening the mail, it opens the mail in a an iframe.
when using
frame msg_body
in the flowtagui $ ./src/tagui ./sample/2_signup_user firefox test
It just outputs
Test file: /Users/Sites/localhost/tagui/sample/2_signup_user.js
And then just wait.
If we comment out
frame msg_body
in the flow, it runs the test without any problems, but it cannot click on anything the iframe./src/tagui ./sample/2_signup_user firefox test