Compare commits

...

4 commits

Author SHA1 Message Date
Johannes Zellner 942b937a8f Bump version 2024-04-04 15:56:19 +02:00
Johannes Zellner 0bd51a6143 Make tests language independent 2024-04-04 15:52:18 +02:00
Johannes Zellner a54fd42ce9 Update test deps 2024-04-04 15:21:33 +02:00
Johannes Zellner 90c7834d38 Update to 6.0.4 2024-04-04 15:20:03 +02:00
6 changed files with 638 additions and 217 deletions

View file

@ -305,3 +305,9 @@ Update web browsers support list:
* Fix invalid remote live state change notification that causes the player to reload
* Don't apply big play button skin to settings menu
* Fix downloading video files from object storage with some video names (that include emojis, quotes etc)
[2.15.2]
* Update PeerTube to 6.0.4
* [Full changelog](https://github.com/Chocobozzz/PeerTube/releases/tag/v6.0.4)
* Important: Prevent XSS injection in embed. Thanks Syst3m0ver!

View file

@ -1,6 +1,6 @@
{
"version": "2.15.1",
"upstreamVersion": "6.0.3",
"version": "2.15.2",
"upstreamVersion": "6.0.4",
"id": "org.joinpeertube.cloudronapp",
"title": "PeerTube",
"author": "PeerTube developers",

View file

@ -5,7 +5,7 @@ WORKDIR /app/code/server
RUN apt update && apt install -y prosody && rm -rf /var/cache/apt /var/lib/apt/lists
ARG VERSION=6.0.3
ARG VERSION=6.0.4
# install peertube. the chown is required for some reason for ffmpeg. it fails with EROFS without it when transcoding
RUN curl -sL https://github.com/Chocobozzz/PeerTube/releases/download/v${VERSION}/peertube-v${VERSION}.tar.xz | tar --strip-components 1 -Jxvf - && \

827
test/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,11 +10,11 @@
"license": "ISC",
"devDependencies": {
"expect.js": "^0.3.1",
"mocha": "^10.2.0"
"mocha": "^10.4.0"
},
"dependencies": {
"chromedriver": "^120.0.1",
"chromedriver": "^123.0.1",
"safetydance": "^2.4.0",
"selenium-webdriver": "^4.16.0"
"selenium-webdriver": "^4.19.0"
}
}

View file

@ -88,12 +88,10 @@ describe('Application life cycle test', function () {
await browser.sleep(2000);
if (!athenticated_by_oidc) {
await waitForElement(By.xpath('//input[@name="username"]'));
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
await browser.sleep(2000);
await browser.findElement(By.xpath('//button[@type="submit" and contains(text(), "Sign in")]')).click();
await browser.sleep(2000);
await waitForElement(By.id('inputUsername'));
await browser.findElement(By.id('inputUsername')).sendKeys(username);
await browser.findElement(By.id('inputPassword')).sendKeys(password);
await browser.findElement(By.id('loginSubmitButton')).click();
athenticated_by_oidc = true;
}