Update electron to 27.1.2

This commit is contained in:
Fedor Indutny 2023-11-28 00:44:53 +01:00 committed by GitHub
parent bb6e011488
commit ceb1564e6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 19 deletions

View file

@ -28,7 +28,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- name: Install global dependencies
run: npm install -g yarn@1.22.10

View file

@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
- name: Cache Desktop node_modules
@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
- name: Cache Desktop node_modules
@ -121,7 +121,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- run: sudo apt-get install xvfb
- run: npm install -g yarn@1.22.10
@ -187,7 +187,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
# Set things up so @nodert-win10-rs4 dependencies build properly
@ -262,7 +262,7 @@ jobs:
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- name: Install global dependencies
run: npm install -g yarn@1.22.10

View file

@ -15,7 +15,7 @@ jobs:
fetch-depth: 0 # fetch all history
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
- run: npm install -g yarn@1.22.10
- name: Cache danger node_modules
id: cache-desktop-modules

View file

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.15.0'
node-version: '18.17.1'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn build:storybook

2
.nvmrc
View file

@ -1 +1 @@
18.15.0
18.17.1

View file

@ -275,7 +275,7 @@
"csv-parse": "5.5.2",
"danger": "11.1.2",
"debug": "4.3.3",
"electron": "25.9.3",
"electron": "27.1.2",
"electron-builder": "24.6.3",
"electron-mocha": "11.0.2",
"endanger": "7.0.4",
@ -335,7 +335,7 @@
"read-last-lines/mz/thenify-all/thenify": "3.3.1"
},
"engines": {
"node": "18.15.0"
"node": "18.17.1"
},
"build": {
"appId": "org.whispersystems.signal-desktop",

View file

@ -219,8 +219,9 @@ describe('story/messaging', function (this: Mocha.Suite) {
debug('Create and send a story to the group');
await window.getByRole('button', { name: 'Add a story' }).first().click();
await window.getByRole('button', { name: 'Text story' }).click();
await window.locator('.TextAttachment').click();
await window.getByRole('textbox', { name: 'Add text' }).type('hello');
// Note: For some reason `.click()` doesn't work here anymore.
await window.locator('.TextAttachment').dispatchEvent('click');
await window.getByRole('textbox', { name: 'Add text' }).fill('hello');
await window.getByRole('button', { name: 'Next' }).click();
await window
.locator('.Checkbox__container')

View file

@ -94,12 +94,13 @@ describe('story/no-sender-key', function (this: Mocha.Suite) {
.click();
debug('Focusing textarea');
await storiesCreator.locator('.TextAttachment__story').click();
// Note: For some reason `.click()` doesn't work here anymore.
await storiesCreator.locator('.TextAttachment').dispatchEvent('click');
debug('Entering text');
await storiesCreator
.locator('.TextAttachment__text__textarea')
.type('123');
.fill('123');
debug('Clicking "Next"');
await storiesCreator

View file

@ -9067,10 +9067,10 @@ electron-window@^0.8.0:
dependencies:
is-electron-renderer "^2.0.0"
electron@25.9.3:
version "25.9.3"
resolved "https://registry.yarnpkg.com/electron/-/electron-25.9.3.tgz#cdd53a30fb914adadcfbd34124237fb38b1c07d0"
integrity sha512-dacaHg/PuwVcFRgPDCM5j7UDzqGJWOsbBRdS5wPKLNS/ejPeccIjuNUT1cqcrpvCJKAFW8swHWg9kdizNSEDHQ==
electron@27.1.2:
version "27.1.2"
resolved "https://registry.yarnpkg.com/electron/-/electron-27.1.2.tgz#d3074c91cce94c1e19b5904b1cdf78c830f2558d"
integrity sha512-Dy6BUuGLiIJv+zfsXwr78TV2TNppi24rXF4PIIS+OjDblEKdkI9r1iM8JUd3/x3sbGUy5mdLMSPhvmu//IhkgA==
dependencies:
"@electron/get" "^2.0.0"
"@types/node" "^18.11.18"