Commit Graph

230 Commits

Author SHA1 Message Date
Jakub Cuth d9fdbb35bc fix(GODT-3185): logic mistake. 2024-04-22 07:26:18 +00:00
Atanas Janeshliev e94d3be12d chore: bump testing context bridge version 2024-04-12 11:55:53 +02:00
Jakub 06daaf8d9f feat(GODT-3146): don't need to wait for IMAP in tests. 2024-03-14 11:57:55 +01:00
Jakub Cuth 6fadbde4a6 feat(GODT-3185): report cases which leads to wrong address key used 2024-03-13 07:49:25 +00:00
Jakub Cuth 37352d44d2 test(GODT-1602): run integration tests against black 🖤 2024-02-19 10:43:35 +00:00
gzafirova 94fbe260e4 test(GODT-3220): Fix linting issues by deleting a function
-Deleted a function that was no longer used

GODT-3220
2024-02-14 08:57:48 +01:00
gzafirova 6d4937222e test(GODT-3220): Rollback to a test scenario for logging in with an alias address
-Added test scenario for logging in with an alias address

GODT-3220
2024-02-13 10:56:23 +00:00
gzafirova e33bad7bf1 test(GODT-3220): Add test scenario for sending an HTML msg with public key and multiple attachments to Internal
-Added test scenario for sending an HTML msg with public key and multiple attachments to Internal
- Verified the message on receipient's side

GODT-3220
2024-02-13 10:56:23 +00:00
gzafirova 70fdc91aff test(GODT-3220): Add test scenario for sending a message to multiple bcc accounts
- Added test scenario for sending a message to two bcc accounts
- Verified on recipients' side that the message is received

GODT-3220
2024-02-13 10:56:23 +00:00
gzafirova bde8e45b37 test(GODT-3220): Add test scenarios for loging in with an alias address
-Added test scenarios for logging in with an alias address and logging in with an alias address that no longer exists

GODT-3220
2024-02-13 10:56:23 +00:00
gzafirova 6cb2d944d0 test(GODT-3220): Add test scenarios for logining in with alias address and loging in with an alias address
-Added a test scenario for logging in with an alias address
-Added a test scenario for logging in with alias address that no longer exists

GODT-3220
2024-02-13 10:56:23 +00:00
Jakub cf0f59afc0 test(GODT-3220): Add scenario cannot login with deleted alias 2024-02-13 10:56:23 +00:00
Jakub 65d8fbbf31 test: keep deleted address in test suite 2024-02-13 10:56:23 +00:00
Gjorgji Slamkov d919c0accf test(GODT-3220): Add step definition for logging in with alias address
GODT-3220
2024-02-13 10:56:23 +00:00
Gjorgji Slamkov 0ca07066db test(GODT-3220): Create function for getting the test user by address
GODT-3220
2024-02-13 10:56:23 +00:00
Jakub 164fb23653 feat(GODT-3160): no need to ignore vulns 2024-01-25 09:30:31 +01:00
Jakub 374194c13b feat(GODT-3160): make linter happy 2024-01-24 10:28:08 +01:00
Gjorgji Slamkov 46fd1d5a76 test(GODT-3052): Replace attachments and inline content in feature tests with the smallest valid versions 2024-01-15 13:10:22 +00:00
Jakub b8ae5be58c fix(GODT-3188): Happy new year. 2024-01-02 15:06:05 +01:00
gzafirova 26a3385f4e test(GODT-3162): Add test scenarios for KB article suggestions
-Added test scenarios to check relevant suggestion links to knowledge base articles in the in-app bug report form
2023-12-21 06:48:34 +00:00
Gjorgji Slamkov dc002959eb test: Add scenarios for checking messages sent from Web Client 2023-12-18 14:53:13 +00:00
Gjorgji Slamkov 3ac59d6943 test(GODT-3162): Add step definition for checking KB article suggestions
* Add a step definition that takes input from a possible problem report description, and gets the suggested knowledge base articles
* Also, has input of what those knowledge base articles should be, just their title and url, and compares these two values.
* A sample integration test is added
2023-12-15 09:53:49 +00:00
Romain LE JEUNE 1ee52f0f55
fix(GODT-3151): Fix feature test with non modified HTML part. 2023-12-04 13:11:33 +01:00
Romain LE JEUNE 38606888fe
fix(GODT-2851): Add empty text part if no text part when importing multipart. 2023-11-30 11:03:31 +01:00
Leander Beernaert 1b22c32ef9 fix(GODT-3102): Distinguish Vault Decryption from Serialization Errors
Rather than returning whether the vault was corrupt or not return the
error which caused the vault to be considered as corrupt.
2023-11-30 08:31:14 +01:00
Romain Le Jeune 40c97ab19e fix(GODT-3022): Handle multipart/related on fake server. 2023-11-28 15:07:26 +00:00
Leander Beernaert f7434109be fix(GODT-3124): Race conditions reported by race check 2023-11-27 16:30:27 +01:00
Leander Beernaert 414d74d06a test(GODT-3124): Attempt to fix 401 during login
Update GPA to use the simplified locking model and hope that the problem
solves itself. As far as I could tell, this might be a lock acquisition
issue.

