mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(cypress): Adjust cypress tests that relied on version to be 28
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
a9c627cd91
commit
d58b41301a
2 changed files with 2 additions and 1 deletions
|
|
@ -89,6 +89,7 @@ describe('Admin theming set default apps', () => {
|
|||
})
|
||||
|
||||
it('See the default app is changed back to default', () => {
|
||||
cy.reload()
|
||||
cy.get('#nextcloud').click()
|
||||
cy.url().should('match', /apps\/dashboard/)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ export function installTestApp() {
|
|||
const version = output.stdout.match(/(\d\d+)\.\d+\.\d+/)?.[1]
|
||||
cy.wrap(version).should('not.be.undefined')
|
||||
cy.exec(`docker cp '${testAppPath}' nextcloud-cypress-tests-server:/var/www/html/apps`, { log: true })
|
||||
cy.exec(`docker exec nextcloud-cypress-tests-server sed -i 's|version="[0-9]+|version="${version}|' apps/testapp/appinfo/info.xml`)
|
||||
cy.exec(`docker exec nextcloud-cypress-tests-server sed -i -e 's|-version="[0-9]\\+|-version="${version}|g' apps/testapp/appinfo/info.xml`)
|
||||
cy.runOccCommand('app:enable testapp')
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue