diff --git a/testcafe/testUtils.ts b/testcafe/elements/muiButton.ts similarity index 58% rename from testcafe/testUtils.ts rename to testcafe/elements/muiButton.ts index ecdd8bf9..9b3cb43e 100644 --- a/testcafe/testUtils.ts +++ b/testcafe/elements/muiButton.ts @@ -1,10 +1,5 @@ import { Selector } from "testcafe"; -// This should work with text inside a Material-UI -export function textExists(titleForIntro1: string) { - return Selector("p").withText(titleForIntro1).exists; -} - // This should work with the label of a Material-UI