Skip to content
Snippets Groups Projects
Commit 37bc8092 authored by Karl Prieb's avatar Karl Prieb
Browse files

fix tests

parent c5dec0a8
No related branches found
Tags 6.7.0-rc.0
No related merge requests found
......@@ -11,7 +11,7 @@ import {checkIfUserIsValid} from '../../data/checks';
import {checkIfUserIsAdmin} from '../../data/checks';
import {username, email, password, adminUsername, adminEmail, adminPassword} from '../../data/user.js';
describe('Admin settings', () => {
describe.only('Admin settings', () => {
before(() => {
checkIfUserIsAdmin(adminUsername, adminEmail, adminPassword);
sideNav.getChannelFromList('general').waitForVisible(5000);
......@@ -167,15 +167,10 @@ describe('Admin settings', () => {
checkIfUserIsValid('adminCreated'+username, 'adminCreated'+email, password);
});
it('should not show the plus icon on channels ', () => {
it('should not show the plus icon on toolbar ', () => {
sideNav.newChannelIcon.isVisible().should.be.false;
});
it('when clicked should not show the new channel name input ', () => {
sideNav.newChannelBtn.click();
sideNav.channelName.isVisible().should.be.false;
});
it('go to general', () => {
sideNav.getChannelFromList('general').waitForExist(5000);
sideNav.openChannel('general');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment