generated from lidofinance/lido-frontend-template
-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add tests for ICS #398
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
Open
Vorobeyko
wants to merge
18
commits into
develop
Choose a base branch
from
feat/add-ics-tests
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
fd9aa10
fix: add data-testid attributes for improved testing support
Vorobeyko b24bc54
fix: add data-testid attributes for improved testing support
Vorobeyko 005493c
feat: add tests for Sign application form
Vorobeyko ab54bf3
feat: enhance testing support with data-testid attributes and update …
Vorobeyko 5e7e586
feat: add data-testid attribute to ApplyForm for improved testing sup…
Vorobeyko 172a986
Merge remote-tracking branch 'origin/develop' into feat/add-ics-tests
Vorobeyko 315e775
Merge remote-tracking branch 'origin/develop' into feat/add-ics-tests
Vorobeyko b7af47a
Merge remote-tracking branch 'origin/develop' into feat/add-ics-tests
Vorobeyko d0c7a15
feat: enhance testing support with new mock services and additional t…
Vorobeyko 7e045d2
feat: enhance testing support with new mock services and additional t…
Vorobeyko 9fd6f90
feat: enhance testing support with new mock services and additional t…
Vorobeyko fff0935
fix: add steps
Vorobeyko 8efd9e6
Merge remote-tracking branch 'origin/develop' into feat/add-ics-tests
Vorobeyko 94c696d
feat: add tests for ICS application including address and social proo…
Vorobeyko 37bd284
feat: add tests for copying Twitter and Discord messages in ICS appli…
Vorobeyko f421a88
feat: add tests for pasting and validating Twitter and Discord proof …
Vorobeyko 68fd51c
Merge remote-tracking branch 'origin/develop' into feat/add-ics-tests
Vorobeyko d6f6e0e
feat: enhance ICS application tests with new status handling and soci…
Vorobeyko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| import { Page } from '@playwright/test'; | ||
| import { BasePage } from './base.page'; | ||
| import { | ||
| WalletPage, | ||
| WalletConnectType, | ||
| } from '@lidofinance/wallets-testing-wallets'; | ||
| import { TxModal } from './elements/common/element.txProgressModal'; | ||
| import { ApplicationForm } from './tabs/operatorType/applicationForm.page'; | ||
|
|
||
| export class OperatorTypePage extends BasePage { | ||
| applicationForm: ApplicationForm; | ||
| txModal: TxModal; | ||
|
|
||
| constructor( | ||
| page: Page, | ||
| public walletPage: WalletPage<WalletConnectType>, | ||
| ) { | ||
| super(page); | ||
| this.applicationForm = new ApplicationForm(page, walletPage); | ||
| this.txModal = new TxModal(page); | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
maybe add
data-testidto input or to input container and then select first inner input?