Commit 39340e42 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '32118-new-environment-btn-copy' into 'master'

32118 Make New environment empty state btn lowercase

Closes #32118

See merge request !11350
parents 3ad3f906 a9e0218c
......@@ -255,7 +255,7 @@ export default {
v-if="canCreateEnvironmentParsed"
:href="newEnvironmentPath"
class="btn btn-create js-new-environment-button">
New Environment
New environment
</a>
</div>
......
---
title: Make New environment empty state btn lowercase
merge_request:
author:
......@@ -239,7 +239,9 @@ feature 'Environments page', :feature, :js do
context 'when logged as developer' do
before do
click_link 'New environment'
within(".top-area") do
click_link 'New environment'
end
end
context 'for valid name' do
......
......@@ -41,7 +41,7 @@ describe('Environment', () => {
setTimeout(() => {
expect(
component.$el.querySelector('.js-new-environment-button').textContent,
).toContain('New Environment');
).toContain('New environment');
expect(
component.$el.querySelector('.js-blank-state-title').textContent,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment