mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-01 12:30:01 -05:00
This reverts commit c96ccf9c4d.
This commit is contained in:
committed by
Zach Bloomquist
parent
4beffe5ed5
commit
1e640045d9
@@ -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")
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user