test: e2e for not allowing reschedule of a cancelled booking (#12928)

* test: e2e for not allowing reschedule of a cancelled booking

* Fix failing test
This commit is contained in:
Hariom Balhara authored and GitHub committed 2023-12-22 08:07:47 -05:00
1 parent 69656b7861
commit 4fa7bb64eb
8 files changed
+51 -9

No files matched your search

@@ -383,7 +383,7 @@ export default function MemberInvitationModal(props: MemberInvitationModalProps)
try {
// Required for Safari but also works on Chrome
// Credits to https://wolfgangrittner.dev/how-to-use-clipboard-api-in-firefox/
if (typeof ClipboardItem) {
if (typeof ClipboardItem !== "undefined") {
const inviteLinkClipbardItem = new ClipboardItem({
"text/plain": new Promise(async (resolve) => {
// Instead of doing async work and then writing to clipboard, do async work in clipboard API itself