Commit Graph

220 Commits

Author SHA1 Message Date
Noelia 5ffab60f5a ci(e2e): Updated squish version from 6.7.2 to 7.1-SNAPSHOT
- Updated squish version from 6.7.2 to 7.1-SNAPSHOT
- Updated tests readme file.
2023-03-07 10:32:26 +01:00
Michal Iskierko 5722f67964 fix(@desktop/communities): Handling community token image
Handle image correctly and show in testing UI.
Improve fees for deployment.
Handle CommunityTokenMetadata in community structure.
2023-03-07 10:04:12 +01:00
Jonathan Rainville 40a157a5af fix(test): fix create category test 2023-03-03 16:14:38 -05:00
Stefan 16ed8739e8 fix(wallet) fix Add Account Modal and wallet tests
- fix add-account-modal custom derivation checkbox blocking all workflows
- fix, improve and enable wallet tests
- wait_for_text_matching alternative, to is_text_matching, to check also for content as squish driver API
- add objectName based lookup for in some places where user-text was used
- add workaround to retry for 10 seconds add watch due to flakiness
- rename SquishDriver.type to type.text not to conflict with python's type
- add optional timeout to some APIs
- ignore error for extra step in reaching onboarding seedphrase in linux

Updates: #9576
2023-03-01 15:36:06 +04:00
Noelia 606d30abc6 test(suite_messaging): Disabled some code that is causing CI failures
Open issue to solve it: #9335
2023-02-28 09:04:56 +01:00
Noelia b4407f79ce test(FileManager): Added if path exist check
Closes #8347
2023-02-28 09:04:56 +01:00
Stefan 3bb667bb7a feat(Wallet) cache fetched balance history to DB for efficiency
- Bump status-go head that include the required specific changes
  - fetch token balance (native or ERC20) and cache historical token quantity data
  - fetch FIAT currency
- Extend presentation layer (NIM and QML) to account for API changes
- Remove timed request and other optimizations from the time of fetching
  balance history every time instead of querying cache
- Add C++ integration debugging tests and update network chain configuration (outdated)

Closes: #8175
2023-02-15 18:52:37 +04:00
Michal Iskierko b6f5c558a9 feat(@desktop:communities): Minting functionality with dummy data
Add Community Tokens testing UI with minting button, enabled by a Advanced Settings toggle.
Add minting module,view and needed models.
Add community_tokens service to call collectibles smart contract functions.

Issue #8921
2023-02-13 13:42:29 +01:00
Stefan 2bc8fa1236 fix(tests): The user can manage and observe a watch only account
- The user imports a private key
- The user generates a new account from wallet and deletes it
2023-02-10 10:16:27 +01:00
Stefan b5ff5178f2 fix(tests): The user can manage and observe a watch only account 2023-02-10 10:16:27 +01:00
Lukáš Tinkl f5d6c538c2 chore: consolidate & refactor popup handling
- all remaining global popup components moved into a separate Popups
entity
- removed some static objects from the Global singleton (appMain,
pinnedMessagesPopup, communityProfilePopup, sounds); rationale:
singletons should not contain any state
- fixed support for popups in storybook
- fixed some warnings (most of them broke the popups in one way or the other)
2023-02-09 15:01:57 +01:00
Jonathan Rainville e0172c8bb9 chore: add mayfail to tests that fail on CI 2023-02-09 11:08:10 +01:00
Noelia 6ef96a6a7c test(doc): Added info about Squish versions tested
Added info about Squish versions tested
2023-02-08 16:19:52 -05:00
Jonathan Rainville 5f4000b7a5 test(chat): re-add chat order test using 1-1 chat
Fixes #9251
2023-02-08 13:54:08 -05:00
Stefan a57eb06240 test(wallet): fix user can manage and observe a watch only account
Bumps status-go to include the fix for not fetching balance for
overridden tokens

Add documentation on how to run wallet tests locally using ganache

Closes #9091
2023-02-08 19:52:37 +01:00
Jonathan Rainville 7a3144ebfc test(community): re-add mark as read test in community tests
Fixes #9250
2023-02-08 13:46:15 -05:00
Jonathan Rainville 2f3d1fcf46 test(community): re-add sticker test as community test
Fixes #9249
2023-02-08 13:24:50 -05:00
Jonathan Rainville a055929f92 test(community): re-add emoji tests
Fixes #9246 #9247 #9248
2023-02-08 13:19:35 -05:00
Jonathan Rainville a4c8419aa9 test(community): re-add test for mention non existing user
Fixes #9245
2023-02-08 13:12:31 -05:00
Jonathan Rainville 5bb4a3741d test(community): re-add test that does a mention
Fixes #9244
2023-02-08 13:01:53 -05:00
Jonathan Rainville b798b18c18 test(community): re-add a couple of chat tests in community tests
Fixes #9240 #9241 #9242 #9243 #9239
2023-02-08 12:34:58 -05:00
Anthony Laibe 6e188de21a fix(@test): enable back delete account 2023-02-06 09:05:30 +01:00
Jonathan Rainville 0bd957e71a test(community): re-add test that replies to another message
Fixes #9238
2023-01-31 16:54:01 -05:00
Jonathan Rainville e54e08d81f test: re-add edit test as a community test
Fixes #9237
2023-01-31 16:52:32 -05:00
MishkaRogachev e0ba80a085 feat(AppMain): Replace MailserverConnectionDialog with banner
Close #6213
2023-01-30 12:40:31 +04:00
Jonathan Rainville 7a3a984fa4 test(env-var): add TEST_ENVIRONMENT env var for test specific changes
Fixes #9210