https://github.com/ProtonMail/go-proton-api/pull/132
https://github.com/ProtonMail/go-proton-api/pull/133
2023-11-27 13:31:35 +01:00
Gordana Zafirova e1723fc24b test: Add test scenarios to add an /Answered flag to a replied message and revert 2023-11-23 07:52:05 +00:00
Leander Beernaert 36f7d9672f fix(GODT-3132): Do not allow sending on disabled accounts 2023-11-22 13:07:20 +00:00
Gordana Zafirova b0f1c3d4c5 test(GODT-3113): Inline HTML message and HTML attachment is getting altered 2023-11-21 15:15:02 +00:00
Leander Beernaert bf89d548d3 fix(GODT-2576): Correctly handle Forwarded messages from Thunderbird
Thunderbird uses `In-Reply-To` with `X-Forwarded-Message-Id` to signal
to the SMTP server that it is forwarding a message.
2023-11-16 16:17:54 +01:00
Leander Beernaert 5a434fafbc fix(GODT-3125): Heartbeat crash on exit
Ensure that the heartbeat background task is stopped before we close
the users as it accesses data within these instances.

Additionally, we also make sure that when telemetry is disabled, we stop
the background task.

Finally, `HeartbeatManager` now specifies what the desired interval is
so we can better configure the test cases.
2023-11-16 11:05:40 +01:00
Leander Beernaert bc381407a7 feat(GODT-2576): Forward and $Forward Flag Support
When an IMAP client stores the `Forward` or `$Forward` flags on a
message, the forwarded state is now correctly represented on the Proton
servers.

https://github.com/ProtonMail/go-proton-api/pull/125
https://github.com/ProtonMail/gluon/pull/400
2023-11-15 07:51:00 +01:00
Romain Le Jeune 83bbdbd63e feat(GODT-3113): Only force UTF-8 charset for HTML part when needed. 2023-11-10 12:50:15 +00:00
Romain Le Jeune 0303ba38e8 feat(GODT-3113): Do not render HTML for attachment. 2023-11-10 08:36:46 +00:00
Romain Le Jeune e8d9534b9c feat(GODT-2277): Move Keychain helpers creation in main. 2023-11-08 13:05:57 +00:00
Gjorgji Slamkov 96904b160f test(GODT-2740): Sending Plain text messages to internal recipient 2023-11-07 10:02:26 +00:00
Gjorgji Slamkov b535be72f8 test(GODT-2892): Create fake log file 2023-11-07 07:21:26 +00:00
Leander Beernaert 5ff074cc49 fix(GODT-3106): Broken import route
https://github.com/ProtonMail/go-proton-api/pull/123
2023-11-06 10:36:27 +01:00
Romain Le Jeune 1c385d5c9b fix(GODT-3087): Exclude attachment content-disposition part when determining... 2023-11-03 08:55:01 +00:00
Gjorgji Slamkov 5823e3a99f test(GODT-2723): Add importing a message with remote content 2023-10-25 11:39:16 +00:00
Gjorgji Slamkov 26d866bbbd test(GODT-2737): Sending HTML messages to internal 2023-10-25 09:54:17 +00:00
Romain Le Jeune b52706a3ca feat(GODT-3015): Add simple algorithm to deal with multiple attachment for bug report. 2023-10-20 10:14:20 +00:00
Romain LE JEUNE ef31e2917c
test: make message structure check more verbose. 2023-10-19 14:22:46 +02:00
Romain Le Jeune 5747b85543 test: Add test around account settings. 2023-10-18 07:45:08 +00:00
Romain LE JEUNE 2a95e1ab41 test: Support multiple users when waiting for sync event. 2023-10-17 08:17:17 +00:00
Romain Le Jeune ab76cab533 test: Update fake server with defautl draft content-type and test it. 2023-10-17 08:16:39 +00:00
Romain Le Jeune 5c7e4e04f9 fix(GODT-2966): Allow permissive parsing of MediaType parameters for import. 2023-10-09 15:14:51 +00:00
Romain LE JEUNE d7dadd7578 test: be less aggressive while checking for message structure. 2023-10-09 10:32:51 +00:00