Automatic Merge
Этот коммит содержится в:
Julien Tant
2025-01-31 19:50:08 -07:00
коммит произвёл GitHub
родитель c079020e9e
Коммит 8fdb9ad358
7 изменённых файлов: 48 добавлений и 19 удалений

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

@@ -22,7 +22,7 @@ test('Search box suggestion must be case insensitive', async ({pw}) => {
// Should work as expected when using lowercase
// # Type in lowercase "off" to search for the "Off-Topic" channel
const {searchInput} = await channelsPage.searchPopover;
const {searchInput} = channelsPage.searchPopover;
await searchInput.pressSequentially(`In:${searchWord}`);
// * The suggestion should be visible
@@ -37,10 +37,12 @@ test('Search box suggestion must be case insensitive', async ({pw}) => {
await expect(channelsPage.globalHeader.searchBox.getByText(searchOutput, {exact: true})).toBeVisible();
// Should work as expected when using uppercase
// # Close then open the search UI
await channelsPage.globalHeader.closeSearch();
// # Open the search bar
await channelsPage.globalHeader.openSearch();
// # Clear its content
await channelsPage.searchPopover.clearIfPossible();
// # Type in uppercase "OFF" to search for the "Off-Topic" channel
await searchInput.pressSequentially(`In:${searchWord.toUpperCase()}`);

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

@@ -5,17 +5,9 @@ import {createRandomTeam} from '@e2e-support/server';
import {expect, test} from '@e2e-support/test_fixture';
test('team selector must show all my teams', async ({pw}) => {
const {adminClient, adminConfig, user, team} = await pw.initSetup();
pw.skipIfFeatureFlagNotSet('ExperimentalCrossTeamSearch', true);
// # Enable Cross Team Search Feature Flag
const newConfig = {
...adminConfig,
FeatureFlags: {
...adminConfig.FeatureFlags,
ExperimentalCrossTeamSearch: true,
},
};
await adminClient.updateConfig(newConfig);
const {adminClient, user, team} = await pw.initSetup();
// # create 2 more teams and add the user to them
const teams = [team];