CEC-758 Add SMS send page and result (#173)
* Add SMS send and result pages * Update snapshot Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
This commit is contained in:
@@ -132,6 +132,10 @@ describe("App", () => {
|
||||
await check("/tools/certificates/add", "span.MuiButton-label", "Sign In");
|
||||
});
|
||||
|
||||
it("Route /tools/sms/send unauthenticated", async () => {
|
||||
await check("/tools/sms/send", "span.MuiButton-label", "Sign In");
|
||||
})
|
||||
|
||||
it("Route /page-not-found unauthenticated", async () => {
|
||||
await check("/page-not-found", "h1", "Page Not Found");
|
||||
});
|
||||
@@ -189,4 +193,9 @@ describe("App", () => {
|
||||
setToken(TEST_AUTH_OBJECT);
|
||||
await check("/tools/certificates/add", "h6", "Create Certificate");
|
||||
});
|
||||
|
||||
it("Route /tools/sms/send authenticated", async () => {
|
||||
setToken(TEST_AUTH_OBJECT);
|
||||
await check("/tools/sms/send", "h6", "Send SMS");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user