mattermost/e2e-tests/cypress
Vicktor 6878d09547
refactor(brand_image_setting): migrate BrandImageSetting to a function component (#34536)
* refactor(brand_image_setting): migrate to function component

* test(brand_image_setting): update tests

Migrated tests to React Testing Library.

* refactor(brand_image_setting): wrap functions with useCallback

* test(brand_image_setting): use nock to mock fetch api

* test(brand_image_setting): use findby query instead of getby

* test(brand_image_setting): remove unnecessary scope assertion

* chore(brand_image_setting): split useEffect into two

Also extracted the handleSave function and wrapped it in useCallback.

* test(brand_image_setting): add e2e test for deleting brand image

* test(brand_image_setting): use destructured functions

* chore: delete unnecessary comment

* Revert "test(brand_image_setting): use destructured functions"

This reverts commit 71dc6628ed.

* Fix bad merge

* Fully revert changes to test from merge

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2026-04-09 09:16:23 -04:00
..
tests refactor(brand_image_setting): migrate BrandImageSetting to a function component (#34536) 2026-04-09 09:16:23 -04:00
utils E2E/Cypress: Upgrade cypress to 15.11 (#35466) 2026-03-09 16:01:04 +08:00
cypress.config.ts E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
Dockerfile.webhook Move /e2e -> /e2e-tests 2023-03-28 18:10:00 +02:00
eslint.config.mjs E2E/Cypress: Upgrade dependencies (#33665) 2025-09-01 14:14:13 +08:00
generate_test_cycle.js E2E/Cypress: Upgrade cypress to 15.11 (#35466) 2026-03-09 16:01:04 +08:00
package-lock.json E2E/Cypress: Upgrade cypress to 15.11 (#35466) 2026-03-09 16:01:04 +08:00
package.json E2E/Cypress: Upgrade cypress to 15.11 (#35466) 2026-03-09 16:01:04 +08:00
README-Subpath.md Move /e2e -> /e2e-tests 2023-03-28 18:10:00 +02:00
reporter-config.json MM-66362 feat: run e2e full tests after successful smoke tests both in cypress and playwright (#34868) 2026-02-02 08:37:55 +08:00
run_test_cycle.js E2E/Cypress: Upgrade cypress to 15.11 (#35466) 2026-03-09 16:01:04 +08:00
run_tests.js E2E/Cypress: Upgrade cypress to 15.11 (#35466) 2026-03-09 16:01:04 +08:00
save_report.js CLD-5783 Implement rolling upgrade tests (#27842) 2024-08-07 14:08:50 +02:00
tsconfig.json MM-61566 - focus first focusable element (#30294) 2025-03-12 23:10:07 +01:00
webhook_serve.js Interactive Dialog - DateTime manual entry and timezone support (#34932) 2026-02-16 13:32:31 -07:00