mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
510e686b7b
commit
5827c6f05c
1 changed files with 8 additions and 2 deletions
|
@ -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')
|
cy.findAllByTestId('history-version-details')
|
||||||
.eq(1)
|
.eq(1)
|
||||||
.within(() => {
|
.within(() => {
|
||||||
|
@ -421,7 +424,10 @@ describe('change list', function () {
|
||||||
cy.wait('@download')
|
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 => {
|
cy.findAllByTestId('history-version-details').should($versions => {
|
||||||
const [first, ...rest] = Array.from($versions)
|
const [first, ...rest] = Array.from($versions)
|
||||||
expect(first).to.have.attr('data-selected', 'true')
|
expect(first).to.have.attr('data-selected', 'true')
|
||||||
|
|
Loading…
Reference in a new issue