mirror of
https://github.com/documize/community.git
synced 2025-08-04 13:05:23 +02:00
WIP EmberJS upgrade
This commit is contained in:
parent
5cfbf07e55
commit
70a3b5915c
4 changed files with 776 additions and 51 deletions
|
@ -39,8 +39,8 @@ module('Acceptance | User Settings', function(hooks) {
|
|||
await fillIn('#siteTitle', 'Documize Tests');
|
||||
await click('.button-blue');
|
||||
|
||||
let websiteTitle = find('.content .title').textContent.trim();
|
||||
let websiteTitleInput = find('#siteTitle').value;
|
||||
websiteTitle = find('.content .title').textContent.trim();
|
||||
websiteTitleInput = find('#siteTitle').value;
|
||||
assert.equal(websiteTitleInput, websiteTitle, 'Website title is set to Documize Tests');
|
||||
});
|
||||
|
||||
|
@ -81,7 +81,7 @@ module('Acceptance | User Settings', function(hooks) {
|
|||
await fillIn('#newUserEmail', 'test.user@domain.com');
|
||||
await click('.button-blue');
|
||||
|
||||
let numberOfUsers = findAll('.user-list tr').length;
|
||||
numberOfUsers = findAll('.user-list tr').length;
|
||||
assert.equal(numberOfUsers, 4, '3 Users listed');
|
||||
assert.equal(currentURL(), '/settings/users');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue