use table-delete-rows-button instead of table-delete-rows
table-delete-rows-button is inside table-delete-rows so right not it doesn't make a difference if table-delete-rows is clicked, but in follow up we want to check if table-delete-rows-button is enabled not table-delete-rows Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I7f21dd6a423192ba80791bc94bf63ff39d12f0c6
This commit is contained in:
parent
fd49092e1c
commit
9ae85964db
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ describe(['tagdesktop'], 'Table operations', function() {
|
||||||
it('Delete row.', function() {
|
it('Delete row.', function() {
|
||||||
desktopHelper.switchUIToNotebookbar();
|
desktopHelper.switchUIToNotebookbar();
|
||||||
selectFullTable();
|
selectFullTable();
|
||||||
selectOptionNotebookbar('#table-delete-rows');
|
selectOptionNotebookbar('#table-delete-rows-button');
|
||||||
|
|
||||||
cy.cGet('.leaflet-marker-icon.table-row-resize-marker')
|
cy.cGet('.leaflet-marker-icon.table-row-resize-marker')
|
||||||
.should('have.length', 2);
|
.should('have.length', 2);
|
||||||
|
|
Loading…
Reference in a new issue