Bug 36177: Cypress tests - cypress-mysql config
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
8732405f04
commit
06c62ab84a
|
|
@ -8,9 +8,17 @@ export default defineConfig({
|
|||
|
||||
e2e: {
|
||||
experimentalStudio: true,
|
||||
baseUrl: "http://localhost:8081",
|
||||
baseUrl: "http://kohadev-intra.mydnsname.org:8081",
|
||||
specPattern: "t/cypress/integration/**/*.*",
|
||||
supportFile: "t/cypress/support/e2e.js",
|
||||
env: {
|
||||
db: {
|
||||
host: "db",
|
||||
user: "koha_kohadev",
|
||||
password: "password",
|
||||
database: "koha_kohadev",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
component: {
|
||||
|
|
|
|||
|
|
@ -11,3 +11,9 @@ module.exports = (on, config) => {
|
|||
|
||||
return config
|
||||
}
|
||||
|
||||
const mysql = require('cypress-mysql');
|
||||
|
||||
module.exports = (on, config) => {
|
||||
mysql.configurePlugin(on);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -671,3 +671,6 @@ cy.getSushiService = () => {
|
|||
"url": "https:\/\/onlinelibrary.wiley.com\/reports\/"
|
||||
}
|
||||
}
|
||||
|
||||
const mysql = require('cypress-mysql');
|
||||
mysql.addCommands();
|
||||
|
|
|
|||
Loading…
Reference in New Issue