[CLD-8961] Fix typo in trial license error message (#30681)

Этот коммит содержится в:
Nick Misasi
2025-04-10 11:47:55 -04:00
коммит произвёл GitHub
родитель b348527889
Коммит 14426af461
3 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@@ -131,7 +131,12 @@ export default class ChannelsCenterView {
await this.postBoxIndicator.isVisible();
await this.scheduledDraftChannelIcon.isVisible();
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) {

Просмотреть файл

@@ -6,7 +6,7 @@ import {expect, test} from '@mattermost/playwright-lib';
let keywords: string[];
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()}`];
});

Просмотреть файл

@@ -2338,7 +2338,7 @@
},
{
"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",