-
Notifications
You must be signed in to change notification settings - Fork 57
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
Added tests for switching networks and more swapping #896
Conversation
…mation-tests-swap # Conflicts: # tests/pages/SwapPage.ts # tests/synpress/specs/swap/SwapTests.ts # tests/synpress/specs/swap/WalletConnectionTests.ts # tests/synpress/specs/swap/WrapTests.ts # tests/utils/AddressesEnum.ts # tests/utils/TransactionHelper.ts
# Conflicts: # src/components/Settings/index.tsx # src/components/TransactionSettings/index.tsx # tests/cypress/integration/smoke/TokenMenuTests.ts # tests/cypress/integration/smoke/TransactionSettingsTests.ts # tests/pages/TransactionSettings.ts # tests/synpress/specs/swap/SwapTests.ts # tests/synpress/specs/swap/WrapTests.ts # tests/synpress/synpress.json # tests/utils/TransactionHelper.ts
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.
It looks good, you just need to correct some mistakes in writing and that's all in my opinion. Great job!
cy.allowMetamaskToAddAndSwitchNetwork() | ||
MenuBar.getNetworkSwitcher().should('contain.text', 'Arbitrum Rinkeby') | ||
}) | ||
it('Should switch from mainet to gnosis by dapp [TC-55]', () => { |
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.
Typo in 'mainet' it is mainnet.
Pls also check on other places.
) | ||
TransactionHelper.checkSubgraphTransaction('DXD', 'WETH', estimatedTransactionOutput, TRANSACTION_VALUE) | ||
}) | ||
}) | ||
it('Should swap DAI to eth [TC-53]', () => { |
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.
I think we should make a convention to write tokens in capital letters, such as DAI here so should ETH be also capital letters.
* Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com>
* Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Fix showing avatar without an image * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * fix: hide unsupported net popup * fix: remove whitespace * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added tests for switching networks and more swapping (#896) (#902) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com>
* Added tests for switching networks and more swapping (#896) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Tests for creating a campaign (#929) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Fix showing avatar without an image * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * fix: hide unsupported net popup * fix: remove whitespace * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added tests for switching networks and more swapping (#896) (#902) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com> * Small fixes along with name changes, added possibility to add cypress plugins to synpress * Fix for opening reward card * Fix for opening reward card * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com>
* Added tests for switching networks and more swapping (#896) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Tests for creating a campaign (#929) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Fix showing avatar without an image * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * fix: hide unsupported net popup * fix: remove whitespace * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added tests for switching networks and more swapping (#896) (#902) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com> * Small fixes along with name changes, added possibility to add cypress plugins to synpress * Fix for opening reward card * Fix for opening reward card * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Add Liquidity WIP * Add Liquidity WIP/small changes * Add Liquidity/fix the typo * Fix for failing test * Add Liquidity/fix for getting element * Add Liquidity/deleted unnecessary selector * Add Liquidity/small fix for disconecting wallet * Add Liquidity/adding comment Co-authored-by: Kacper Kończyk <30408272+niemam29@users.noreply.github.com> Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com> Co-authored-by: kacper29 <niemam29@gmail.com>
* Added tests for switching networks and more swapping (#896) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Tests for creating a campaign (#929) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Fix showing avatar without an image * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * fix: hide unsupported net popup * fix: remove whitespace * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added tests for switching networks and more swapping (#896) (#902) * Added tests for swapping * Added tests for swapping * Transaction Settings Smoke Test * Small fix for improving stability of the tests * Small fix for improving stability of the tests * Added tests for swaping * Small fix for improving stability of the tests * Added tests for wallet connection * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks * Added test for switching networks Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation * Added test for liquidity campaign creation Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com> * Small fixes along with name changes, added possibility to add cypress plugins to synpress * Fix for opening reward card * Fix for opening reward card * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Fixes from cr * Add Liquidity WIP * Add Liquidity WIP/small changes * Add Liquidity/fix the typo * Fix for failing test * Add Liquidity/fix for getting element * Add Liquidity/deleted unnecessary selector * Add Liquidity/small fix for disconecting wallet * Add Liquidity/adding comment * Added tests for Polygon network (#991) * Added tests for Polygon network * Some minor improvment * Deleted TODO * Fixed problem with network switching * Fixed problem with network switching * Fixed problem with network switching * Fixed problem with network switching * Fixed problem with network switching * Fixed problem with network switching * Fixed problem with network switching Co-authored-by: MilanVojnovic95 <mv.coversproduction@gmail.com> Co-authored-by: Diogo <diogo.mart.ferreira@gmail.com> Co-authored-by: Oskar Karcz <oskar.karcz@rumblefish.pl> Co-authored-by: Adam Azad <adam@adamazad.com> Co-authored-by: karczuRF <88723742+karczuRF@users.noreply.github.com> Co-authored-by: MilanVojnovic95 <milan.vojnovic995@gmail.com> Co-authored-by: Milan Vojnovic <57331244+MilanVojnovic95@users.noreply.github.com>
No description provided.