mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
Set resolution
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
module.exports = {
|
||||
'@tags': ['install'],
|
||||
|
||||
beforeEach: (client) => {
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
'User goes to install': (client) => {
|
||||
const install = client.page.install();
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
module.exports = {
|
||||
'@tags': ['admin', 'login'],
|
||||
beforeEach: (client) => {
|
||||
|
||||
beforeEach: (client) => {
|
||||
client.resizeWindow(1024, 800);
|
||||
},
|
||||
|
||||
'Admin logs in': (client) => {
|
||||
const adminPage = client.page.admin();
|
||||
const {testData: {admin}} = client.globals;
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
module.exports = {
|
||||
'@tags': ['embedStream', 'login'],
|
||||
|
||||
beforeEach: (client) => {
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
'creates a new asset': (client) => {
|
||||
const asset = 'newAssetTest';
|
||||
const embedStream = client.page.embedStream();
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
module.exports = {
|
||||
|
||||
beforeEach: (client) => {
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
'admin logs in': (client) => {
|
||||
const adminPage = client.page.admin();
|
||||
const {testData: {admin}} = client.globals;
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
module.exports = {
|
||||
|
||||
beforeEach: (client) => {
|
||||
client.resizeWindow(1600, 1200);
|
||||
},
|
||||
|
||||
'admin logs in': (client) => {
|
||||
const adminPage = client.page.admin();
|
||||
const {testData: {admin}} = client.globals;
|
||||
|
||||
Reference in New Issue
Block a user