diff --git a/e2e/tests/functional/plugins/notebook/notebookWithCouchDB.e2e.spec.js b/e2e/tests/functional/plugins/notebook/notebookWithCouchDB.e2e.spec.js index fa84fc6562..9a37ba487e 100644 --- a/e2e/tests/functional/plugins/notebook/notebookWithCouchDB.e2e.spec.js +++ b/e2e/tests/functional/plugins/notebook/notebookWithCouchDB.e2e.spec.js @@ -131,13 +131,13 @@ test.describe('Notebook Tests with CouchDB @couchdb', () => { // This happens for 3 tags so 12 requests addingNotebookElementsRequests = []; await page.hover('[aria-label="Tag"]:has-text("Driving")'); - await page.locator('[aria-label="Tag"]:has-text("Driving") ~ .c-completed-tag-deletion').click(); + await page.locator('[aria-label="Remove tag Driving"]').click(); await page.waitForSelector('[aria-label="Tag"]:has-text("Driving")', {state: 'hidden'}); await page.hover('[aria-label="Tag"]:has-text("Drilling")'); - await page.locator('[aria-label="Tag"]:has-text("Drilling") ~ .c-completed-tag-deletion').click(); + await page.locator('[aria-label="Remove tag Drilling"]').click(); await page.waitForSelector('[aria-label="Tag"]:has-text("Drilling")', {state: 'hidden'}); page.hover('[aria-label="Tag"]:has-text("Science")'); - await page.locator('[aria-label="Tag"]:has-text("Science") ~ .c-completed-tag-deletion').click(); + await page.locator('[aria-label="Remove tag Science"]').click(); await page.waitForSelector('[aria-label="Tag"]:has-text("Science")', {state: 'hidden'}); page.waitForLoadState('networkidle'); expect(filterNonFetchRequests(addingNotebookElementsRequests).length).toBeLessThanOrEqual(12); diff --git a/e2e/tests/functional/plugins/notebook/tags.e2e.spec.js b/e2e/tests/functional/plugins/notebook/tags.e2e.spec.js index dc003185e6..b04dfa7f34 100644 --- a/e2e/tests/functional/plugins/notebook/tags.e2e.spec.js +++ b/e2e/tests/functional/plugins/notebook/tags.e2e.spec.js @@ -145,7 +145,7 @@ test.describe('Tagging in Notebooks @addInit', () => { await createNotebookEntryAndTags(page); // Delete Driving await page.hover('[aria-label="Tag"]:has-text("Driving")'); - await page.locator('[aria-label="Tag"]:has-text("Driving") ~ .c-completed-tag-deletion').click(); + await page.locator('[aria-label="Remove tag Driving"]').click(); await expect(page.locator('[aria-label="Tags Inspector"]')).toContainText("Science"); await expect(page.locator('[aria-label="Tags Inspector"]')).not.toContainText("Driving"); diff --git a/src/ui/components/tags/TagEditor.vue b/src/ui/components/tags/TagEditor.vue index 996d7b9018..4735560e82 100644 --- a/src/ui/components/tags/TagEditor.vue +++ b/src/ui/components/tags/TagEditor.vue @@ -21,7 +21,7 @@ *****************************************************************************/