@@ -213,6 +213,18 @@ describe('nginx config', () => {
213213 { description : 'new or draft submission' ,
214214 request : `/-/${ enketoId } ` ,
215215 expected : `f/${ enketoId } /new` } ,
216+
217+ { description : 'new submission - enketoId starts with thanks' ,
218+ request : `/-/thanksokay` ,
219+ expected : `f/thanksokay/new` } ,
220+
221+ { description : 'new submission - enketoId ends with thanks' ,
222+ request : `/-/okaythanks` ,
223+ expected : `f/okaythanks/new` } ,
224+
225+ { description : 'new submission - enketoId contains thanks' ,
226+ request : `/-/okaythanksokay` ,
227+ expected : `f/okaythanksokay/new` } ,
216228 ] ;
217229 enketoRedirectTestData . forEach ( t => {
218230 it ( 'should redirect old enketo links to central-frontend; ' + t . description , async ( ) => {
@@ -230,6 +242,10 @@ describe('nginx config', () => {
230242 [
231243 '/-/thanks' ,
232244 '/-/connection' ,
245+ '/-/login' ,
246+ '/-/logout' ,
247+ '/-/api' ,
248+ '/-/preview' ,
233249 ] . forEach ( request => {
234250 it ( `should not redirect ${ request } to central-frontend` , async ( ) => {
235251 // when
0 commit comments