add check that we are not from a fail fast
Some checks failed
Build and push image for doorman-homeassistant / docker (push) Successful in 43s
Build and push Doorman UI / API / docker (push) Failing after 2m45s
Build and push image for doorman-homeassistant / deploy-gitainer (push) Successful in 5s

This commit is contained in:
Martin Dimitrov 2025-10-11 15:46:48 -07:00
parent abf9d43a8c
commit 044ee4bd27

View File

@ -33,6 +33,7 @@ describe("buzzer client works", () => {
// buzzer should return an unlock // buzzer should return an unlock
const buzzerActivatedResp = await fetch(buzzerUrl + `?From=${buzzerNumber}`).then(res => res.text()); const buzzerActivatedResp = await fetch(buzzerUrl + `?From=${buzzerNumber}`).then(res => res.text());
expect(buzzerActivatedResp).toContain("<Play"); expect(buzzerActivatedResp).toContain("<Play");
expect(buzzerActivatedResp).not.toContain("fail fast callback");
// door should now be closed // door should now be closed
const infoResp = await fetch(baseUrl + `/api/door/info?door=${doorName}`).then(res => res.json()) as InfoResponseUI; const infoResp = await fetch(baseUrl + `/api/door/info?door=${doorName}`).then(res => res.json()) as InfoResponseUI;