E2E/Playwright: Instantiate page in pw (#29765)
* instantiate page in pw * update spec * fix storage key and require user when logging in via API --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
20e9c6aa3e
Коммит
90e3d2833e
@@ -22,7 +22,7 @@ const mimeType = 'image/png';
|
||||
const {file} = getFileDataFromAsset(filename, mimeType);
|
||||
const {blob} = getBlobDataFromAsset(filename, mimeType);
|
||||
|
||||
test.beforeAll(async ({pw}) => {
|
||||
test.beforeEach(async ({pw}) => {
|
||||
({userClient, user, team} = await pw.initSetup());
|
||||
townSquareChannel = await userClient.getChannelByName(team.id, 'town-square');
|
||||
});
|
||||
|
||||
Ссылка в новой задаче
Block a user