forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
539 B
23 lines
539 B
/** |
|
* @author windy |
|
* @version 2.0 |
|
* Created by windy on 2020/3/17 |
|
*/ |
|
|
|
describe("IframeTest", function () { |
|
|
|
/** |
|
* test_author_windy |
|
*/ |
|
it("directionPager", function () { |
|
var a = BI.Test.createWidget({ |
|
type: "bi.iframe" |
|
}); |
|
a.setSrc("http://www.baidu.com"); |
|
a.setName("testIFrame"); |
|
expect(a.element.attr("src"), "http://www.baidu.com"); |
|
expect(a.getSrc(), "http://www.baidu.com"); |
|
expect(a.getName(), "testIFrame"); |
|
a.destroy(); |
|
}); |
|
}); |