Merge "Update the resource's configuration programmatically to ensure test is in night mode" into main