Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/environments/environment_item_spec.js')
-rw-r--r--spec/frontend/environments/environment_item_spec.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/frontend/environments/environment_item_spec.js b/spec/frontend/environments/environment_item_spec.js
index 09ab1223fd1..62806c9e44c 100644
--- a/spec/frontend/environments/environment_item_spec.js
+++ b/spec/frontend/environments/environment_item_spec.js
@@ -285,6 +285,17 @@ describe('Environment item', () => {
it('should not render the "Upcoming deployment" column', () => {
expect(findUpcomingDeployment().exists()).toBe(false);
});
+
+ it('should set the name cell to be full width', () => {
+ expect(wrapper.find('[data-testid="environment-name-cell"]').classes('section-100')).toBe(
+ true,
+ );
+ });
+
+ it('should hide non-folder properties', () => {
+ expect(wrapper.find('[data-testid="environment-deployment-id-cell"]').exists()).toBe(false);
+ expect(wrapper.find('[data-testid="environment-build-cell"]').exists()).toBe(false);
+ });
});
describe('When environment can be deleted', () => {