* 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>
* 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>
* Introduce Modal, add some styles from the webapp
* Remove bootstrap from LoadingScreen/WelcomeScreen
* Migrate add/edit server modal to Modal, remove bootstrap
* Migrate remove server modal to Modal, remove bootstrap
* Migrate certificate modal to Modal, remove bootstrap
* Migrate login and permission modals to Modal, remove Bootstrap
* Misc fixes
* E2E tests for current modals
* Update src/renderer/components/Modal.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Update src/renderer/components/Modal.tsx
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* PR feedback
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Migrate to WebContentsView from BrowserView
* A bit of cleanup, stop holding reference to the loading screen
* Fix tests
* Fix i18n
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* 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
* Some ESLint fixes
* Add login/logout signal to API, clear mentions on logout and flush cookies on login/logout
* Fix issue where local and HTTP-only servers would not validate correctly
* Reduce noise of renderer logging, adjust a few local renderer logs to be louder when needed
* Fallback to beginning of hostname for servers that don't change the site name
* Fix Save Image crash
* Update the name for insecure servers too
* Fix test
* Fix lint
* Reduce repetition
* Rename MattermostTeam -> UniqueServer, MattermostTab -> UniqueView
* Rename 'team' to 'server'
* Some further cleanup
* Rename weirdly named function
* Rename 'tab' to 'view' in most instances
* Fix i18n
* PR feedback
* Move sendToRenderer to respective singletons
* Move to using ViewManager call for getting view by webContentsId
* Move show and create logic to main window, handle deep linking seperately
* Move resizing logic and event handing to mainWindow
* Move server switching logic to main/app
* Move tab switching logic to main/app, rely on showById for most usage
* Migrate remaining functions, remove windowManager objects, set up imports for self-contained singletons
* Fix E2E tests
* Update src/main/app/servers.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Migrate app to ServerManager, remove view names and replace with IDs
* Fixed a test
* Fixed a bug when adding the initial server
* Merge'd
* Bug fixes and PR feedback
* PoC performance tests in CI
* Add a naive measurement
* Change in spec descriptions
* More minimal reporter and 2 tests: 1 failing, 1 succeeding
* Fix circleci config
* Fix circleci part 2
* Make performance tests a workflow
* add npm install in performance tests
* change executor
* Experimenting: Install crossenv
* Experimenting
* More experimenting
* Revert some changes
* Run update_image and cache node modules
* Sandbox e2e tests run
* fix code residual from rebase
* Add GH action for ci perf
* Use ubuntu instead of macos
* Use windows instead of ubuntu
* Fix env set command
* Use post-test script to check performance
* Use macos-latest
* Throw error when tests fail
* Use measudePerformance function instead
* Use measudePerformance function instead
* Try to run e2e on github actions
* Try headless script
* Install linux packages
* Add shell
* Use if: runner..
* ADd sudo
* Add more linux packages
* Go back to macos
* Try recursive find for main window
* Remove performance tests from circleCi
* Increase retries
* Fix
* Revert "Fix"
This reverts commit c19fc56600ada4eee3e26bf3988b27d2ce2616d1.
* Revert "Increase retries"
This reverts commit 564ac95c34def892595c17b98eec245cacb0d4a4.
* Revert "Remove performance tests from circleCi"
This reverts commit c49c73b6f811df12631036bc33dae30da2271173.
* Revert "Try recursive find for main window"
This reverts commit 19d9367f9317f6e9d7ef9aa6a5d69eccdff2df67.
* Revert "Go back to macos"
This reverts commit 72b796ad983e89940f84d53039affd867d0e7f34.
* Revert "Add more linux packages"
This reverts commit 4bd510f8ea5356c13fbc4722be874aeea32de43e.
* Revert "ADd sudo"
This reverts commit acb95e02609e7cc02b12863910d29c03694936c1.
* Revert "Use if: runner.."
This reverts commit 69beed6fe24e452b1d7f0b0e4578bbfa9ca36d2f.
* Revert "Add shell"
This reverts commit e1743664a8b01797da4112314af0b88318ad2fd7.
* Revert "Install linux packages"
This reverts commit 25195dd11c827dff0fd8cf4fbdf2dc709377d525.
* Revert "Try headless script"
This reverts commit 385be5609d5ee45363d26828f6a14c6be0ef661a.
* Revert "Try to run e2e on github actions"
This reverts commit be8f682fd8a82b265403471b5106fd5107f9fecb.
* Revert "Use measudePerformance function instead"
This reverts commit bfd46768ae845e2839e9f124735922da6301fa4e.
* Revert "Use measudePerformance function instead"
This reverts commit ab4bc22b8689ff35260b4ab55724a77dc5993426.
* Update workflow command
* Remove circleci config for perf tests
* Run on ubuntu
* Add packages for linux
* Fix order of commands
* Move env var at the beginning
* Upload test results to s3
* Update name
* Update name
* Add trigger for flag
* Add step to upload artifact to github workflow artifacts
* Update yml
* Add step to comment the results in the PR
* Fix env bug
* move constant to workflow env
* Wrap workflow env with single quotes
* Add start comment and remove label steps
* Update body of comment
* Remove unused file
* Move PR comment function into file
* Fix import
* Remove spaces from line start
* Remove label even if workflow failed
* Add logging
* Fix markdown table data
* Remove trailing semi string
---------
Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
* Fixed some unit tests and add test step to run on Windows/Mac builds
* Update failing test
* Fix backlash
* Fix windows run
* Fix Windows again
Co-authored-by: Tasos Boulis <tboulis@hotmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>