Other: Fix testCtx.getMBoxID()

Ensure we always translate the labels to their full name so they match
properly on all commands.
This commit is contained in:
Leander Beernaert
2023-01-05 14:25:15 +01:00
parent 878f67a051
commit 9f7cda3b69
5 changed files with 19 additions and 7 deletions

View File

@ -6,11 +6,11 @@ Feature: Address mode
| name | type |
| one | folder |
| two | folder |
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "one":
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "Folders/one":
| from | to | subject | unread |
| a@[domain] | a@[domain] | one | true |
| b@[domain] | b@[domain] | two | false |
And the address "[alias:alias]@[domain]" of account "[user:user]" has the following messages in "two":
And the address "[alias:alias]@[domain]" of account "[user:user]" has the following messages in "Folders/two":
| from | to | subject | unread |
| c@[domain] | c@[domain] | three | true |
| d@[domain] | d@[domain] | four | false |

View File

@ -6,11 +6,11 @@ Feature: Bridge can fully sync an account
| one | folder |
| two | folder |
| three | label |
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "one":
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "Folders/one":
| from | to | subject | unread |
| a@[domain] | a@[domain] | one | true |
| b@[domain] | b@[domain] | two | false |
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "two":
And the address "[user:user]@[domain]" of account "[user:user]" has the following messages in "Folders/two":
| from | to | subject | unread |
| a@[domain] | a@[domain] | one | true |
| b@[domain] | b@[domain] | two | false |