Skip to content
Merged
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
12 changes: 4 additions & 8 deletions test/e2e/page-objects/pages/send/send-token-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,10 @@ class SendTokenPage {

async checkAccountValueAndSuffix(value: string): Promise<void> {
console.log(`Checking if account value and suffix is ${value}`);
const element = await this.driver.waitForSelector(this.assetValue);
const text = await element.getText();
assert.equal(
text,
value,
`Expected account value and suffix to be ${value}, got ${text}`,
);
console.log(`Account value and suffix is ${value}`);
await this.driver.waitForSelector({
css: this.assetValue,
text: value,
});
}

async clickCancelButton(): Promise<void> {
Expand Down
Loading