Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ describe("Test Create Api and Bind to Table widget", function() {
.first()
.invoke("text")
.then((text) => {
expect(text).to.equal("Barty Crouch");
expect(text).to.equal("Barty Crouch Jr");
});
cy.PublishtheApp();
cy.get(".t--widget-textwidget span").should("have.length", 4);
cy.get(".t--widget-textwidget span")
.first()
.invoke("text")
.then((text) => {
expect(text).to.equal("Barty Crouch");
expect(text).to.equal("Barty Crouch Jr");
});
});

Expand All @@ -73,15 +73,15 @@ describe("Test Create Api and Bind to Table widget", function() {
.first()
.invoke("text")
.then((text) => {
expect(text).to.equal("Barty Crouch");
expect(text).to.equal("Barty Crouch Jr");
});
cy.PublishtheApp();
cy.get(".t--widget-textwidget span").should("have.length", 2);
cy.get(".t--widget-textwidget span")
.first()
.invoke("text")
.then((text) => {
expect(text).to.equal("Barty Crouch");
expect(text).to.equal("Barty Crouch Jr");
});
});

Expand Down