yasser khan
ceb00c6199
E2E: Run E2E tests with Server Init ( #3452 )
...
* Run mm server via Docker
* Run mm server via Docker
* test separate server setup for e2e jobs
* Revert "test separate server setup for e2e jobs"
This reverts commit efd23823ac65de8945d635ce9f699c7a9e4fbd77.
* Fix docker on windows
* test run
* test run
* fix
* try a script to trigger Server spinup
* try a script to trigger Server spinup
* test
* remove the trigger workflow
* Change Label
* test-run with disabled E2E/Run label
* test-run
* test-run
* Fixes desktop e2e
* Fixes desktop e2e
* Fixes desktop e2e
* Fixes desktop e2e
---------
Co-authored-by: Mattermost Build <build@mattermost.com >
2025-07-18 10:04:45 -04:00
Devin Binnie
dcbb8b7a91
Fix bad path name for user data dir, upgrade node-abi ( #3406 )
...
* Fix bad path name for user data dir, upgrade node-abi
* Run windows e2e
* Enable Windows tests and fix linux e2e crash
* chore: remove redundant dependencies and environment variables in e2e workflow
* fix: resolve Linux GPU process initialization errors in GitHub Actions
* Fix linux tests
* Fix lint
* fix: Enhance GPU handling to prevent process crashes in E2E tests
This commit addresses GPU-related stability issues in our E2E test environment by:
1. Updating GPU helper utility with more comprehensive disabling methods
2. Adding environment variables to force software rendering
3. Configuring Electron to use in-process GPU rendering
4. Adding additional Linux dependencies for better GPU support
5. Expanding command-line flags to mitigate GPU process crashes
The changes include modifications to:
- e2e/utils/gpu-helper.js
- e2e/modules/environment.js
- .github/workflows/e2e-functional-template.yml
- .github/actions/install-os-dependencies/action.yaml
* Fix linux tests
* Fix linux tests
* Fix linux tests
* Fix linux tests
* Fix linux tests
* Revert "chore: remove redundant dependencies and environment variables in e2e workflow"
This reverts commit 6a8eb0cbee155c3fd3f26df8d45af8c1f5cf2f12.
* run tests with xvfb-run --auto-servernum
* change ubuntu-runner to use latest
* change ubuntu-runner to use 24.04 version
* fix linux tests
* fix linux tests
* add preload test script
* add preload test script
* add preload test script
* update preload script
* reset all changes made to fix linux e2e error
* reset all changes made to fix linux e2e error
* reset all changes made to fix linux e2e error
* fix linux package instalation
* fix chrome sandbox permission issue
* bump electron version to 36.1.0
* Revert "bump electron version to 36.1.0"
This reverts commit 4a9bf858754c0c1909b3626f703578913adf3714.
* install dbus and declare DBUS_SYSTEM_BUS_ADDRESS
* fix dbus error
* fix dbus error
* fix dbus error
* fix dbus error
* fix: Try the community suggestion
- https://github.com/actions/runner-images/issues/12127#issuecomment-2854346891
* change libasound2 to libasound2t64
* use gcc-12-aarch64-linux-gnu instead of gcc-aarch64-linux-gnu
* remove multilib
* fix xvfb crash
* fix: add PW_CHROMIUM_ARGS
* fix: add --disable-gpu-sandbox to the e2e run command
* fix: windows job
* pass version to electron rebuild
* fix post install script under /e2e
* Revert "fix post install script under /e2e"
This reverts commit 01efeed2e5038684c0aea5bb0be837b7041be8ca.
* skip postinstall scipt for windows job
* hardcode electron version in the e2e/package.json
* update script
* Revert "update script"
This reverts commit 078d197e44dc78972876a977f4a91182d89024b6.
* update script
* reset
* upgrade electron/rebuild package
* Revert "upgrade electron/rebuild package"
This reverts commit 25b144df05152b0bc112db6473263bfd68850874.
* Patch electron/rebuild
* Fix macOS test
---------
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com >
Co-authored-by: Mattermost Build <build@mattermost.com >
2025-06-19 10:39:16 -04:00
dependabot[bot]
011e5662b3
Bump the github-actions-updates group across 1 directory with 4 updates ( #3405 )
...
Bumps the github-actions-updates group with 4 updates in the / directory: [actions/setup-node](https://github.com/actions/setup-node ), [actions/download-artifact](https://github.com/actions/download-artifact ), [mattermost/actions](https://github.com/mattermost/actions ) and [actions/setup-python](https://github.com/actions/setup-python ).
Updates `actions/setup-node` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](cdca7365b2...49933ea528
)
Updates `actions/download-artifact` from 4.2.1 to 4.3.0
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](95815c38cf...d3f86a106a
)
Updates `mattermost/actions` from 746563b58e737a17a8ceb00b84a813b9e6e1b236 to 2620a83b059b7218192636361299aadde81ae243
- [Commits](746563b58e...2620a83b05
)
Updates `actions/setup-python` from 5.5.0 to 5.6.0
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](8d9ed9ac5c...a26af69be9
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: 4.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/download-artifact
dependency-version: 4.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: mattermost/actions
dependency-version: 2620a83b059b7218192636361299aadde81ae243
dependency-type: direct:production
dependency-group: github-actions-updates
- dependency-name: actions/setup-python
dependency-version: 5.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 11:26:11 +03:00
dependabot[bot]
bef3d44887
Bump actions/setup-python in the github-actions-updates group ( #3385 )
...
Bumps the github-actions-updates group with 1 update: [actions/setup-python](https://github.com/actions/setup-python ).
Updates `actions/setup-python` from 5.4.0 to 5.5.0
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](42375524e2...8d9ed9ac5c
)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 16:34:12 +03:00
yasser khan
aa4ee31da3
Spin server when Tests start ( #3316 )
2025-03-26 18:13:10 +00:00
dependabot[bot]
eba1b7b674
Bump the github-actions-updates group with 3 updates ( #3381 )
...
Bumps the github-actions-updates group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ), [actions/cache](https://github.com/actions/cache ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `actions/upload-artifact` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](4cec3d8aa0...ea165f8d65
)
Updates `actions/cache` from 4.2.2 to 4.2.3
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](d4323d4df1...5a3ec84eff
)
Updates `actions/download-artifact` from 4.1.9 to 4.2.1
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](cc20338598...95815c38cf
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-26 13:49:57 +02:00
dependabot[bot]
d0f5478111
Bump actions/setup-node in the github-actions-updates group ( #3374 )
...
Bumps the github-actions-updates group with 1 update: [actions/setup-node](https://github.com/actions/setup-node ).
Updates `actions/setup-node` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](1d0ff469b7...cdca7365b2
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 09:19:11 -04:00
yasser khan
9090f243b3
Upgrade E2E dependencies ( #3370 )
...
* Disable Windows job
* Fix linux Darkmode test
2025-03-11 16:28:34 -04:00
dependabot[bot]
ae751d2351
Bump the github-actions-updates group with 2 updates ( #3361 )
...
Bumps the github-actions-updates group with 2 updates: [actions/cache](https://github.com/actions/cache ) and [actions/download-artifact](https://github.com/actions/download-artifact ).
Updates `actions/cache` from 4.2.1 to 4.2.2
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](0c907a75c2...d4323d4df1
)
Updates `actions/download-artifact` from 4.1.8 to 4.1.9
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](fa0a91b85d...cc20338598
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-05 11:14:32 +02:00
dependabot[bot]
f9b951245b
Bump the github-actions-updates group with 3 updates ( #3351 )
...
Bumps the github-actions-updates group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact ), [actions/cache](https://github.com/actions/cache ) and [ossf/scorecard-action](https://github.com/ossf/scorecard-action ).
Updates `actions/upload-artifact` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](65c4c4a1dd...4cec3d8aa0
)
Updates `actions/cache` from 4.2.0 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](1bd1e32a3b...0c907a75c2
)
Updates `ossf/scorecard-action` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](62b2cac7ed...f49aabe0b5
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 09:39:06 -05:00
dependabot[bot]
34963cbaa8
Bump the github-actions-updates group with 10 updates ( #3343 )
...
Bumps the github-actions-updates group with 10 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.1` | `4.2.2` |
| [actions/setup-node](https://github.com/actions/setup-node ) | `4.0.2` | `4.2.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `4.3.1` | `4.6.0` |
| [actions/cache](https://github.com/actions/cache ) | `4.0.2` | `4.2.0` |
| [actions/download-artifact](https://github.com/actions/download-artifact ) | `4.1.4` | `4.1.8` |
| [EnricoMi/publish-unit-test-result-action](https://github.com/enricomi/publish-unit-test-result-action ) | `2.3.0` | `2.18.0` |
| [actions/setup-python](https://github.com/actions/setup-python ) | `5.0.0` | `5.4.0` |
| [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials ) | `1.7.0` | `4.1.0` |
| [mattermost/action-mattermost-notify](https://github.com/mattermost/action-mattermost-notify ) | `60f5da6e1796b033cf5a038b57031fa011962e27` | `d317daebed2a792679f68fd0248557a8d21d82b6` |
| [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) | `2.3.1` | `2.4.0` |
Updates `actions/checkout` from 4.1.1 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...11bd71901b
)
Updates `actions/setup-node` from 4.0.2 to 4.2.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](60edb5dd54...1d0ff469b7
)
Updates `actions/upload-artifact` from 4.3.1 to 4.6.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](5d5d22a312...65c4c4a1dd
)
Updates `actions/cache` from 4.0.2 to 4.2.0
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](0c45773b62...1bd1e32a3b
)
Updates `actions/download-artifact` from 4.1.4 to 4.1.8
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](c850b930e6...fa0a91b85d
)
Updates `EnricoMi/publish-unit-test-result-action` from 2.3.0 to 2.18.0
- [Release notes](https://github.com/enricomi/publish-unit-test-result-action/releases )
- [Commits](a3caf02865...170bf24d20
)
Updates `actions/setup-python` from 5.0.0 to 5.4.0
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](0a5c615913...42375524e2
)
Updates `aws-actions/configure-aws-credentials` from 1.7.0 to 4.1.0
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases )
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md )
- [Commits](67fbcbb121...ececac1a45
)
Updates `mattermost/action-mattermost-notify` from 60f5da6e1796b033cf5a038b57031fa011962e27 to d317daebed2a792679f68fd0248557a8d21d82b6
- [Release notes](https://github.com/mattermost/action-mattermost-notify/releases )
- [Commits](60f5da6e17...d317daebed
)
Updates `ossf/scorecard-action` from 2.3.1 to 2.4.0
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](0864cf1902...62b2cac7ed
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: EnricoMi/publish-unit-test-result-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: aws-actions/configure-aws-credentials
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: mattermost/action-mattermost-notify
dependency-type: direct:production
dependency-group: github-actions-updates
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-18 15:35:42 +00:00
Devin Binnie
1d912caa4e
[MM-62094] E2E: Don't including loading screen or other windows in server map, remove check for loading screen finish ( #3252 )
2025-02-04 11:15:22 +05:30
yasserfaraazkhan
2c9cd85cbc
feat(e2e): Verify Test Notification on Desktop ( #3162 )
2024-11-15 09:46:35 -05:00
yasserfaraazkhan
2649c31962
Fix(e2e): Fix playwright version and reporting for CMT ( #3081 )
2024-07-17 04:48:03 +05:30
Devin Binnie
7b1b25b6e0
Move all E2E dependencies into its own folder, run from there ( #3068 )
...
* Move all E2E dependencies into its own folder, run from there
* Run flaky-tests from E2E folder
* This should work better
* Fix E2E test for Linux
* Fix for Windows, fix lint
2024-06-17 15:24:15 -04:00
Devin Binnie
e244b2c230
[MM-55341][MM-56894] Use electron-builder
to create the MSI installer, drop support for 32-bit Windows and the NSIS installer ( #3028 )
...
* Drop 32-bit windows support
* Remove unnecessary after build script
* Enable MSI build from electron-builder
* Copy MSI installers correctly
* Change script to `windows-installer`
* Revert "Remove unnecessary after build script"
This reverts commit 65b1cccb063656916a7d12c440792ad013dff826.
* Fix duplicate installers when updating to EXE version
* Inject the app-update.yml from the NSIS installer into the MSI, have the MSI uninstall the EXE if it exists
* Cleanup old MSI builder, switch actions to use new process
* Sign PR builds
* Update to use absolute paths
* Use env variable paths
2024-05-14 12:07:45 -04:00
Antonis Stamatiou
6c3eced3e9
feat: Upgrade Reusable GitHub Actions version ( #2989 )
...
* feat: Upgrade Github Actions versions
* fix: Fix supply chain scorecard
* fix: Remove ubuntu-4-core instances as they are redundant
* fix: Upgrade also CodeQL
2024-03-22 14:03:24 +02:00
Antonis Stamatiou
81c3a07412
feat: Refactor E2E functional for readability and reusability ( #2988 )
2024-03-22 12:30:31 +02:00