-
Notifications
You must be signed in to change notification settings - Fork 3
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
QA - PlayWright Dapps testing #2144
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
export default { | ||
connectWallet: 'Connect Wallet', | ||
connectwallet: 'Connect wallet', | ||
walletConnectBtn: 'WalletConnect', | ||
wuiQrCode: 'wui-qr-code', | ||
wcmUri: 'wcm-qrcode' | ||
wcmQrCode: 'wcm-qrcode', | ||
w3mQrCode: 'w3m-qrcode' | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import { Page } from '@playwright/test' | ||
|
||
class DappsPlaywrightPage { | ||
page: Page | ||
|
||
constructor(page: Page) { | ||
this.page = page | ||
} | ||
|
||
get aaveUrl() { | ||
return 'https://app.aave.com/' | ||
} | ||
|
||
get balancerUrl() { | ||
return 'https://balancer.fi/pools' | ||
} | ||
|
||
get benqiUrl() { | ||
return 'https://app.benqi.fi/markets' | ||
} | ||
|
||
get compoundFinanceUrl() { | ||
return 'https://app.compound.finance/' | ||
} | ||
|
||
get convexFinanceUrl() { | ||
return 'https://www.convexfinance.com/' | ||
} | ||
|
||
get gmxUrl() { | ||
return 'https://app.gmx.io/#/trade' | ||
} | ||
|
||
get instadappUrl() { | ||
return 'https://lite.instadapp.io/' | ||
} | ||
|
||
get multichainUrl() { | ||
return 'https://app.multichain.org/#/router' | ||
} | ||
|
||
get oasisUrl() { | ||
return 'https://summer.fi/' | ||
} | ||
|
||
get openseaUrl() { | ||
return 'https://opensea.io/' | ||
} | ||
|
||
get pangolinUrl() { | ||
return 'https://beta.pangolin.exchange/swap' | ||
} | ||
|
||
get pangolinAgree() { | ||
return this.page.locator('#agree') | ||
} | ||
|
||
get stakeLidoUrl() { | ||
return 'https://stake.lido.fi/' | ||
} | ||
|
||
get lfjUrl() { | ||
return 'https://lfj.gg/avalanche' | ||
} | ||
|
||
get uniswapUrl() { | ||
return 'https://app.uniswap.org/#/swap' | ||
} | ||
|
||
get yieldYakUrl() { | ||
return 'https://www.yieldyak.com/' | ||
} | ||
|
||
get lidoAgree() { | ||
return this.page.getByText( | ||
'I certify that I have read and accept the updated' | ||
) | ||
} | ||
|
||
get lfjAgree() { | ||
return this.page.locator('text="I read and accept"') | ||
} | ||
} | ||
|
||
export default DappsPlaywrightPage |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Giving the initial permission here to copy the QRcode