Commit 662f87ca authored by Phil Hughes's avatar Phil Hughes

spec fixes

parent 098a9805
......@@ -32,6 +32,7 @@
}
.tree-content-holder {
display: -webkit-flex;
display: flex;
min-height: 300px;
}
......@@ -134,6 +135,10 @@
vertical-align: middle;
text-decoration: none;
margin-right: 12px;
&:focus {
outline: none;
}
}
.close-btn {
......
......@@ -28,8 +28,6 @@ feature 'Multi-file editor new file', :js do
click_button('Create file')
end
find('.inputarea').send_keys('file content')
fill_in('commit-message', with: 'commit message')
click_button('Commit 1 file')
......
......@@ -19,6 +19,7 @@ describe('new file modal component', () => {
beforeEach(() => {
vm = createComponentWithStore(Component, store, {
type,
path: '',
}).$mount();
vm.entryName = 'testing';
......@@ -187,6 +188,7 @@ describe('new file modal component', () => {
vm = createComponentWithStore(Component, store, {
type: 'tree',
path: '',
}).$mount('.js-test');
expect(document.activeElement).toBe(vm.$refs.fieldName);
......
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