Merge pull request #12906 from overleaf/td-history-fix-labels-test

Expect correct number of labels in history version list test

GitOrigin-RevId: 2a56b21c7359aad5111a2a7879f31fb5e7c6b73d
This commit is contained in:
Tim Down 2023-05-02 15:46:06 +01:00 committed by Copybot
parent 7f17992cbc
commit da916c9c13

View file

@ -398,7 +398,9 @@ describe('change list', function () {
waitForData()
cy.findByLabelText(/labels/i).click({ force: true })
cy.get('.history-version-label').should('have.length', 1)
// One pseudo-label for the current state, one for our label
cy.get('.history-version-label').should('have.length', 2)
})
})
})