32118 Make New environment empty state btn lowercase

This commit is contained in:
tauriedavis 2017-05-12 15:33:10 -07:00
parent 1e8dbd4675
commit a9e0218cc5
4 changed files with 9 additions and 3 deletions

View File

@ -255,7 +255,7 @@ export default {
v-if="canCreateEnvironmentParsed" v-if="canCreateEnvironmentParsed"
:href="newEnvironmentPath" :href="newEnvironmentPath"
class="btn btn-create js-new-environment-button"> class="btn btn-create js-new-environment-button">
New Environment New environment
</a> </a>
</div> </div>

View File

@ -0,0 +1,4 @@
---
title: Make New environment empty state btn lowercase
merge_request:
author:

View File

@ -239,7 +239,9 @@ feature 'Environments page', :feature, :js do
context 'when logged as developer' do context 'when logged as developer' do
before do before do
click_link 'New environment' within(".top-area") do
click_link 'New environment'
end
end end
context 'for valid name' do context 'for valid name' do

View File

@ -41,7 +41,7 @@ describe('Environment', () => {
setTimeout(() => { setTimeout(() => {
expect( expect(
component.$el.querySelector('.js-new-environment-button').textContent, component.$el.querySelector('.js-new-environment-button').textContent,
).toContain('New Environment'); ).toContain('New environment');
expect( expect(
component.$el.querySelector('.js-blank-state-title').textContent, component.$el.querySelector('.js-blank-state-title').textContent,