Skip to content

Commit

Permalink
Merge pull request #1396 from IntersectMBO/bugfix/test-2N-3M
Browse files Browse the repository at this point in the history
Bugfix/test-2N-3M
  • Loading branch information
NabinKawan authored Jun 21, 2024
2 parents c76b129 + 97e8f28 commit 0b29322
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit 0b29322

Please sign in to comment.