feat(e2e): add a job to run e2e on linux os (#2796)
This commit is contained in:
@@ -36,15 +36,14 @@ 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.click('#sidebarItem_suscipit-4', {button: 'right'});
|
||||
await firstServer.click('text=Copy Linksint >> span');
|
||||
await firstServer.waitForSelector('#sidebarItem_town-square');
|
||||
await firstServer.click('#sidebarItem_town-square', {button: 'right'});
|
||||
await firstServer.click('li.SidebarChannel.expanded.active > span > nav > div');
|
||||
await firstServer.click('#sidebarItem_town-square');
|
||||
await firstServer.click('#post_textbox');
|
||||
const clipboardText = clipboard.readText();
|
||||
await firstServer.fill('#post_textbox', clipboardText);
|
||||
const content = await firstServer.locator('#post_textbox').textContent();
|
||||
content.should.contain('/ad-1/channels/suscipit-4');
|
||||
content.should.contain('/ad-1/channels/town-square');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user