Fix Cypress tests on master (#26500)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6ea363e260
Коммит
9e5d486a5b
@@ -32,6 +32,9 @@ describe('Demo plugin - Webhook events', () => {
|
||||
ServiceSettings: {
|
||||
EnableGifPicker: true,
|
||||
},
|
||||
FileSettings: {
|
||||
EnablePublicLink: true,
|
||||
},
|
||||
};
|
||||
cy.apiUpdateConfig(newSettings);
|
||||
|
||||
|
||||
@@ -17,6 +17,21 @@ describe('Link tooltips', () => {
|
||||
cy.shouldNotRunOnCloudEdition();
|
||||
cy.shouldHavePluginUploadEnabled();
|
||||
|
||||
// # Set plugin settings
|
||||
const newSettings = {
|
||||
PluginSettings: {
|
||||
Enable: true,
|
||||
},
|
||||
ServiceSettings: {
|
||||
EnableGifPicker: true,
|
||||
},
|
||||
FileSettings: {
|
||||
EnablePublicLink: true,
|
||||
},
|
||||
};
|
||||
|
||||
cy.apiUpdateConfig(newSettings);
|
||||
|
||||
// # Enable the demo-plugin
|
||||
cy.apiUploadAndEnablePlugin(demoPlugin);
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user