feat(e2e): add a job to run e2e on linux os (#2796)

This commit is contained in:
yasserfaraazkhan
2023-10-25 02:01:36 +05:30
committed by GitHub
parent e1f2239dbd
commit 932eff2ea9
7 changed files with 211 additions and 28 deletions

View File

@@ -36,8 +36,7 @@ describe('copylink', function desc() {
await loadingScreen.waitForSelector('.LoadingScreen', {state: 'hidden'});
const firstServer = this.serverMap[`${config.teams[0].name}___TAB_MESSAGING`].win;
await env.loginToMattermost(firstServer);
await firstServer.waitForSelector('#sidebarItem_suscipit-4');
await firstServer.click('#sidebarItem_suscipit-4');
await firstServer.waitForSelector('#post_textbox');
await firstServer.click('#post_textbox');
await firstServer.fill('#post_textbox', 'https://electronjs.org/apps/mattermost');
await firstServer.press('#post_textbox', 'Enter');