Commit a9e0218c authored by tauriedavis's avatar tauriedavis

32118 Make New environment empty state btn lowercase

parent 1e8dbd46
...@@ -255,7 +255,7 @@ export default { ...@@ -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>
......
---
title: Make New environment empty state btn lowercase
merge_request:
author:
...@@ -239,8 +239,10 @@ feature 'Environments page', :feature, :js do ...@@ -239,8 +239,10 @@ feature 'Environments page', :feature, :js do
context 'when logged as developer' do context 'when logged as developer' do
before do before do
within(".top-area") do
click_link 'New environment' click_link 'New environment'
end end
end
context 'for valid name' do context 'for valid name' do
before do before do
......
...@@ -41,7 +41,7 @@ describe('Environment', () => { ...@@ -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,
......
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