mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
replaced eslint:recommended with prettier
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
'@tags': ['admin', 'login'],
|
||||
|
||||
before: (client) => {
|
||||
before: client => {
|
||||
client.setWindowPosition(0, 0);
|
||||
client.resizeWindow(1024, 800);
|
||||
},
|
||||
@@ -13,31 +13,26 @@ module.exports = {
|
||||
done();
|
||||
},
|
||||
|
||||
after: (client) => {
|
||||
after: client => {
|
||||
client.end();
|
||||
},
|
||||
|
||||
'Admin logs in': (client) => {
|
||||
'Admin logs in': client => {
|
||||
const adminPage = client.page.admin();
|
||||
const {testData: {admin}} = client.globals;
|
||||
const { testData: { admin } } = client.globals;
|
||||
|
||||
adminPage.navigateAndLogin(admin);
|
||||
},
|
||||
|
||||
'Admin goes to Stories': (client) => {
|
||||
'Admin goes to Stories': client => {
|
||||
const adminPage = client.page.admin();
|
||||
|
||||
adminPage
|
||||
.openDrawer()
|
||||
.goToStories();
|
||||
adminPage.openDrawer().goToStories();
|
||||
},
|
||||
|
||||
'Admin goes to Community': (client) => {
|
||||
'Admin goes to Community': client => {
|
||||
const adminPage = client.page.admin();
|
||||
|
||||
adminPage
|
||||
.openDrawer()
|
||||
.goToCommunity();
|
||||
|
||||
adminPage.openDrawer().goToCommunity();
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user