Please remove line 10 and change line 11 with the following
context.page = DashboardPage(context)
It improves redability.