Skip to content

Commit

Permalink
adjusted cypress tests to still work with eventinvitations
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Ruf committed Feb 1, 2024
1 parent bae0764 commit 41d7f76
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/e2e/cypress/e2e/Dashboard.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.children()
.should('have.length', 0);

Expand All @@ -257,7 +257,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.click();

// confirm event has been joined
Expand All @@ -273,7 +273,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.children()
.should('have.length', 1);

Expand All @@ -290,7 +290,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.click();

// confirm event has been left
Expand All @@ -306,7 +306,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.children()
.should('have.length', 0);
});
Expand Down Expand Up @@ -366,7 +366,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.click();

// click on the info-icon
Expand All @@ -381,7 +381,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('svg')
.eq(0)
.eq(1)
.click();

cy.wait('@getParticipants');
Expand Down Expand Up @@ -415,7 +415,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('div')
.eq(3)
.eq(4)
.click();

// click on the info-icon
Expand All @@ -430,7 +430,7 @@ describe('Test Dashboard View', () => {
.contains('Afterwork')
.parent()
.find('svg')
.eq(0)
.eq(1)
.click();

cy.wait('@getParticipants');
Expand Down

0 comments on commit 41d7f76

Please sign in to comment.