Merge pull request #17815 from overleaf/ar-allow-labels-to-be-added-in-label-list

Allow labels to be added from label list

GitOrigin-RevId: 61abbc74aff1901f4adb16575b02148f8dbf99e2
This commit is contained in:
Andrew Rumble
2024-04-11 08:03:43 +00:00
committed by Copybot
parent 8e0e2041a7
commit b053e73e76
6 changed files with 19 additions and 51 deletions
@@ -319,7 +319,7 @@ describe('change list', function () {
cy.findByLabelText(/labels/i).click({ force: true })
})
it('does not show the dropdown menu item for adding new labels', function () {
it('shows the dropdown menu item for adding new labels', function () {
cy.findAllByTestId('history-version-details')
.eq(1)
.within(() => {
@@ -327,7 +327,7 @@ describe('change list', function () {
cy.findByRole('menu').within(() => {
cy.findByRole('menuitem', {
name: /label this version/i,
}).should('not.exist')
}).should('exist')
})
})
})