Skip to content

Commit

Permalink
Merge pull request #7 from sendilkumarn/fix-the-fix
Browse files Browse the repository at this point in the history
ignore checking any displayed multiple times
  • Loading branch information
sendilkumarn authored Jun 19, 2020
2 parents 6670dc1 + aecadb1 commit b699cef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ export default class <%= entityClass %>ComponentsPage {
await waitUntilHidden(<%= entityInstance %>DeleteDialog.deleteModal);

expect(await isVisible(<%= entityInstance %>DeleteDialog.deleteModal)).to.be.false;

await waitUntilAnyDisplayed([this.noRecords, this.table]);
}
<%_ } _%>
}
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ describe('<%= entityClass %> e2e test', () => {
expect(await <%= entityInstance %>ComponentsPage.records.count()).to.eq(beforeRecordsCount + 1);

await <%= entityInstance %>ComponentsPage.delete<%= entityClass %>();

await waitUntilAnyDisplayed([<%= entityInstance %>ComponentsPage.table, <%= entityInstance %>ComponentsPage.noRecords]);

await waitUntilCount(<%= entityInstance %>ComponentsPage.records, beforeRecordsCount);
expect(await <%= entityInstance %>ComponentsPage.records.count()).to.eq(beforeRecordsCount);
});<%= closeBlockComment %>
Expand Down

0 comments on commit b699cef

Please sign in to comment.