@open-xchange/appsuite-codeceptjs 0.6.20 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/container/Dockerfile +1 -1
- package/index.js +5 -3
- package/package.json +1 -1
- package/.claude/settings.local.json +0 -9
package/container/Dockerfile
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
FROM registry.gitlab.com/openxchange/
|
|
1
|
+
FROM registry.gitlab.com/openxchange/base-images/wolfi/playwright:1.58.2
|
package/index.js
CHANGED
|
@@ -25,6 +25,8 @@ const pageobjects = require('@open-xchange/appsuite-codeceptjs-pageobjects')
|
|
|
25
25
|
const dotenv = require('dotenv')
|
|
26
26
|
dotenv.config({ path: ['.env', '.env.defaults'], quiet: true })
|
|
27
27
|
|
|
28
|
+
const outputDir = process.env.E2E_OUTPUT_DIR || './output'
|
|
29
|
+
|
|
28
30
|
const requiredEnvVars = ['LAUNCH_URL', 'PROVISIONING_URL']
|
|
29
31
|
|
|
30
32
|
requiredEnvVars.forEach(function notdefined (key) {
|
|
@@ -42,7 +44,7 @@ module.exports = {
|
|
|
42
44
|
config: {
|
|
43
45
|
tests: './tests/**/*_test.js',
|
|
44
46
|
timeout: Number(process.env.TEST_TIMEOUT) || 120,
|
|
45
|
-
output:
|
|
47
|
+
output: outputDir,
|
|
46
48
|
helpers: {
|
|
47
49
|
Playwright: {
|
|
48
50
|
timeout: 10000,
|
|
@@ -129,7 +131,7 @@ module.exports = {
|
|
|
129
131
|
stdout: '-',
|
|
130
132
|
options: {
|
|
131
133
|
jenkinsMode: true,
|
|
132
|
-
mochaFile:
|
|
134
|
+
mochaFile: `${outputDir}/junit.xml`,
|
|
133
135
|
attachments: false // add screenshot for a failed test
|
|
134
136
|
}
|
|
135
137
|
}
|
|
@@ -139,7 +141,7 @@ module.exports = {
|
|
|
139
141
|
allure: {
|
|
140
142
|
enabled: true,
|
|
141
143
|
require: 'allure-codeceptjs',
|
|
142
|
-
outputDir
|
|
144
|
+
outputDir
|
|
143
145
|
// This will change to the below once the allure plugin is updated to >= 3.0.0
|
|
144
146
|
// At the time of writing, the allure plugin is at 3.0.0-beta.3 and screenshots are not working
|
|
145
147
|
// resultsDir: './output'
|
package/package.json
CHANGED