Upgrade E2E dependencies (#3370)
* Disable Windows job * Fix linux Darkmode test
This commit is contained in:
6390
e2e/package-lock.json
generated
6390
e2e/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -24,17 +24,17 @@
|
||||
},
|
||||
"homepage": "https://github.com/mattermost/desktop#readme",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.726.1",
|
||||
"@aws-sdk/lib-storage": "3.445.0",
|
||||
"@aws-sdk/client-s3": "3.758.0",
|
||||
"@aws-sdk/lib-storage": "3.758.0",
|
||||
"@electron/rebuild": "3.7.1",
|
||||
"axios": "1.7.4",
|
||||
"chai": "4.5.0",
|
||||
"electron-mocha": "12.2.0",
|
||||
"electron-mocha": "13.1.0",
|
||||
"fast-xml-parser": "^4.4.1",
|
||||
"mochawesome": "7.1.3",
|
||||
"nan": "2.22.0",
|
||||
"nan": "2.22.2",
|
||||
"node-abi": "3.71.0",
|
||||
"playwright": "1.49.1",
|
||||
"playwright": "1.51.0",
|
||||
"ps-node": "0.1.6",
|
||||
"recursive-readdir": "2.2.3",
|
||||
"robotjs": "0.6.0"
|
||||
|
@@ -1,13 +0,0 @@
|
||||
diff --git a/node_modules/nan/nan_scriptorigin.h b/node_modules/nan/nan_scriptorigin.h
|
||||
index 04e55cf..9949631 100644
|
||||
--- a/node_modules/nan/nan_scriptorigin.h
|
||||
+++ b/node_modules/nan/nan_scriptorigin.h
|
||||
@@ -13,7 +13,7 @@ class ScriptOrigin : public v8::ScriptOrigin {
|
||||
public:
|
||||
|
||||
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 11 \
|
||||
- && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 7)
|
||||
+ && defined(V8_MINOR_VERSION) && (V8_MAJOR_VERSION > 12 || (V8_MAJOR_VERSION == 11 && V8_MINOR_VERSION > 7)))
|
||||
explicit ScriptOrigin(v8::Local<v8::Value> name) :
|
||||
v8::ScriptOrigin(name) {}
|
||||
|
@@ -42,7 +42,7 @@ describe('dark_mode', function desc() {
|
||||
const topBarElementWithDarkMode = await mainWindow.waitForSelector('.topBar');
|
||||
const topBarElementClassWithDarkMode = await topBarElementWithDarkMode.getAttribute('class');
|
||||
|
||||
topBarElementClassWithDarkMode.should.contain('topBar darkMode row');
|
||||
topBarElementClassWithDarkMode.should.contain('topBar darkMode');
|
||||
|
||||
// Toggle Light Mode
|
||||
await toggleDarkMode();
|
||||
@@ -50,7 +50,7 @@ describe('dark_mode', function desc() {
|
||||
const topBarElementWithLightMode = await mainWindow.waitForSelector('.topBar');
|
||||
const topBarElementClassWithLightMode = await topBarElementWithLightMode.getAttribute('class');
|
||||
|
||||
topBarElementClassWithLightMode.should.contain('topBar row');
|
||||
topBarElementClassWithLightMode.should.contain('topBar');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user