test: e2e for workflows (#9657)

* create test files

* add first e2e test

* finish first e2e test

* code clean up

* fix event type create button data-testid

* enable sandbox mode for non production environments

* comment out code for testing

* Revert "comment out code for testing"

This reverts commit 5553dacce23cd85c27e41b76f99fc31ce69499b7.

* clean up comments

* prettier

* use NEXT_PUBLIC_IS_E2E

* use todo fn

---------

Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Alan <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Shivam Kalra <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-07-21 21:06:39 +05:30
1 parent 337192697f
commit 1aa3077706
8 files changed
+108 -2

No files matched your search

@@ -86,6 +86,7 @@ export function CreateButton(props: CreateBtnProps) {
? createFunction(options[0].teamId || undefined)
: null
}
data-testid="create-button"
StartIcon={Plus}
loading={isLoading}
variant={disableMobileButton ? "button" : "fab"}
@@ -98,6 +99,7 @@ export function CreateButton(props: CreateBtnProps) {
<Button
variant={disableMobileButton ? "button" : "fab"}
StartIcon={Plus}
data-testid="create-button-dropdown"
loading={isLoading}
{...restProps}>
{buttonText ? buttonText : t("new")}