Revert "Add a "name" property on the test runner iframe (#4128) (#4372)

This reverts commit c96ccf9c4d.
This commit is contained in:
Ben Kucera
2019-06-03 14:57:24 -04:00
committed by Zach Bloomquist
parent 4beffe5ed5
commit 1e640045d9
4 changed files with 0 additions and 21 deletions
@@ -1 +0,0 @@
<a href="generic.html" target="aut-iframe">Anchor</a>
@@ -1 +0,0 @@
<iframe src="issue_3121_anchor_target_iframe.html"></iframe>
@@ -1,18 +0,0 @@
describe "issue #3121", ->
it "shows anchor href content inside aut-iframe when target='aut-iframe'", ->
cy
.visit("http://localhost:3500/fixtures/issue_3121_iframe.html")
.get("iframe").then ($iframe) ->
return cy
.wrap($iframe.contents()
.find("body"))
.within ->
cy
.get("a")
.click();
cy
.get("body").then ($body) ->
expect($body).to.contain("Some generic content")
.get("iframe")
.should("not.exist")
-1
View File
@@ -18,7 +18,6 @@ export default class AutIframe {
this.$iframe = $('<iframe>', {
id: `Your App: '${this.config.projectName}'`,
class: 'aut-iframe',
name: 'aut-iframe',
})
return this.$iframe