Skip to content

Commit

Permalink
fix: for card and table test
Browse files Browse the repository at this point in the history
  • Loading branch information
syl-p committed Nov 26, 2021
1 parent 2b93cb4 commit addcafa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions cypress/integration/pia-angular/entries_card.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ describe("Entries_card", () => {
// Redirect into entries
cy.visit(`/#/entries`);
cy.wait(3000);
cy.get("#pia-edit-2-name").type("pia edited");
cy.get("#pia-edit-2-name")
.clear()
.type("pia edited");
cy.get("#pia-edit-2-author-name")
.clear()
.type("author edited");
Expand Down Expand Up @@ -75,7 +77,7 @@ describe("Entries_card", () => {
// Redirect into entries
cy.visit(`/#/entries`);
cy.get(".pia-cardsBlock-toolbar-export a")
.eq(1)
.eq(2)
.click();
});
});
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/pia-angular/entries_table.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe("Entries_table", () => {
cy.get(".pia-list-table tbody tr td:eq(1) div")
.click()
.clear()
.type("pia edited");
.type("pia edited for table test");

//Edit author
cy.get(".pia-list-table tbody tr td:eq(3) div")
Expand Down

0 comments on commit addcafa

Please sign in to comment.