Error- week 3 execution cells

I am getting following error while solving an assignment
NameError: name ‘layer_sizes_test’ is not defined.
Even though the output is as expected, the uneditable execution cells are showing an error. Please guide.

Does your imports section on the notebook have this line?
from public_tests import *

You just need to execute the earlier cells in the notebook like the import cell that Balaji points out. Try “Cell → Run All Above” and then run your test cell again. You need to do this every time you open the notebook, even if the notebook has been executed before. You lose the runtime state everytime you close and reopen it.

thank you so much, got it!

thank you so much, done!