Skip to content

Commit

Permalink
drop unnecessary verification of pagination drop down
Browse files Browse the repository at this point in the history
  • Loading branch information
karesti committed Sep 4, 2023
1 parent 472efe0 commit 529e416
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cypress/e2e/proto-schema.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit 529e416

Please sign in to comment.