40 Коммитов

Автор SHA1 Сообщение Дата
Julien Tant
8fdb9ad358 Fix Playwright tests (#30079)
Automatic Merge
2025-02-01 04:50:08 +02:00
Julien Tant
1fcb6a49a8 [MM-60407] Add team selector to search bar (#29389)
Automatic Merge
2025-01-30 18:50:08 +02:00
Harshil Sharma
f9cff5c8d6 Edit file attachment e2e tests (#29797) 2025-01-29 17:15:49 +00:00
Devin Binnie
0beac5c930 [MM-62587] Hide thread_footer when root post is deleted (#29874)
* [MM-62587] Hide thread_footer when root post is deleted

* Also remove the replies line from the RHS

* Fix logic to make sure post.delete_at exists

* Fix playwright test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-17 09:55:09 -05:00
Saturnino Abril
90e3d2833e E2E/Playwright: Instantiate page in pw (#29765)
* instantiate page in pw

* update spec

* fix storage key and require user when logging in via API

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-14 04:30:42 +00:00
Pablo Vélez
19d0609b14 MM-62233 - update login flow images (#29805)
* MM-62233 - update login flow images

* fix snapshots

* update playwright snapshots

* fix other playwright snapshots

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-13 22:44:06 -05:00
Saturnino Abril
95b22f47a0 MM-62426: Remove form-data from @mattermost/client (#29792) 2025-01-10 13:28:32 +08:00
yasserfaraazkhan
e6b4764e0d Fix: Playwright e2e tests (#29768) 2025-01-08 09:54:38 +00:00
fume4mattermost
55a7993a11 [MM-T5139] Add Standard message priority and system setting test (#29526)
* add Standard message priority and system setting test

* Refactor message priority config and test.

* Refactor to use new priority dialog locators and checks, ensuring default standard option is correctly verified.

* Fix whitespace and formatting in message priority components.

---------

Co-authored-by: Fume <contact@fumedev.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-01-08 15:21:09 +08:00
Jesús Espino
b8efccae69 Migrate MM-53377 regression test from Cypress to Playwright (#29460)
* feat: Migrate MM-53377 regression test from Cypress to Playwright

* fix: Update mm_53377 regression test to use admin client for setup

* fix: Correct admin client usage in mm_53377 regression test

* refactor: Standardize mm_53377 Playwright test with consistent naming and imports

* fix: Mark MM-T53377 test as fixme for investigation

* Migrating mm_53377_regression_test_spec.js cypress test to playwright

* Fixing linter errors

* Addressing PR review comment

* Fixing broken test
2024-12-12 12:02:22 +01:00
Saturnino Abril
90c0235c4b upgrade playwright dependencies, screenshots and tests (#29466) 2024-12-04 19:52:18 +08:00
Julien Tant
dabf383d4c [MM-61969] Fix regression where search suggestion would break when using uppercase letters (#29400) 2024-11-27 10:53:14 -07:00
Saturnino Abril
80289a0d8c Playwright/E2E: Add method to stub notification in Playwright and automate MM-T483 (#29203) 2024-11-19 22:16:33 +08:00
Mario Vitale
cf5b4610b1 Fix E2E test reporting message for webhook (#29304)
* Fix testcases failing  Webpack compilation
* Fix E2E test report message for webhook
* Demote more unstable tests
* Fix playwright reporting message, better test demotion

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-18 09:49:17 +01:00
yasserfaraazkhan
38823603a3 E2E test for scheduled Draft feature (#28433) 2024-11-15 02:39:35 +05:30
Mario Vitale
572584937c Demote unstable tests from daily run (#29147)
* Demote unstable tests from daily run

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-12 12:04:32 +01:00
Mario Vitale
2975e529d5 Enable Cypress and Playwright retries (#29056)
* Enable Cypress and Playwright retries
* Improve E2E commit status messages
* Demote unstable testcases, increase task timeout
2024-11-05 11:46:06 +01:00
Saturnino Abril
c7aec8c5c5 follow up to MM-61126 desktop landing page (#28888) 2024-10-24 05:10:18 +08:00
yasserfaraazkhan
1a28bc2c58 Feat(e2e): E2E test for Optional desktop app landing page (#28839) 2024-10-22 05:40:25 +05:30
Saturnino Abril
073e2cecaa use node's native fetch, add ensureLicense flag and update snapshots (#28279) 2024-09-23 21:11:45 +08:00
Saturnino Abril
20825101a4 Playwright/E2E: Upgrade to playwright@1.43 and its dependencies (#26833)
* chore: upgrade to playwright@1.43 and its dependencies

* fix lint

* attempt to fix lint error on console
2024-04-23 06:58:49 +08:00
Saturnino Abril
53471c7e8c E2E/Playwright: Upgrade playwright/dependencies and test server config (#26464)
* chore: upgrade playwright and test server config

* add post install script

* update config types

* fix visual test
2024-03-19 08:09:25 +08:00
M-ZubairAhmed
90b21cad33 End to End test for Admin Reporting for Users, new User Management screen (#26077)
https://mattermost.atlassian.net/browse/MM-56672
https://mattermost.atlassian.net/browse/MM-56666
https://mattermost.atlassian.net/browse/MM-56673
2024-02-12 08:28:47 +00:00
Saturnino Abril
79e961e239 Playwright/E2E: Upgraded Playwright to 1.41 and fixed tests (#26008)
* upgrade Playwright and fix tests

* fix lint
2024-01-23 20:56:23 +08:00
M-ZubairAhmed
9ac389f506 [MM-53102] Add support for multi-word highlights without notifications in web (#24050)
- Adds a new section under settings/notifications for adding custom multi-word keywords that get highlighted without notification
- Adds a new classname for highlighting words although the styling is the same as mentions highlights
- Added a few components to the ReduxFromProps pattern
- Adds supported type for the hook of PluginComponent type
- Add upsell for highlight without notification
- Moved 'setting_item.tsx' to the components folder
- Improved prop names and function structure for setting_item, setting_item_max and setting_item_min
- Moved 'toggle_modal_button.tsx' to the components folder
- Removed t and utility messages from a few components
- Fixed bug where the tooltip was not getting rendered on restrictedButtons
- Improved the mobile view of the settings modal
- Adds E2E for the feature
2023-11-11 19:33:28 +05:30
Saturnino Abril
6746857ee7 MM-52642 CLD-6352 MM-54007 Prepare setup for Playwright pipeline (#24647)
* pipeline(playwright): prepare setup for playwright

* feedback address

* clean up readme

* Fix docker-compose command and definition for dashboard

* fix the dashboard

* ignore dashboard when formatting

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Mario Vitale <mvitale1989@hotmail.com>
2023-10-14 07:02:32 +08:00
Saturnino Abril
b7b08dbc0f CLD-5948 Playwright/E2E: Update dependencies, server default config and its types, and remove Boards and mobile view tests (#24583)
* update dependencies

* update dependencies

* remove mobile view

* remove boards

* update default config  and its types

* update snapshots

* fix formatting

* check works and fix styling
2023-09-20 05:28:35 +08:00
M-ZubairAhmed
19b843cf24 MM-54404 : E2E tests for the Gif picker (#24486) 2023-09-13 11:58:35 +05:30
M-ZubairAhmed
6109330beb MM-54458 : Refactor playwright test with app areas (#24527) 2023-09-12 16:35:07 +05:30
Harrison Healey
e2a5293e2e MM-53999 Fix keyboard support for Menu components (#24282)
* Cherry-pick test changes from #24243

* Add required change from Saturn's PR to make reminder menu accessible

* MM-53999 Flip provider order so that MUI props are passed

* MM-53999 Pass MUI props through custom MenuItem components

* Address feedback

* Update snapshots
2023-08-22 12:53:02 -04:00
Saturnino Abril
ecf7cdbdea fix(accessibility): tab support at login, reset and signup pages, buttons at ATE and app bar (#24214) 2023-08-10 08:53:13 -04:00
Saturnino Abril
93a2c3281a MM-53813: Fix(accessibility): on channels page (#24122)
* fix(accessibility): on channels page

* fix lint and update dynamic-virtualized-list

* fix snapshot and update per feedback

* fix e2e tests

* fix test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-28 11:17:11 -04:00
Saturnino Abril
e377d985cd MM-52641 MM-52645 Playwright/Accessibility: Initial setup and accessibility fix on login page (#23254)
* MM-52641 Playwright/Accessibility: initial setup

* upgrade Playwright to 1.36.1

* fix accessibility at login page

* fix lint

* update snapshot
2023-07-19 16:25:17 -04:00
M-ZubairAhmed
b153a39d3e [MM-53127] e2e-tests : Drafts badge doesn't clear when parent message deleted and removed (#23705) 2023-07-05 17:13:55 +05:30
Pablo Andrés Vélez Vidal
887ba95cc1 MM-53088 - remove autoshow linked board (#23783)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-26 14:13:14 +02:00
Saturnino Abril
8fdbbf3d5b E2E/Playwright: MM-T5424 Find channel limit to 50 results (#23248)
* fix aria-label of Find Channels modal

* add components

* add test for MM-T5424

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-05-05 06:20:23 +08:00
Saturnino Abril
6ca5824ea1 E2E/Playwright: Update dependencies, screenshots, config and type (#23000)
* update dependencies

* update default server config and client type

* close browser context once test is done

* fix test when switching a product

* update screenshots and readme

* add cross-env and make headless mode as default

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-19 12:04:25 +08:00
Saturnino Abril
5b5ee1160e expect boards product by default in e2e (#22911) 2023-04-11 18:59:10 +08:00
Pablo Andrés Vélez Vidal
bbf78c4ff6 make autolinked board ff false as default (#22714) 2023-03-29 18:42:09 +02:00
Mario Vitale
ba6b97fb62 Move /e2e -> /e2e-tests 2023-03-28 18:10:00 +02:00