Improved the naming of the test cases / screenshot files.
Before Width: | Height: | Size: 588 KiB |
After Width: | Height: | Size: 588 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 588 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 598 KiB |
After Width: | Height: | Size: 598 KiB |
Before Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 590 KiB |
After Width: | Height: | Size: 590 KiB |
Before Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 582 KiB |
Before Width: | Height: | Size: 598 KiB |
After Width: | Height: | Size: 583 KiB |
After Width: | Height: | Size: 598 KiB |
Before Width: | Height: | Size: 323 KiB |
After Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 323 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 261 KiB |
After Width: | Height: | Size: 261 KiB |
Before Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 325 KiB |
After Width: | Height: | Size: 325 KiB |
Before Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 261 KiB |
After Width: | Height: | Size: 192 KiB |
After Width: | Height: | Size: 261 KiB |
Before Width: | Height: | Size: 589 KiB |
After Width: | Height: | Size: 589 KiB |
Before Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 589 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 601 KiB |
After Width: | Height: | Size: 601 KiB |
Before Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 594 KiB |
After Width: | Height: | Size: 594 KiB |
Before Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 585 KiB |
Before Width: | Height: | Size: 605 KiB |
After Width: | Height: | Size: 588 KiB |
After Width: | Height: | Size: 605 KiB |
Before Width: | Height: | Size: 325 KiB |
After Width: | Height: | Size: 326 KiB |
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 325 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 262 KiB |
After Width: | Height: | Size: 265 KiB |
Before Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 329 KiB |
After Width: | Height: | Size: 329 KiB |
Before Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 266 KiB |
After Width: | Height: | Size: 194 KiB |
After Width: | Height: | Size: 267 KiB |
@ -5,13 +5,13 @@ let expect = require('chai').expect;
|
||||
let utils = require('../../utils');
|
||||
|
||||
describe('Screenshots:', function() {
|
||||
it('Join Audio modal looks good', function() {
|
||||
it('Join Audio modal', function() {
|
||||
HomePage.login('testuser', 'Demo Meeting');
|
||||
HomePage.audioModalHeaderElement.waitForExist(7000);
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.audioModalSelector), 'Join Audio modal isn\'t the same');
|
||||
});
|
||||
|
||||
it('Home page viewport looks good', function() {
|
||||
it('Home page viewport', function() {
|
||||
HomePage.modalBaseCloseButtonElement.click();
|
||||
utils.expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same');
|
||||
});
|
||||
@ -19,40 +19,40 @@ describe('Screenshots:', function() {
|
||||
//////////////////////////////
|
||||
// Userlist + Chat
|
||||
|
||||
it('Userlist looks good', function() {
|
||||
it('Userlist', function() {
|
||||
HomePage.userListToggleButtonElement.click();
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.userListContentSelector), 'Userlist content isn\'t the same');
|
||||
});
|
||||
|
||||
it('Viewport looks good with userlist open', function() {
|
||||
it('Viewport with userlist open', function() {
|
||||
utils.expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same after we open userlist');
|
||||
});
|
||||
|
||||
/*it('Userlist avatar looks good', function() {
|
||||
/*it('Userlist avatar', function() {
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.userAvatarElement), 'Userlist avatar isn\'t the same');
|
||||
});*/
|
||||
|
||||
it('Public chat looks good', function() {
|
||||
it('Public chat', function() {
|
||||
HomePage.publicChatLinkElement.click();
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.publicChatSelector), 'Public chat isn\'t the same');
|
||||
});
|
||||
|
||||
it('Viewport looks good with both userlist and public chat open', function() {
|
||||
it('Viewport with both userlist and public chat open', function() {
|
||||
browser.moveToObject(HomePage.chatTitleSelector); // avoid hover effect on the Public Chat tab
|
||||
utils.expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same after we open both userlist and public chat');
|
||||
});
|
||||
|
||||
/*it('Public chat dropdown looks good', function() {
|
||||
/*it('Public chat dropdown', function() {
|
||||
HomePage.chatDropdownTriggerElement.click();
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.publicChatSelector), 'Public chat dropdown isn\'t the same');
|
||||
});*/
|
||||
|
||||
it('Public chat closes successfully', function() {
|
||||
it('Public chat closes', function() {
|
||||
HomePage.chatTitleElement.click();
|
||||
utils.expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same after we closed public chat');
|
||||
});
|
||||
|
||||
it('Userlist closes successfully', function() {
|
||||
it('Userlist closes', function() {
|
||||
HomePage.userListToggleButtonElement.click();
|
||||
utils.expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same after we close the userlist');
|
||||
});
|
||||
@ -60,7 +60,7 @@ describe('Screenshots:', function() {
|
||||
//////////////////////////////
|
||||
// Settings:
|
||||
|
||||
it('Settings dropdown looks good', function() {
|
||||
it('Settings dropdown', function() {
|
||||
HomePage.settingsDropdownTriggerElement.waitForExist(2000);
|
||||
HomePage.settingsDropdownTriggerElement.click();
|
||||
HomePage.settingsDropdownElement.waitForExist(2000);
|
||||
@ -68,14 +68,14 @@ describe('Screenshots:', function() {
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.settingsDropdownSelector), 'Settings dropdown isn\'t the same');
|
||||
});
|
||||
|
||||
it('Logout popup looks good', function() {
|
||||
it('Logout popup', function() {
|
||||
HomePage.settingsDropdownLogoutButtonElement.waitForExist(2000);
|
||||
HomePage.settingsDropdownLogoutButtonElement.click();
|
||||
HomePage.logoutModalElement.waitForExist(2000);
|
||||
utils.expectImageMatch(browser.checkElement(HomePage.logoutModalSelector));
|
||||
});
|
||||
|
||||
it('Logout popup closes successfully', function() {
|
||||
it('Logout popup closes', function() {
|
||||
HomePage.modalDismissButtonElement.click();
|
||||
utils.expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same after we close Logout modal');
|
||||
});
|
||||
|