@@ -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];
|
||||
|
||||
Ссылка в новой задаче
Block a user