aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
Diffstat (limited to 'cypress')
-rw-r--r--cypress/dockerNode.ts1
-rw-r--r--cypress/e2e/core/setup.ts20
2 files changed, 21 insertions, 0 deletions
diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts
index 5cd2415f111..6e21b33101c 100644
--- a/cypress/dockerNode.ts
+++ b/cypress/dockerNode.ts
@@ -182,6 +182,7 @@ export const applyChangesToNextcloud = async function() {
'./ocs',
'./ocs-provider',
'./resources',
+ './tests',
'./console.php',
'./cron.php',
'./index.php',
diff --git a/cypress/e2e/core/setup.ts b/cypress/e2e/core/setup.ts
index 01606a75617..498e908585c 100644
--- a/cypress/e2e/core/setup.ts
+++ b/cypress/e2e/core/setup.ts
@@ -85,6 +85,26 @@ describe('Can install Nextcloud', { testIsolation: true, retries: 0 }, () => {
sharedSetup()
})
+ it('Oracle', () => {
+ cy.runCommand('cp /var/www/html/tests/databases-all-config.php /var/www/html/config/config.php')
+ cy.visit('/')
+ cy.get('[data-cy-setup-form]').should('be.visible')
+ cy.get('[data-cy-setup-form-field="adminlogin"]').should('be.visible')
+ cy.get('[data-cy-setup-form-field="adminpass"]').should('be.visible')
+ cy.get('[data-cy-setup-form-field="directory"]').should('have.value', '/var/www/html/data')
+
+ // Select the SQLite database
+ cy.get('[data-cy-setup-form-field="dbtype-oci"] input').check({ force: true })
+
+ // Fill in the DB form
+ cy.get('[data-cy-setup-form-field="dbuser"]').type('{selectAll}system')
+ cy.get('[data-cy-setup-form-field="dbpass"]').type('{selectAll}oracle')
+ cy.get('[data-cy-setup-form-field="dbname"]').type('{selectAll}FREE')
+ cy.get('[data-cy-setup-form-field="dbhost"]').type('{selectAll}oracle:1521')
+
+ sharedSetup()
+ })
+
})
/**