Skip to content

Commit

Permalink
Ticket : #1632 Anpassung Cypresstest mit ID
Browse files Browse the repository at this point in the history
  • Loading branch information
SCel31 authored and AnnaMariaLioka committed Jun 5, 2024
1 parent 76e1c91 commit 5a22ecd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bogenliga/cypress/e2e/bsapp/bsapp-e2e-wkdurchfuehrung.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Wkdurchfuehrung tests', function () {

cy.wait(2000);

cy.get('#payload-id-30 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
cy.get('#payload-id-2000 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
'[data-cy="actionButton"]').click()

cy.get('[data-cy=vollbildAnsichtButton]').click();
Expand Down Expand Up @@ -102,7 +102,7 @@ describe('Wkdurchfuehrung tests', function () {
*/
it('Anzeige Action-Buttons', () => {
cy.expandWettkampfTage()
cy.get('#payload-id-30 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
cy.get('#payload-id-2000 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
'[data-cy="actionButton"]').should('be.visible')
})

Expand All @@ -111,7 +111,7 @@ describe('Wkdurchfuehrung tests', function () {
*/
it('Einklappen Tabelle auf Button-Click', () => {
cy.expandWettkampfTage()
cy.get('#payload-id-30 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
cy.get('#payload-id-2000 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
'[data-cy="actionButton"]').click()
cy.wait(1000)
cy.get('.expandContainer > .expand-container > .expand-content').should('not.be.visible')
Expand All @@ -122,7 +122,7 @@ describe('Wkdurchfuehrung tests', function () {
*/
it('Anzeigen Druckdaten auf Button-Click', () => {
cy.expandWettkampfTage()
cy.get('#payload-id-30 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
cy.get('#payload-id-2000 > #undefinedActions > .action_icon > [data-cy="TABLE.ACTIONS.VIEW"] > ' +
'[data-cy="actionButton"]').click()
cy.wait(1000)
cy.get('[ng-reflect-header-text="Druckdaten"] > .expand-container > .expand-content').should('be.visible')
Expand Down

0 comments on commit 5a22ecd

Please sign in to comment.