mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 10:06:26 +00:00
Cypress upgrade
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
FROM cypress/included:12.13.0
|
||||
FROM cypress/included:13.9.0
|
||||
|
||||
COPY --chown=1000 ./test /test
|
||||
|
||||
|
@ -7,15 +7,16 @@ module.exports = defineConfig({
|
||||
reporterOptions: {
|
||||
configFile: 'multi-reporter.json'
|
||||
},
|
||||
video: true,
|
||||
videosFolder: 'results/videos',
|
||||
screenshotsFolder: 'results/screenshots',
|
||||
env: {
|
||||
swaggerBase: '{{baseUrl}}/api/schema',
|
||||
RETRIES: 4
|
||||
},
|
||||
e2e: {
|
||||
e2e: {
|
||||
setupNodeEvents(on, config) {
|
||||
return require('../plugins/index.js')(on, config);
|
||||
},
|
||||
}
|
||||
env: {
|
||||
swaggerBase: '{{baseUrl}}/api/schema',
|
||||
},
|
||||
baseUrl: 'http://localhost:1234',
|
||||
},
|
||||
});
|
||||
|
@ -7,16 +7,14 @@ module.exports = defineConfig({
|
||||
reporterOptions: {
|
||||
configFile: 'multi-reporter.json'
|
||||
},
|
||||
videos: false,
|
||||
video: false,
|
||||
screenshotsFolder: 'results/screenshots',
|
||||
env: {
|
||||
swaggerBase: '{{baseUrl}}/api/schema',
|
||||
RETRIES: 0
|
||||
},
|
||||
e2e: {
|
||||
// baseUrl: '{{baseUrl}}',
|
||||
e2e: {
|
||||
setupNodeEvents(on, config) {
|
||||
return require('../plugins/index.js')(on, config);
|
||||
},
|
||||
env: {
|
||||
swaggerBase: '{{baseUrl}}/api/schema',
|
||||
},
|
||||
}
|
||||
});
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "Using fixtures to represent data",
|
||||
"email": "hello@cypress.io",
|
||||
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||
}
|
@ -19,7 +19,6 @@ Cypress.Commands.add('randomString', (length) => {
|
||||
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
||||
}
|
||||
return result;
|
||||
// cy.wrap(result);
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user