|
|
@@ -313,15 +313,16 @@ context('Tag Oprations', () =>{
|
|
|
cy.wrap($row).within(() => {
|
|
|
cy.getByTestid('open-page-item-control-btn').first().click();
|
|
|
cy.getByTestid('page-item-control-menu').should('have.class', 'show').first().within(() => {
|
|
|
- // eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
- cy.wait(300);
|
|
|
- cy.screenshot(`${ssPrefix}2-open-page-item-control-menu`);
|
|
|
})
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
|
|
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
|
|
|
+ cy.wait(300);
|
|
|
+ cy.screenshot(`${ssPrefix}2-open-page-item-control-menu`);
|
|
|
+
|
|
|
cy.getByTestid('search-result-list').within(() => {
|
|
|
cy.get('.list-group-item').each(($row) => {
|
|
|
if($row.find('a').text() === oldPageName){
|