diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index a97f20a00..9705df60a 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -312,8 +312,8 @@ export default { }, itemsIndex: { createItemButton: `vn-float-button`, - firstSearchResult: 'vn-item-index a:nth-child(1)', - searchResult: 'vn-item-index tbody tr td:not(.empty-rows)', + firstSearchResult: 'vn-item-index tr:nth-child(2)', + searchResult: 'vn-item-index tbody tr:not(.empty-rows)', firstResultPreviewButton: 'vn-item-index tbody > :nth-child(1) .buttons > [icon="preview"]', searchResultCloneButton: 'vn-item-index .buttons > [icon="icon-clone"]', acceptClonationAlertButton: '.vn-confirm.shown [response="accept"]', diff --git a/front/core/components/smart-table/index.js b/front/core/components/smart-table/index.js index d93d704dd..32a66f9bc 100644 --- a/front/core/components/smart-table/index.js +++ b/front/core/components/smart-table/index.js @@ -122,15 +122,15 @@ export default class SmartTable extends Component { const tbody = this.element.querySelector('tbody'); if (tbody) { const noSearch = this.$compile(` - - Enter a new search + + Enter a new search `)($scope); tbody.appendChild(noSearch[0]); const noRows = this.$compile(` - - No data + + No data `)($scope); tbody.appendChild(noRows[0]);