tests/keycloak: local imap syncing for client
Some checks failed
Flake checks / Check (pull_request) Failing after 4m1s
Some checks failed
Flake checks / Check (pull_request) Failing after 4m1s
This commit is contained in:
parent
760d6e3458
commit
86c239d44c
|
@ -88,5 +88,7 @@ in
|
|||
puppeteer_run('page.locator("button::-p-text(Register)").click()')
|
||||
puppeteer_run('page.waitForNetworkIdle()')
|
||||
client.screenshot("after-register")
|
||||
|
||||
client.succeed("offlineimap")
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -45,5 +45,25 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
accounts.email.accounts."test-user@${config.pub-solar-os.networking.domain}" = {
|
||||
primary = true;
|
||||
address = "test-user@${config.pub-solar-os.networking.domain}";
|
||||
userName = "test-user@${config.pub-solar-os.networking.domain}";
|
||||
passwordCommand = "echo password";
|
||||
realName = "Test User";
|
||||
imap = {
|
||||
host = "mail.${config.pub-solar-os.networking.domain}";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "mail.${config.pub-solar-os.networking.domain}";
|
||||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
getmail.enable = true;
|
||||
getmail.mailboxes = [ "ALL" ];
|
||||
msmtp.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
"hakkonaut@${config.pub-solar-os.networking.domain}" = {
|
||||
hashedPasswordFile = "/tmp/emailpw";
|
||||
};
|
||||
"test-user@${config.pub-solar-os.networking.domain}" = {
|
||||
quota = "1G";
|
||||
hashedPasswordFile = "/tmp/emailpw";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue