Skip to content

Commit

Permalink
Switch "votingPower" twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Sital999 committed Nov 15, 2024
1 parent ecc76f7 commit 3091ba8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration_test/lib/pages/representativesPage.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Page, expect } from '@playwright/test';
import { faker } from '@faker-js/faker';

const updateDelegateEmail = 'jamejones123@email.com';
const updatedAlternateEmail = 'sallysue123@email.com';
const updateDelegateEmail = faker.person.fullName + '@email.com';
const updatedAlternateEmail = faker.person.fullName + '@email.com';
const representativeUpdatedToast = 'User info updated!';
export default class RepresentativesPage {
readonly updateDelegateBtn = this.page.getByTestId(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,5 +291,6 @@ test.describe('Voting Power', () => {
await representativePage.switchVotingPower();
await expect(page.getByText('Active voter updated!')).toBeVisible();
await representativePage.assertSwitchedVotingPower();
await representativePage.switchVotingPower();
});
});

0 comments on commit 3091ba8

Please sign in to comment.