[CLD-8961] Fix typo in trial license error message (#30681)
Этот коммит содержится в:
@@ -131,7 +131,12 @@ export default class ChannelsCenterView {
|
|||||||
await this.postBoxIndicator.isVisible();
|
await this.postBoxIndicator.isVisible();
|
||||||
await this.scheduledDraftChannelIcon.isVisible();
|
await this.scheduledDraftChannelIcon.isVisible();
|
||||||
const messageLocator = this.scheduledDraftChannelInfoMessage.first();
|
const messageLocator = this.scheduledDraftChannelInfoMessage.first();
|
||||||
await expect(messageLocator).toContainText('Message scheduled for');
|
try {
|
||||||
|
await expect(messageLocator).toContainText('Message scheduled for');
|
||||||
|
} catch (error) {
|
||||||
|
// First assertion failed, trying fallback
|
||||||
|
await expect(messageLocator).toContainText('You have one scheduled message.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async clickOnLastEditedPost(postID: string | null) {
|
async clickOnLastEditedPost(postID: string | null) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {expect, test} from '@mattermost/playwright-lib';
|
|||||||
let keywords: string[];
|
let keywords: string[];
|
||||||
const highlightWithoutNotificationClass = 'non-notification-highlight';
|
const highlightWithoutNotificationClass = 'non-notification-highlight';
|
||||||
|
|
||||||
test.beforeAll(async ({pw}) => {
|
test.beforeEach(async ({pw}) => {
|
||||||
keywords = [`AB${pw.random.id()}`, `CD${pw.random.id()}`, `EF${pw.random.id()}`, `Highlight me ${pw.random.id()}`];
|
keywords = [`AB${pw.random.id()}`, `CD${pw.random.id()}`, `EF${pw.random.id()}`, `Highlight me ${pw.random.id()}`];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -2338,7 +2338,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "api.license.request-trial.can-start-trial.not-allowed",
|
"id": "api.license.request-trial.can-start-trial.not-allowed",
|
||||||
"translation": "Failed to apply new trial license. You have previously applied a trial license to this Mattermost instance.. If you would like to extend your trial period please [contact our sales team](https://mattermost.com/contact-us/)."
|
"translation": "Failed to apply new trial license as your workspace has already applied a trial license. If you would like to extend your trial period please [contact our sales team](https://mattermost.com/contact-us/)."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "api.license.request_trial_license.app_error",
|
"id": "api.license.request_trial_license.app_error",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user