mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 15:34:59 +01:00
Update dependency electron to v29 (#1557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
7e1ef1ad5d
commit
525d633d79
3
.github/workflows/build_and_test.yaml
vendored
3
.github/workflows/build_and_test.yaml
vendored
@ -171,8 +171,9 @@ jobs:
|
|||||||
ELEMENT_DESKTOP_EXECUTABLE: ${{ matrix.executable }}
|
ELEMENT_DESKTOP_EXECUTABLE: ${{ matrix.executable }}
|
||||||
|
|
||||||
- name: Upload HTML report
|
- name: Upload HTML report
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact }}-test
|
name: ${{ matrix.artifact }}-test
|
||||||
path: playwright-report
|
path: playwright/html-report
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
"app-builder-lib": "24.13.3",
|
"app-builder-lib": "24.13.3",
|
||||||
"chokidar": "^3.5.2",
|
"chokidar": "^3.5.2",
|
||||||
"detect-libc": "^2.0.0",
|
"detect-libc": "^2.0.0",
|
||||||
"electron": "^28.0.0",
|
"electron": "^29.0.0",
|
||||||
"electron-builder": "24.13.3",
|
"electron-builder": "24.13.3",
|
||||||
"electron-builder-squirrel-windows": "24.13.3",
|
"electron-builder-squirrel-windows": "24.13.3",
|
||||||
"electron-devtools-installer": "^3.2.0",
|
"electron-devtools-installer": "^3.2.0",
|
||||||
|
@ -17,6 +17,7 @@ limitations under the License.
|
|||||||
import { test, expect } from "../../element-desktop-test";
|
import { test, expect } from "../../element-desktop-test";
|
||||||
|
|
||||||
test.describe("App launch", () => {
|
test.describe("App launch", () => {
|
||||||
|
test.slow();
|
||||||
test("should launch and render the welcome view successfully", async ({ page }) => {
|
test("should launch and render the welcome view successfully", async ({ page }) => {
|
||||||
await page.locator("#matrixchat").waitFor();
|
await page.locator("#matrixchat").waitFor();
|
||||||
await page.locator(".mx_Welcome").waitFor();
|
await page.locator(".mx_Welcome").waitFor();
|
||||||
|
@ -33,7 +33,7 @@ export const test = base.extend<{ app: ElectronApplication; tmpDir: string }>({
|
|||||||
const executablePath = process.env["ELEMENT_DESKTOP_EXECUTABLE"];
|
const executablePath = process.env["ELEMENT_DESKTOP_EXECUTABLE"];
|
||||||
if (!executablePath) {
|
if (!executablePath) {
|
||||||
// Unpackaged mode testing
|
// Unpackaged mode testing
|
||||||
args.unshift("./lib/electron-main.js");
|
args.unshift(path.join(__dirname, "..", "lib", "electron-main.js"));
|
||||||
}
|
}
|
||||||
|
|
||||||
const app = await electron.launch({
|
const app = await electron.launch({
|
||||||
@ -42,6 +42,9 @@ export const test = base.extend<{ app: ElectronApplication; tmpDir: string }>({
|
|||||||
args,
|
args,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.process().stdout.pipe(process.stdout);
|
||||||
|
app.process().stderr.pipe(process.stderr);
|
||||||
|
|
||||||
await app.firstWindow();
|
await app.firstWindow();
|
||||||
await use(app);
|
await use(app);
|
||||||
},
|
},
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
12
yarn.lock
12
yarn.lock
@ -1806,7 +1806,7 @@
|
|||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
form-data "^4.0.0"
|
form-data "^4.0.0"
|
||||||
|
|
||||||
"@types/node@*", "@types/node@18.19.21", "@types/node@^17.0.36", "@types/node@^18.11.18":
|
"@types/node@*", "@types/node@18.19.21", "@types/node@^17.0.36", "@types/node@^20.9.0":
|
||||||
version "18.19.21"
|
version "18.19.21"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.21.tgz#f4ca1ac8ffb05ee4b89163c2d6fac9a1a59ee149"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.21.tgz#f4ca1ac8ffb05ee4b89163c2d6fac9a1a59ee149"
|
||||||
integrity sha512-2Q2NeB6BmiTFQi4DHBzncSoq/cJMLDdhPaAoJFnFCyD9a8VPZRf7a1GAwp1Edb7ROaZc5Jz/tnZyL6EsWMRaqw==
|
integrity sha512-2Q2NeB6BmiTFQi4DHBzncSoq/cJMLDdhPaAoJFnFCyD9a8VPZRf7a1GAwp1Edb7ROaZc5Jz/tnZyL6EsWMRaqw==
|
||||||
@ -3189,13 +3189,13 @@ electron-window-state@^5.0.3:
|
|||||||
jsonfile "^4.0.0"
|
jsonfile "^4.0.0"
|
||||||
mkdirp "^0.5.1"
|
mkdirp "^0.5.1"
|
||||||
|
|
||||||
electron@^28.0.0:
|
electron@^29.0.0:
|
||||||
version "28.2.5"
|
version "29.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/electron/-/electron-28.2.5.tgz#d8e85306e8c51456042223a51f560f6ada565dc8"
|
resolved "https://registry.yarnpkg.com/electron/-/electron-29.1.0.tgz#37f0e4915226db3c87bc54b187795272bf61fc39"
|
||||||
integrity sha512-qlvQkDNVAzN647NpiJJw7GYJqE0NwK4+1evkhrQ0Xv6Qgab1EtN50G4oDr4/x/+O5pGUG2P5d3isXu+37O3RDw==
|
integrity sha512-giJVIm0sWVp+8V1GXrKqKTb+h7no0P3ooYqEd34AD9wMJzGnAeL+usj+R0155/0pdvvP1mgydnA7lcaFA2M9lw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@electron/get" "^2.0.0"
|
"@electron/get" "^2.0.0"
|
||||||
"@types/node" "^18.11.18"
|
"@types/node" "^20.9.0"
|
||||||
extract-zip "^2.0.1"
|
extract-zip "^2.0.1"
|
||||||
|
|
||||||
emoji-regex@^8.0.0:
|
emoji-regex@^8.0.0:
|
||||||
|
Loading…
Reference in New Issue
Block a user