Skip to content

Commit 86bb731

Browse files
committed
synchronized with docs
1 parent 441897e commit 86bb731

3 files changed

Lines changed: 36 additions & 2 deletions

File tree

docs/build/Appium.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,10 @@ class Appium extends Webdriver {
383383

384384
_buildAppiumEndpoint() {
385385
const { protocol, port, hostname, path } = this.browser.options
386+
// Ensure path does NOT end with a slash to prevent double slashes
387+
const normalizedPath = path.replace(/\/$/, '')
386388
// Build path to Appium REST API endpoint
387-
return `${protocol}://${hostname}:${port}${path}/session/${this.browser.sessionId}`
389+
return `${protocol}://${hostname}:${port}${normalizedPath}/session/${this.browser.sessionId}`
388390
}
389391

390392
/**

docs/build/Mochawesome.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ let currentSuite
44

55
const Helper = require('@codeceptjs/helper')
66
const { clearString } = require('../utils')
7+
const { testToFileName } = require('../mocha/test')
78

89
class Mochawesome extends Helper {
910
constructor(config) {
@@ -50,7 +51,7 @@ class Mochawesome extends Helper {
5051
fileName = clearString(`${test.title}_${currentTest.test.title}`)
5152
} else {
5253
currentTest = { test }
53-
fileName = clearString(test.title)
54+
fileName = `${testToFileName(test)}`
5455
}
5556
if (this.options.uniqueScreenshotNames) {
5657
const uuid = test.uuid || test.ctx.test.uuid

docs/changelog.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,37 @@ layout: Section
77

88
# Releases
99

10+
## 3.7.3
11+
12+
❤️ Thanks all to those who contributed to make this release! ❤️
13+
14+
🛩️ _Features_
15+
16+
- feat(cli): improve info command to return installed browsers ([#4890](https://github.com/codeceptjs/CodeceptJS/issues/4890)) - by **[kobenguyent](https://github.com/kobenguyent)**
17+
18+
```
19+
➜ helloworld npx codeceptjs info
20+
Environment information:
21+
22+
codeceptVersion: "3.7.2"
23+
nodeInfo: 18.19.0
24+
osInfo: macOS 14.4
25+
cpuInfo: (8) x64 Apple M1 Pro
26+
osBrowsers: "chrome: 133.0.6943.143, edge: 133.0.3065.92, firefox: not installed, safari: 17.4"
27+
playwrightBrowsers: "chromium: 133.0.6943.16, firefox: 134.0, webkit: 18.2"
28+
helpers: {
29+
"Playwright": {
30+
"url": "http://localhost",
31+
...
32+
```
33+
34+
🐛 _Bug Fixes_
35+
36+
- fix: resolving path inconsistency in container.js and appium.js ([#4866](https://github.com/codeceptjs/CodeceptJS/issues/4866)) - by **[mjalav](https://github.com/mjalav)**
37+
- fix: broken screenshot links in mochawesome reports ([#4889](https://github.com/codeceptjs/CodeceptJS/issues/4889)) - by **[kobenguyent](https://github.com/kobenguyent)**
38+
- some internal fixes to make UTs more stable by **[thomashohn](https://github.com/thomashohn)**
39+
- dependencies upgrades by **[thomashohn](https://github.com/thomashohn)**
40+
1041
## 3.7.2
1142

1243
❤️ Thanks all to those who contributed to make this release! ❤️

0 commit comments

Comments
 (0)