Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/test-2N-3M #1396

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ test("2N. Should show DRep information on details page", async ({

await dRepRegistrationPage.confirmBtn.click();

const dRepDirectory = new DRepDirectoryPage(dRepPage);
await dRepDirectory.goto();

await dRepDirectory.searchInput.fill(wallet.dRepId);
await dRepPage.getByTestId(`${wallet.dRepId}-view-details-button`).click();
await dRepPage.getByTestId("view-drep-details-button").click();

// Verification
await expect(dRepPage.getByTestId("copy-drep-id-button")).toHaveText(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ test.describe("Validation of edit dRep Form", () => {
const editDRepPage = new EditDRepPage(page);
await editDRepPage.goto();

await editDRepPage.addLinkBtn.click();

for (let i = 0; i < 100; i++) {
await editDRepPage.validateForm(
faker.internet.displayName(),
Expand All @@ -44,6 +46,8 @@ test.describe("Validation of edit dRep Form", () => {
const editDRepPage = new EditDRepPage(page);
await editDRepPage.goto();

await editDRepPage.addLinkBtn.click();

for (let i = 0; i < 100; i++) {
await editDRepPage.inValidateForm(
mockInvalid.name(),
Expand Down