Merge pull request #13208 from overleaf/td-history-fix-change-list-test

History migration: Skip change list tests temporarily

GitOrigin-RevId: 38cdc3c42c8eafbada75c83503afb523b5d93199
This commit is contained in:
Alf Eaton
2023-05-25 08:05:43 +00:00
committed by Copybot
parent 7e2c0a55e7
commit 2b47a9e619
@@ -328,7 +328,10 @@ describe('change list', function () {
})
})
it('resets from compare to view mode when switching tabs', function () {
// Skipping this test for now because it relies on a request to be made that
// isn't required and no longer happens.
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('resets from compare to view mode when switching tabs', function () {
cy.findAllByTestId('history-version-details')
.eq(1)
.within(() => {
@@ -421,7 +424,10 @@ describe('change list', function () {
cy.wait('@download')
})
it('compares versions', function () {
// Skipping this test for now because it relies on a request to be made that
// isn't required and no longer happens.
// eslint-disable-next-line mocha/no-skipped-tests
it.skip('compares versions', function () {
cy.findAllByTestId('history-version-details').should($versions => {
const [first, ...rest] = Array.from($versions)
expect(first).to.have.attr('data-selected', 'true')