specter-desktop/cypress/integration/spec_empty_specter_home.js
yogendra sankhla a3ce7d3186
Feature: Rescan button for empty wallet (#1779)
* Prompting rescan hint within tx-table when no transactions appear
* Animation of rescan part after being forwarded
* Basics option added in test-cypress for faster development on cypress tests on slower machines
* addWallet command added in Cypress
* Page limit in addresses view fixed

Co-authored-by: moneymanolis <moneymanolis@protonmail.com>
2022-07-19 09:49:32 +02:00

32 lines
899 B
JavaScript

describe('Completely empty specter-home', () => {
before(() => {
cy.task("clear:specter-home")
})
it('Click around on the welcome page', () => {
cy.viewport(1200,660)
cy.visit('/welcome/about')
cy.contains('Welcome to Specter Desktop')
cy.get('#node-switch-icon').click()
cy.get('[href="/nodes/node/default/"]').first().click()
cy.contains('Bitcoin Core')
cy.get('[href="/settings/"] > img').click()
cy.contains('Backup and Restore')
cy.get('[href="/settings/auth"]').click()
cy.contains('Authentication:')
cy.get('[href="/settings/hwi"]').click()
cy.contains('Hardware Devices Bridge')
cy.get('main').scrollTo('top')
cy.contains('Tor').click({ scrollBehavior: false })
cy.contains('Tor configurations')
cy.contains("Choose plugins")
cy.get('#btn_plugins').click()
cy.contains("Plugins in Production")
})
})