We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4536d54 commit 47f98fdCopy full SHA for 47f98fd
smoke-test/tests/cypress/cypress.config.js
@@ -28,8 +28,12 @@ module.exports = defineConfig({
28
mochaFile: "build/smoke-test-results/cypress-test-[hash].xml",
29
toConsole: true,
30
testCaseSwitchClassnameAndName: true,
31
- suiteNameTemplate: "{filepath}",
+ suiteNameTemplate: "{dirpath}",
32
classNameTemplate: "{filepath}",
33
- titleTemplate: "{filepath}",
34
},
35
});
+
36
+beforeEach(function() {
37
+ const fileName = require('path').basename(this.currentTest.file);
38
+ this.currentTest.title = `[${fileName}] ${this.currentTest.title}`;
39
+});
0 commit comments