Show Login and Ask an organizer sent and error states.
Connect the live modals to the drawn sent, expired, invalid-email, and send-failed screens, pin the phone footer above the keyboard, and send the light login email.
This commit is contained in:
1 parent
44010c7b73
commit
27d74e510c
29 files changed
+771
-281
No files matched your search
@@ -4,8 +4,8 @@ import { MAGIC_LINK_TTL_MINUTES } from "../../lib/privacyRetention";
|
||||
|
||||
describe("privacy retention copy", () => {
|
||||
it("states the login link lifetime in the sent state", () => {
|
||||
expect(login.successBody).toContain(
|
||||
`works for ${MAGIC_LINK_TTL_MINUTES} minutes`,
|
||||
);
|
||||
expect(
|
||||
login.sentBody.replace("{minutes}", String(MAGIC_LINK_TTL_MINUTES)),
|
||||
).toContain(`works for ${MAGIC_LINK_TTL_MINUTES} minutes`);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user