@@ -29,6 +29,28 @@ describe("TESTS: Configuration => Subsystem => EJB => Container => Remoting Prof
2929 cy . addAddress ( managementEndpoint , address . concat ( remotingProfiles . update . name ) ) ;
3030 cy . addAddress ( managementEndpoint , address . concat ( remotingProfiles . remove . name ) ) ;
3131 cy . addAddress ( managementEndpoint , address . concat ( remotingProfiles . reset . name ) ) ;
32+ } )
33+ . then ( ( ) => {
34+ cy . writeAttribute (
35+ managementEndpoint ,
36+ address . concat ( remotingProfiles . reset . name ) ,
37+ "local-receiver-pass-by-value" ,
38+ true
39+ ) ;
40+ cy . writeAttribute (
41+ managementEndpoint ,
42+ address . concat ( remotingProfiles . reset . name ) ,
43+ "exclude-local-receiver" ,
44+ true
45+ ) ;
46+ cy . writeAttribute ( managementEndpoint , address . concat ( remotingProfiles . reset . name ) , "static-ejb-discovery" , [
47+ {
48+ uri : "someUri" ,
49+ "app-name" : "someAppName" ,
50+ "module-name" : "someModule" ,
51+ "distinct-name" : "someDistinctName" ,
52+ } ,
53+ ] ) ;
3254 } ) ;
3355 } ) ;
3456
@@ -170,5 +192,29 @@ describe("TESTS: Configuration => Subsystem => EJB => Container => Remoting Prof
170192 cy . get ( "#remoting-profile-item" ) . click ( ) ;
171193 cy . selectInTable ( remotingProfilesTableId , remotingProfiles . reset . name ) ;
172194 cy . resetForm ( configurationFormId , managementEndpoint , address . concat ( remotingProfiles . reset . name ) ) ;
195+ //Verify reset
196+ cy . verifyAttribute (
197+ managementEndpoint ,
198+ address . concat ( remotingProfiles . reset . name ) ,
199+ "local-receiver-pass-by-value" ,
200+ false
201+ ) ;
202+ cy . verifyAttribute (
203+ managementEndpoint ,
204+ address . concat ( remotingProfiles . reset . name ) ,
205+ "exclude-local-receiver" ,
206+ false
207+ ) ;
208+ cy . verifyListAttributeDoesNotContain (
209+ managementEndpoint ,
210+ address . concat ( remotingProfiles . reset . name ) ,
211+ "static-ejb-discovery" ,
212+ {
213+ uri : "someUri" ,
214+ "app-name" : "someAppName" ,
215+ "module-name" : "someModule" ,
216+ "distinct-name" : "someDistinctName" ,
217+ }
218+ ) ;
173219 } ) ;
174220} ) ;
0 commit comments