<?php

namespace Tests\Data\Admin;

class ArticlePage
{
public const  Left = [
    'url'             => '/Admin/pages',
    'mg_article'      => '.list-unstyled.navbar-nav:nth-child(2) li:nth-child(1)', //文章管理
    'catalog_article' => '.list-unstyled.navbar-nav:nth-child(2) li:nth-child(2)', //文章分类
];

public const Common = [
    'add_btn'  => '#content > div.container-fluid.p-0 > div > div > div.d-flex.justify-content-between.mb-4 > a', //添加按钮
    'edit_btn' => '#content > div.container-fluid.p-0 > div > div > div.table-push > table > tbody > tr:nth-child(1) > td.text-end > a', //编辑按钮
    'del_btn'  => '#content > div.container-fluid.p-0 > div > div > div.table-push > table > tbody > tr:nth-child(1) > td.text-end > button', //删除按钮

];
}
