localStorage switches for testingRun the below localStorage commands in the browser console to trigger certain behaviour for testing.
For disabling the chat tab on the join class page.
localStorage.setItem("disableChat", "true"); to disable chat on the join class page.localStorage.setItem("disableChat", "false"); to clear it and re-enable chat.For testing what happens when the hosting site sends invalid tokens.
localStorage.setItem("sendABadToken", "true"); to trigger the bad token condition.localStorage.setItem("sendABadToken", "false"); to clear it and send good tokens again.For testing what happens when the hosting site sends null tokens.
localStorage.setItem("sendANullToken", "true"); to trigger the null token condition.localStorage.setItem("sendANullToken", "false"); to clear it and send good tokens again.