Cypress/E2E: Upgrade cypress and test server config (#24594)
* upgrade cypress and test server config * fix checks to lint and types * fix CloudSettings and upgrade packages to latest --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
43cb6fa6c1
Коммит
f3f9a84456
@@ -26,7 +26,7 @@ describe('channels > App Bar', {testIsolation: true}, () => {
|
||||
|
||||
describe('App Bar disabled', () => {
|
||||
it('should not show the Playbook App Bar icon', () => {
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {EnableAppBar: false}});
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {DisableAppBar: true}});
|
||||
|
||||
// # Login as testUser
|
||||
cy.apiLogin(testUser);
|
||||
@@ -41,7 +41,7 @@ describe('channels > App Bar', {testIsolation: true}, () => {
|
||||
|
||||
describe('App Bar enabled', () => {
|
||||
beforeEach(() => {
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {EnableAppBar: true}});
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {DisableAppBar: false}});
|
||||
|
||||
// # Login as testUser
|
||||
cy.apiLogin(testUser);
|
||||
|
||||
@@ -47,7 +47,7 @@ describe('channels > channel header', {testIsolation: true}, () => {
|
||||
describe('App Bar enabled', () => {
|
||||
it('webapp should hide the Playbook channel header button', () => {
|
||||
cy.apiAdminLogin();
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {EnableAppBar: true}});
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {DisableAppBar: false}});
|
||||
|
||||
// # Login as testUser
|
||||
cy.apiLogin(testUser);
|
||||
@@ -65,7 +65,7 @@ describe('channels > channel header', {testIsolation: true}, () => {
|
||||
describe('App Bar disabled', () => {
|
||||
beforeEach(() => {
|
||||
cy.apiAdminLogin();
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {EnableAppBar: false}});
|
||||
cy.apiUpdateConfig({ExperimentalSettings: {DisableAppBar: true}});
|
||||
|
||||
// # Login as testUser
|
||||
cy.apiLogin(testUser);
|
||||
|
||||
Ссылка в новой задаче
Block a user