0

i am into the situation where from Developer console my test class is getting passed but from UI -its with error 'System.NoAccessException: Set up My Domain to access this page.'

Please suggest.enter image description here

From here its getting failed From Dev console its getting passenter image description here

My domain has setup already

  • Maybe set up my domain? What do you mean that your unit test is not passing from the UI? For example lightning components wont be available without setting up my domain – user1974566 May 28 at 5:30
  • From Apex class when i Am running test class its failing ,but from developer console its getting passed – sudhanshu May 28 at 6:08
  • Could you provide part of the code that is failing? – user1974566 May 28 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.