Set window position

This commit is contained in:
Chi Vinh Le
2017-12-21 14:10:28 +01:00
parent 3c5991453d
commit 2e726c9d6a
6 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
module.exports = {
'@tags': ['install'],
before: (client) => {
before: (client) => {
client.setWindowPosition(0, 0);
client.resizeWindow(1600, 1200);
},
+2 -1
View File
@@ -1,7 +1,8 @@
module.exports = {
'@tags': ['admin', 'login'],
before: (client) => {
before: (client) => {
client.setWindowPosition(0, 0);
client.resizeWindow(1024, 800);
},
+2 -1
View File
@@ -1,7 +1,8 @@
module.exports = {
'@tags': ['embedStream', 'login'],
before: (client) => {
before: (client) => {
client.setWindowPosition(0, 0);
client.resizeWindow(1600, 1200);
},
+2 -1
View File
@@ -1,6 +1,7 @@
module.exports = {
before: (client) => {
before: (client) => {
client.setWindowPosition(0, 0);
client.resizeWindow(1600, 1200);
},
+2 -1
View File
@@ -1,6 +1,7 @@
module.exports = {
before: (client) => {
before: (client) => {
client.setWindowPosition(0, 0);
client.resizeWindow(1600, 1200);
},
+3 -2
View File
@@ -1,6 +1,7 @@
module.exports = {
before: (client) => {
client.setWindowPosition(0, 0);
client.resizeWindow(1600, 1200);
},
@@ -83,7 +84,7 @@ module.exports = {
'admin suspends user': (client) => {
const adminPage = client.page.admin();
const moderate = adminPage.section.moderate;
adminPage
.navigate()
.ready()
@@ -97,7 +98,7 @@ module.exports = {
.waitForElementVisible('@actionItemSuspendUser')
.click('@actionItemSuspendUser');
adminPage
adminPage
.waitForElementVisible('@suspendUserDialog')
.waitForElementVisible('@suspendUserConfirmButton')
.click('@suspendUserConfirmButton')