Skip to content

Commit 8399785

Browse files
authored
Merge pull request #62282 from nextcloud/test/install-slow
test: mark installation tests as slow
2 parents fb27fd5 + 86ca905 commit 8399785

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests/playwright/e2e/core/setup.spec.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ test.describe('Nextcloud installation wizard', { tag: '@setup' }, () => {
105105

106106
test.describe('SQLite', { tag: '@db_sqlite' }, () => {
107107
test('installs with SQLite', async ({ page, setupPage }) => {
108+
test.slow()
108109
await mockAppstore(page, 'skip')
109110
await setupPage.open()
110111

@@ -134,6 +135,7 @@ test.describe('Nextcloud installation wizard', { tag: '@setup' }, () => {
134135
})
135136

136137
test('installs with MySQL', { tag: '@db_mysql' }, async ({ page, setupPage }) => {
138+
test.slow()
137139
await mockAppstore(page, 'skip')
138140
await setupPage.open()
139141

@@ -143,6 +145,7 @@ test.describe('Nextcloud installation wizard', { tag: '@setup' }, () => {
143145
})
144146

145147
test('installs with MariaDB', { tag: '@db_mariadb' }, async ({ page, setupPage }) => {
148+
test.slow()
146149
await mockAppstore(page, 'skip')
147150
await setupPage.open()
148151

@@ -152,6 +155,7 @@ test.describe('Nextcloud installation wizard', { tag: '@setup' }, () => {
152155
})
153156

154157
test('installs with PostgreSQL', { tag: '@db_postgres' }, async ({ page, setupPage }) => {
158+
test.slow()
155159
await mockAppstore(page, 'skip')
156160
await setupPage.open()
157161

@@ -161,8 +165,8 @@ test.describe('Nextcloud installation wizard', { tag: '@setup' }, () => {
161165
})
162166

163167
test('installs with Oracle', { tag: '@db_oracle' }, async ({ page, setupPage }) => {
164-
// Installing into Oracle (and the Oracle container itself) is slow
165-
test.setTimeout(200_000)
168+
test.slow()
169+
test.setTimeout(200_000) // Oracle is slow to start up, so give it more time
166170
// Oracle is only offered when the server allows all databases
167171
await runExec(['cp', 'tests/databases-all-config.php', 'config/config.php'])
168172

0 commit comments

Comments
 (0)