Skip to content

Commit

Permalink
test: Display 'In Progress' status on transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
NabinKawan committed May 16, 2024
1 parent 6b52800 commit 36fab44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class DRepRegistrationPage {
await this.continueBtn.click(); // BUG: testId -> continue-register-button
}

async register(dRepInfo: IDRepInfo) {
async register(dRepInfo: IDRepInfo = { name: "Test_dRep" }) {
await this.nameInput.fill(dRepInfo.name);

if (dRepInfo.email != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ test.describe("Temporary DReps", () => {

const res = await kuberService.transferADA(
[wallet.addressBech32(environments.networkId)],
600,
600
);
await pollTransaction(res.txId, res.lockInfo);

Expand All @@ -166,7 +166,7 @@ test.describe("Temporary DReps", () => {
.click();

await expect(
dRepPage.locator("span").filter({ hasText: "In Progress" }),
dRepPage.locator("span").filter({ hasText: "In Progress" })
).toBeVisible(); // BUG add proper testId for dRep registration card
});
});

0 comments on commit 36fab44

Please sign in to comment.