mirror of
https://github.com/wassname/talk.git
synced 2026-08-03 13:20:59 +08:00
Set window position
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
'@tags': ['install'],
|
||||
|
||||
before: (client) => {
|
||||
before: (client) => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
module.exports = {
|
||||
'@tags': ['admin', 'login'],
|
||||
|
||||
before: (client) => {
|
||||
before: (client) => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1024, 800);
|
||||
},
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
module.exports = {
|
||||
'@tags': ['embedStream', 'login'],
|
||||
|
||||
before: (client) => {
|
||||
before: (client) => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
|
||||
before: (client) => {
|
||||
before: (client) => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
module.exports = {
|
||||
|
||||
before: (client) => {
|
||||
before: (client) => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user