expect boards product by default in e2e (#22911)

Этот коммит содержится в:
Saturnino Abril
2023-04-11 18:59:10 +08:00
коммит произвёл GitHub
родитель 50aabf6b93
Коммит 5b5ee1160e
11 изменённых файлов: 15 добавлений и 58 удалений

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

@@ -167,8 +167,9 @@ async function makeClient(userRequest?: UserRequest, useCache = true): Promise<C
const userProfile = await client.login(userRequest.username, userRequest.password);
const user = {...userProfile, password: userRequest.password};
const config = await client.getClientConfigOld();
client.setUseBoardsProduct(config.FeatureFlagBoardsProduct === 'true');
// Manually do until boards as product is consistent in all the codebase.
client.setUseBoardsProduct(true);
if (useCache) {
clients[cacheKey] = {client, user};