From 529e41635d35d4af4dfdeb975554497066fba391 Mon Sep 17 00:00:00 2001 From: Katia Aresti Date: Mon, 4 Sep 2023 14:11:49 +0200 Subject: [PATCH] drop unnecessary verification of pagination drop down --- cypress/e2e/proto-schema.cy.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cypress/e2e/proto-schema.cy.js b/cypress/e2e/proto-schema.cy.js index 2f9a86c1..c286882f 100644 --- a/cypress/e2e/proto-schema.cy.js +++ b/cypress/e2e/proto-schema.cy.js @@ -27,10 +27,6 @@ describe('Proto Schema CRUD', () => { //Changing the number of items on the page cy.get('[id^="pagination-schemas-top-toggle"]').first().click(); - cy.get('[data-action=per-page-10] .pf-v5-c-menu__item-select-icon').should('exist'); //Verifying the selected option - cy.get('[data-action=per-page-20] .pf-v5-c-menu__item-select-icon').should('not.exist'); - cy.get('[data-action=per-page-50] .pf-v5-c-menu__item-select-icon').should('not.exist'); - cy.get('[data-action=per-page-100] .pf-v5-c-menu__item-select-icon').should('not.exist'); cy.get('[data-action=per-page-20]').click(); cy.get('#primary-app-container').scrollTo('bottom'); cy.contains('test-8.proto'); @@ -41,10 +37,6 @@ describe('Proto Schema CRUD', () => { //Changing the number of items on the page back to 10 cy.get('#primary-app-container').scrollTo('bottom'); cy.get('[id^="pagination-schemas-top-toggle"]').first().click(); - cy.get('[data-action=per-page-10] .pf-v5-c-menu__item-select-icon').should('not.exist'); //Verifying the selected option - cy.get('[data-action=per-page-20] .pf-v5-c-menu__item-select-icon').should('exist'); - cy.get('[data-action=per-page-50] .pf-v5-c-menu__item-select-icon').should('not.exist'); - cy.get('[data-action=per-page-100] .pf-v5-c-menu__item-select-icon').should('not.exist'); cy.get('[data-action=per-page-10]').click(); cy.contains('test-7.proto').should('not.exist'); cy.contains('test-6.proto');