@Override public void tearDown() throws Exception { ContextService contextService = Aura.getContextService(); AuraContext context = contextService.getCurrentContext(); if (context != null) { contextService.endContext(); } super.tearDown(); }
@Override public void setUp() throws Exception { super.setUp(); ContextService contextService = Aura.getContextService(); AuraContext context = contextService.getCurrentContext(); if (context == null) { contextService.startContext( AuraContext.Mode.SELENIUM, AuraContext.Format.HTML, AuraContext.Authentication.AUTHENTICATED); } clientLibraryService = Aura.getClientLibraryService(); }
@Override public void setUp() throws Exception { super.setUp(); }