@@ -1882,56 +1882,6 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
18821882 await waitForSTElement ( page , "[data-supertokens~=input][name=userInputCode]" ) ;
18831883 } ) ;
18841884 } ) ;
1885-
1886- if ( authRecipe === "all" ) {
1887- describe ( "with emailpassword combo" , ( ) => {
1888- before ( async function ( ) {
1889- await backendHook ( "before" ) ;
1890- await setupST ( {
1891- coreUrl,
1892- passwordlessFlowType : "USER_INPUT_CODE" ,
1893- passwordlessContactMethod : contactMethod ,
1894- } ) ;
1895- ( { browser, page } = await initBrowser ( contactMethod , consoleLogs , authRecipe , undefined ) ) ;
1896- if ( authRecipe === "all" ) {
1897- await tryEmailPasswordSignUp ( page , registeredEmailWithPass ) ;
1898- }
1899- } ) ;
1900-
1901- after ( async function ( ) {
1902- await browser ?. close ( ) ;
1903- await backendHook ( "after" ) ;
1904- } ) ;
1905-
1906- beforeEach ( async function ( ) {
1907- await clearBrowserCookiesWithoutAffectingConsole ( page , consoleLogs ) ;
1908-
1909- await page . evaluate ( ( ) => localStorage . removeItem ( "supertokens-passwordless-loginAttemptInfo" ) ) ;
1910- await page . evaluate ( ( ) => localStorage . removeItem ( "SHOW_GENERAL_ERROR" ) ) ;
1911-
1912- consoleLogs . length = 0 ;
1913- } ) ;
1914-
1915- it ( "should navigate to the sign in page when the user clicks on the forgot password link" , async function ( ) {
1916- await page . goto ( `${ TEST_CLIENT_BASE_URL } /auth` ) ;
1917-
1918- await setInputValues ( page , [ { name : "email" , value : registeredEmailWithPass } ] ) ;
1919- await submitForm ( page ) ;
1920-
1921- const testVal = "nav check" + Date . now ( ) ;
1922-
1923- await page . evaluate ( ( testVal ) => {
1924- window . testVal = testVal ;
1925- } , testVal ) ;
1926-
1927- await clickForgotPasswordLink ( page ) ;
1928- await waitForUrl ( page , "/auth/reset-password" ) ;
1929-
1930- const testValAfterNav = await page . evaluate ( ( ) => window . testVal ) ;
1931- assert . strictEqual ( testVal , testValAfterNav ) ;
1932- } ) ;
1933- } ) ;
1934- }
19351885 }
19361886}
19371887
0 commit comments