User profile state (#438)

* user data

* fix missing store selector

* profile state

* use ProfileStatus

* remove tests

* test fixes
This commit is contained in:
Cilibiu Bogdan
2018-06-20 15:43:20 +03:00
committed by Denys Vuika
parent 9e08b8a232
commit fec3f8aaf7
15 changed files with 186 additions and 135 deletions

View File

@@ -132,10 +132,10 @@ describe('Trash', () => {
});
it('has the correct columns', () => {
const labels = [ 'Name', 'Location', 'Size', 'Deleted', 'Deleted by' ];
const labels = [ 'Name', 'Location', 'Size', 'Deleted'];
const elements = labels.map(label => dataTable.getColumnHeaderByLabel(label));
expect(dataTable.getColumnHeaders().count()).toBe(5 + 1, 'Incorrect number of columns');
expect(dataTable.getColumnHeaders().count()).toBe(4 + 1, 'Incorrect number of columns');
elements.forEach((element, index) => {
expect(element.isPresent()).toBe(true, `"${labels[index]}" is missing`);