Adds the `TEST_ENVIRONMENT` that stops banners from showing and touch id to be activated (needs to be tested by someone on Mac).

Also improves the waiting time on verifying screens. Will undo that change if it becomes flaky.

To make sure your local tests still work well and hide the banner as well, make sure to put `TEST_ENVIRONMENT=1` in the suite settings' env vars
2023-01-27 11:26:41 -05:00
Jonathan Rainville 03095f995e test(one-to-one): add mayfail to one to one test as it fails often 2023-01-27 10:51:21 -05:00
Noelia 289005c0e6 test(onboarding): Select specific account was broken
Updated `findAccount` method since statement `When the user "xxx" logs in with password "xxx"` was broken due to `accountsList` iteration was wrong.
2023-01-27 11:06:08 +01:00
Igor Sirotin 6017a01b9a feat(tst_communityNavigation): Implemented community leave test 2023-01-26 19:27:13 +03:00
Ivan Belyakov f2549fc1ff feat(@desktop/wallet): update wallet navigation
Fixed StatusBaseButton to expose a property to load either normal
icon or a round one.
Implemented new wallet navigation according to design in Figma.
Fixed regression: small accounts icons in accounts list view.
Updated wallet test.

Fixes #8598
2023-01-26 09:49:29 +01:00
Noelia 75711aef2e test: Skip broken/unstable tests
Tagged with `@mayfail` some scenarios that seem to be unstable / broken on CI and also locally.
2023-01-25 10:55:39 -05:00
Jonathan Rainville 4a93fa14bc chore(tests_: remove tests that use public chats 2023-01-25 10:05:55 -05:00
Noelia 7a1c768898 test(suite_settings): Restore broken tests
Updated `walletInitSteps` and `settingsSteps` properly: `settingsSteps.py` was referring to some `wallet_init_steps` methods but it was not imported. Reorganization and cleanup.
2023-01-23 15:04:14 +01:00
Alex Jbanca bf1d59c0ad perf(chatScroll): Avoid calling the backend on delegate creation/binding
Provide the needed data from the nim model directly to the delegate. This way whenever a delegate needs to display the data it doesn't need to reach the backend.

perf(chatScroll): Fix comments on Avoid calling the backend on delegate creation/binding

perf(chatScroll): Avoid calling the backend on delegate creation/binding  - add TODO comment on senderColorHash default

perf(chatScroll): merge quotedMessageAuthor details

perf(chatScroll): Fix nim tests

perf(chatScroll): Fix merge error - messages_model.nim
2023-01-19 19:24:18 +02:00
Pascal Precht bf7148efd6 fix: make avatar info in replies of imported messages work again
Because we've switched to `QuotedMessage` as an attached payload to
messages to make message replies data more reliable, we lost some of
the author information in imported messages, that was available prior
to that move.

This commit introduces `quotedMessageAuthorDisplayName` and
`quotedMessageAuthorAvatar` to our model so it can be set in case
we can't retrieve contact details for a given message (which is always
the case for imported messages)
2023-01-17 12:48:56 +01:00
mprakhov b7c1250115 Draft: fix check 2023-01-16 14:46:08 +02:00
Patryk Osmaczko a21bebcacc feat(chat): implement bulk insertion algorithm
motivated by: #9068
iterates: #3067
2023-01-16 13:08:43 +01:00
Patryk Osmaczko ac56bbdfdd fix(tests/nim): fix nim tests compilation 2023-01-13 11:52:47 +01:00
Jonathan Rainville a0ac5b3439 chore(wallet-test): tag wallet test generate and delete as @mayfail 2023-01-12 16:55:07 -05:00
Jonathan Rainville 1216bdcc83 fix(nim-test): fix missing property in nim test message init 2023-01-12 16:55:07 -05:00
Jonathan Rainville acf67c33d5 chore(test): make observe watch only account @mayfail 2023-01-12 15:18:03 -05:00
Jonathan Rainville 91c2e6d257 feat: use QuotedMessage object for replies to better show the replies
Fixes #7754
ok
2023-01-12 15:18:03 -05:00
Patryk Osmaczko bbc7da7c7d refactor: remove misleading APIs from message_model 2023-01-11 09:27:20 +01:00
Patryk Osmaczko fe4e14ff5b fix(chat/messages): set clock value for new messages marker
New messages marker had a clock value of "0" before. Since all
messages are inserted based on the clock value, new messages marker
would cause other "0"-valued clock items to be inserted after it,
effectively making chat header being displayed in the middle of the
chat.

Setting new messages marker clock value to the clock of the message it
points to solves the issue.

fixes: #8955
2023-01-11 09:27:20 +01:00
Patryk Osmaczko fa6f0dd2b7 fix(tests/nim): fix nim tests compilation 2023-01-11 09:27:20 +01:00
Jonathan Rainville a0b17c3879 chore: add mayfail on community edit tests 2023-01-05 15:21:38 -05:00
Jonathan Rainville 67e0df17e1 test(contact): add a test that sends a contact request from the chat
Fixes #6883
2023-01-05 15:21:38 -05:00
mprakhov 4a5c439160 test(@desktop/community): [suite_communities / tst_communityFlows]
Validate in 'The admin edits a community' test description and color
2023-01-05 14:49:27 +02:00
Jonathan Rainville 235c0d3042 test(community): add a test where the admin can delete a user's message
Fixes #6891
2023-01-04 11:12:47 -05:00
Sale Djenic 735f6e70aa test: add missing `@mayfail` to send image tests 2023-01-04 11:15:58 +01:00