|
@@ -210,11 +210,11 @@ context('Search all pages', () => {
|
|
|
cy.getByTestid('search-result-base').should('be.visible');
|
|
cy.getByTestid('search-result-base').should('be.visible');
|
|
|
cy.getByTestid('search-result-list').should('be.visible');
|
|
cy.getByTestid('search-result-list').should('be.visible');
|
|
|
cy.getByTestid('search-result-content').should('be.visible');
|
|
cy.getByTestid('search-result-content').should('be.visible');
|
|
|
- cy.get('.wiki').should('be.visible');
|
|
|
|
|
cy.waitUntilSpinnerDisappear();
|
|
cy.waitUntilSpinnerDisappear();
|
|
|
|
|
|
|
|
// force to add 'active' to pass VRT: https://github.com/weseek/growi/pull/6603
|
|
// force to add 'active' to pass VRT: https://github.com/weseek/growi/pull/6603
|
|
|
cy.getByTestid('page-list-item-L').first().invoke('addClass', 'active');
|
|
cy.getByTestid('page-list-item-L').first().invoke('addClass', 'active');
|
|
|
|
|
+ cy.getByTestid('wiki').should('exists');
|
|
|
cy.screenshot(`${ssPrefix}1-tag-order-click-tag-name`, {capture: 'viewport'});
|
|
cy.screenshot(`${ssPrefix}1-tag-order-click-tag-name`, {capture: 'viewport'});
|
|
|
|
|
|
|
|
cy.get('.grw-search-page-nav').within(() => {
|
|
cy.get('.grw-search-page-nav').within(() => {
|
|
@@ -247,9 +247,9 @@ context('Search all pages', () => {
|
|
|
cy.getByTestid('search-result-base').should('be.visible');
|
|
cy.getByTestid('search-result-base').should('be.visible');
|
|
|
cy.getByTestid('search-result-list').should('be.visible');
|
|
cy.getByTestid('search-result-list').should('be.visible');
|
|
|
cy.getByTestid('search-result-content').should('be.visible');
|
|
cy.getByTestid('search-result-content').should('be.visible');
|
|
|
- cy.get('.wiki').should('be.visible');
|
|
|
|
|
cy.waitUntilSpinnerDisappear();
|
|
cy.waitUntilSpinnerDisappear();
|
|
|
|
|
|
|
|
|
|
+ cy.getByTestid('wiki').should('exists');
|
|
|
cy.screenshot(`${ssPrefix}4-tag-order-by-last-update-date`);
|
|
cy.screenshot(`${ssPrefix}4-tag-order-by-last-update-date`);
|
|
|
});
|
|
});
|
|
|
|
|
|