mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-17 21:12:14 +01:00
fix: Adapt version sidebar id and selector in tests
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
parent
2663786b81
commit
cb76e72c4f
2 changed files with 3 additions and 3 deletions
|
|
@ -63,9 +63,9 @@ describe('Nextcloud integration', function() {
|
|||
.should('be.visible')
|
||||
.should('contain.text', filename)
|
||||
|
||||
cy.get('#tab-version_vue').should('be.visible')
|
||||
cy.get('#tab-files_versions').should('be.visible')
|
||||
|
||||
cy.get('#tab-version_vue .version__info__label').contains('Current version')
|
||||
cy.get('#tab-files_versions .version__info__label').contains('Current version')
|
||||
})
|
||||
|
||||
it('Save as', function() {
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ export default {
|
|||
return
|
||||
}
|
||||
OCA?.Files?.Sidebar?.open(this.filePath + '/' + this.fileName)
|
||||
OCA?.Files?.Sidebar?.setActiveTab('version_vue')
|
||||
OCA?.Files?.Sidebar?.setActiveTab('files_versions')
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue