| | |
| | |
| | import { adminUser } from '../support/e2e'; |
| |
|
| | |
| | describe('Settings', () => { |
| | |
| | after(() => { |
| | |
| | cy.wait(2000); |
| | }); |
| |
|
| | beforeEach(() => { |
| | |
| | cy.loginAdmin(); |
| | |
| | cy.visit('/'); |
| | |
| | cy.get('button[aria-label="User Menu"]').click(); |
| | |
| | cy.get('button').contains('Settings').click(); |
| | }); |
| |
|
| | context('General', () => { |
| | it('user can open the General modal and hit save', () => { |
| | cy.get('button').contains('General').click(); |
| | cy.get('button').contains('Save').click(); |
| | }); |
| | }); |
| |
|
| | context('Interface', () => { |
| | it('user can open the Interface modal and hit save', () => { |
| | cy.get('button').contains('Interface').click(); |
| | cy.get('button').contains('Save').click(); |
| | }); |
| | }); |
| |
|
| | context('Audio', () => { |
| | it('user can open the Audio modal and hit save', () => { |
| | cy.get('button').contains('Audio').click(); |
| | cy.get('button').contains('Save').click(); |
| | }); |
| | }); |
| |
|
| | context('Chats', () => { |
| | it('user can open the Chats modal', () => { |
| | cy.get('button').contains('Chats').click(); |
| | }); |
| | }); |
| |
|
| | context('Account', () => { |
| | it('user can open the Account modal and hit save', () => { |
| | cy.get('button').contains('Account').click(); |
| | cy.get('button').contains('Save').click(); |
| | }); |
| | }); |
| |
|
| | context('About', () => { |
| | it('user can open the About modal', () => { |
| | cy.get('button').contains('About').click(); |
| | }); |
| | }); |
| | }); |
| |
|