Backport of EE changes in environments tests
What does this MR do?
Backport of ee changes made in here: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1595
Since in EE deploy board will be rendered open by default if we test for number of rows, it will be different. This changes the tests to test if we render environment data instead.