Commit Graph

501 Commits

Author SHA1 Message Date
Ondřej Hájek
cecf169460 feat(e2e): Migrated analytics tests to playwright (#16872)
* feat(e2e): Migrated analytics tests to playwright

* fix(e2e): Fixed desktop bridge connection

* fix(e2e): Unified waiting for requests
2025-02-07 10:35:55 +01:00
Carlos Garcia Ortiz karliatto
c2f8beab9f ci(github): disabling unchained tests for now 2025-02-07 10:01:47 +01:00
yanas
1a5ea2da2b refactor(packages): rename package transport-native to transport-native-usb 2025-02-05 15:43:47 +01:00
Martin Vere Cihlar
e411deeebc Start using viewport params for Electron and optimize metadata group (#16381)
* feat(e2e): Electron launched by tests has fixed viewport size

* refactor(e2e): Optimize CI run grouping by splitting metadata group
2025-02-03 11:34:30 +01:00
Ondřej Hájek
678de319e0 feat(ci): Run only tests tagged for web in the web PW pipeline to put less test results in currents (#16740) 2025-01-31 14:10:51 +01:00
Carlos Garcia Ortiz karliatto
5cfa592a88 ci(github): change input name to disable_cache_tx 2025-01-31 12:25:24 +01:00
Ondřej Hájek
4e4a37fe14 fix(ci): Removed metadata group as it contains no tests (#16743) 2025-01-31 12:10:37 +01:00
Ondřej Hájek
9797a03876 Migrated wallet-metadata and interval-fetching tests (#16678)
* feat(e2e): Migrated wallet-metadata and interval-fetching tests

* refactor(e2e): Refactored metadata actions + enhanced dashboard actions

* fix(e2e): Fixed styling

* fix(e2e): Additional fixes

* fix(e2e): Fixed review comments and added force close of connections in provider mocks
2025-01-29 17:57:46 +00:00
vdovhanych
54151a2510 feat(ci): upload apk to data.trezor.io for mobile release 2025-01-29 11:06:45 +01:00
Jiri Zbytovsky
51c0613349 ci: add workflow_dispatch for build-suite-web 2025-01-28 14:19:42 +01:00
Carlos Garcia Ortiz karliatto
3c2c6e3e4b ci(github): run all test request-manager 2025-01-24 14:47:36 +01:00
Carlos Garcia Ortiz karliatto
8aa03bedd7 ci(github): new test for request manager 2025-01-23 18:18:13 +01:00
Jirka Bažant
b87bb53c59 feat(suite-native): skip onboarding in E2Es 2025-01-23 16:29:46 +01:00
Martin Vere Cihlar
cdfa7409ba refactor(e2e): Adopt ubuntu 24 for desktop e2e tests (#16463)
disables security rule the caused electorn launch failures
2025-01-20 18:01:29 +01:00
Matej Kriz
ef6481900c chore(suite-native): allow Sentry in detox builds 2025-01-18 14:39:28 +01:00
Petr Knetl
a81b08cf24 fix(suite-native): ios e2e test build in ci 2025-01-17 08:11:30 +01:00
Martin Varmuza
ed201cffb1 test(connect): enable T1B1 in nightly 2025-01-15 14:14:56 +01:00
Martin Varmuza
cc609968ed ci: add timeout-minutes: 60 to connect related tests 2025-01-15 09:54:53 +01:00
Martin Varmuza
4e497e1550 ci(connect): change randomized job description to randimized-order 2025-01-15 09:54:53 +01:00
vdovhanych
fc03ba3c51 chore(ci): run web and desktop e2e test on release branch pushes 2025-01-15 09:38:18 +01:00
Peter Sanderson
184ebbb7f4 fix: make types strict to prevent accidental deletion via unused types, the optionality is a trap, they are required 2025-01-14 15:59:08 +01:00
Martin Vere Cihlar
f2e4046446 fix(e2e): Uses correct regtest docker for our dekstop e2e tests (#16314) 2025-01-11 11:49:03 +01:00
Martin Vere Cihlar
ea5faf9586 Feat/suite desktop core/convert wallet coin balance (#16238)
* feat(e2e): Convert to PW test suite coin-balance

* feat(e2e): Convert to PW wallet test custom blockbook discovery

* fix(e2e): Spawn regtest docker for wallet desktop tests

Disable the coin-balance test for desktop
Collect logs from regtest docker

* fix(e2e): Stabilizing application logs tests

also fixing the firmware steps for t2t1
2025-01-10 18:39:54 +01:00
Ondřej Hájek
cdc8607fc7 feat(e2e): Converted account metadata test (#16253) 2025-01-08 18:43:10 +01:00
vdovhanych
3891943118 chore(ci): fix autoupdate test release artifact download 2025-01-08 13:22:15 +01:00
Ondrej Hajek
36d890c34b ci: Added support for Currents for iOS suite native tests 2025-01-08 11:58:56 +01:00
Petr Knetl
517ae9a3c1 ci(suite-native): ios e2e tests gh workflow 2025-01-08 11:58:56 +01:00
Martin Vere Cihlar
8db814dca9 Feat/suite core/e2e/convert unsupported browsers (#16171)
* feat(e2e): Convert to pw browser tests

Unfortunatelly, PW does not support Firefox + Mobile combination
It is also not recommended to run automation on outdated browsers

* fix(e2e): Fix the web visual regresion checks and add it for browser tests

* fix(e2e): add missing browser install on CI

adds also firefox desktop test

* refactor(e2e): switch ios to more stable Aria snapshot verification

also mask larger element for asset visual regression verification

* fix(e2e): Change Safari tests to use Aria comparison too
2025-01-07 12:35:22 +01:00
vdovhanych
e90df30b79 chore(ci): add concurency and cancel in prgoress for workflows 2025-01-06 15:58:46 +01:00
Petr Knetl
0c09541724 fix(suite-native): monthly app version bump
- runs only for trezor/trezor-suite repo
 - permission for creating a PR added
2025-01-06 14:39:35 +01:00
Martin Varmuza
5a8fa94584 ci(misc): add yarn generate-package to nightly checks 2025-01-03 13:16:18 +01:00
Martin Homola
6160341b24 fix(suite): tests network symbol 2025-01-02 21:58:05 +09:00
Martin Vere Cihlar
0ad8dc077f fix(e2e): Enable forgotten group of tests and fix tag of guide tests (#16118)
* fix(e2e): Enable forgotten group of tests and fix tag of guide tests

* fix(e2e): Fixes wrong locator and cleans folder structure
2025-01-02 12:07:55 +01:00
Martin Vere Cihlar
2121c5e5b4 Feat e2e convert to pw suite coinmarket (#16065)
* feat(e2e): Convert to playwright new suite: buy-coins.tests.ts

adds commented invity data mocking that needs to be fixed
first visual comparison in tests

* refactor(e2e): Cleans up paramaeters of playwright fixtures

* refactor(e2e): Cleans up the new buy-coins.test.ts

Remove invity unfunctional mocks
improve visual verification
minor other refactoring

* feat(e2e): Enable @other group and nightly web PW test runs

* fix(e2e): Fix proper mask of visual comparison in buy-coins.test.ts

* fix(e2e): Wrong test group

* fix(e2e): Sets default resolution and reverts one locator needed by cy tests

refactor waiting for offer sync

* fix(e2e): Solves breakdown problems of electron

improves waits for offer sync

* fix(e2e): Disable snapshots for Desktop project

minor refactoring and tuning of buy-coin.tests.ts

* chore(e2e): Removes refactored test from cy

* fix(e2e): Solve default currency issue in buy-coin.tests.ts

improves stability of settings tests

* fix(e2e): Solves delayed best offer and geolocation

* fix(e2e): Rework waiting for offer sync and disables snapshots for web

* fix(e2e): Attempt to enable snapshots on web tests
2024-12-28 18:35:42 +01:00
tomasklim
c0bdf146a2 feat(github): add token definitions for arbitrum one 2024-12-20 12:49:34 +01:00
Martin Vere Cihlar
3167dff6f0 fix(e2e): Explicitly use ubuntu-22 for desktop e2e tests 2024-12-18 13:00:26 +01:00
Ondřej Hájek
4b010cf161 ci: Removed settings group from nightly cypress Suite web tests (#16001) 2024-12-17 16:37:39 +01:00
Ondřej Hájek
fb4ae53b3d ci: Added workflow to check project assignment (#15911) 2024-12-17 12:56:39 +01:00
Matej Kriz
9048aadbf2 chore(ci): retrieve APK url in github workflow 2024-12-16 17:25:37 +01:00
Martin Vere Cihlar
e105a0bcd3 feat(e2e): Converts to PW test suite firmware.test.ts (#15983)
Also move other firmware tests to this suite folder
and activates this group of tests in CI
2024-12-16 16:03:10 +01:00
Martin Vere Cihlar
f206d28eed feat(e2e): Convert to Pw test suite application-log.test.ts (#15978)
Removes completely suite section Settings from Cypress and CI
2024-12-16 13:39:14 +01:00
Petr Knetl
1a4ebb3894 ci(suite-native): auto monthly version bump 2024-12-13 13:16:14 +01:00
Carlos García Ortiz
191c07bba1 ci(github): fix intermediary workflow git user (#15855) 2024-12-11 16:53:45 +01:00
Martin Varmuza
58772d46f1 ci(connect): focus install in tests 2024-12-10 21:47:35 +01:00
Martin Vere Cihlar
7fd04be684 Convert suite settings (coins, custom-firmware) + refactors desktop pipeline (#15869)
* feat(e2e): Convert coins.test.ts from cy to pw

minor refactoring
some verification commented out and will be part of future refactoring

* feat(e2e): Convert cy test file custom-firmware.test.ts to PW

* fix(e2e): Stabilizing new pw tests for desktop

adds logic to use correct API url based on web/desktop/local/CI
removes flakyness of Coins test

* refactor(e2e): #15868 Refactor desktop e2e test pipeline

better matrix
move docker pull from tests step to improve readability
pull only what is need
Attach playwright report for devs who dont have currents
add --forbid-only to both pipelines

* fix(e2e): Fix start and name of electron-regtest
2024-12-10 14:46:56 +01:00
Ondřej Hájek
479fcff22a feat(e2e): Added currents reporter to Suite lite e2e tests (#15826) 2024-12-10 14:27:57 +01:00
vdovhanych
e134cd1c4a chore(ci): fix file permissions before artifacts upload 2024-12-09 14:53:51 +01:00
Petr Knetl
7d8aac6692 ci(suite-native): build e2e apk only if needed 2024-12-06 07:59:24 +01:00
Martin Vere Cihlar
e59a70d69f new playwright web CI pipeline (#15694)
* feat(e2e): Enable parametrized execution of Playwright for Suite tests

resolved conflicts of cherry-pick

* refactor(e2e): Convert cy tests to playwright

new test autodetect.test.ts working both on app and web

* feat(e2e): PW web tests running on CI

installs playwright browsers
exposes port of emulator and regtest docker

* feat(e2e): Debuging PW web tests on CI

* feat(e2e): Removes CY autodetect suite - converted to PW

---------

Co-authored-by: Ondrej Hajek <ondrej.hajek@satoshilabs.com>
2024-12-05 15:31:19 +01:00
Martin Varmuza
7ec9813426 ci(connect): add node-bridge to nightly tests 2024-12-03 19:21:54 +01:00