mirror of
https://github.com/cryptoadvance/specter-desktop.git
synced 2026-08-13 12:33:29 +02:00
cypress tests: empty specter home
This commit is contained in:
parent
3e36fdf359
commit
2019f6c4fc
1 changed files with 7 additions and 12 deletions
|
|
@ -2,25 +2,20 @@
|
|||
describe('Completely empty specter-home', () => {
|
||||
before(() => {
|
||||
cy.task("clear:specter-home")
|
||||
cy.viewport(1200,660)
|
||||
cy.visit('/welcome/about')
|
||||
})
|
||||
|
||||
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/"]').click()
|
||||
cy.contains('Welcome to Specter')
|
||||
cy.contains('Settings').click()
|
||||
cy.contains('Backup and Restore')
|
||||
cy.get('[href="/settings/auth"]').click()
|
||||
cy.contains('Authentication:')
|
||||
cy.get('[href="/settings/hwi"]').click()
|
||||
cy.contains('Authentication').click()
|
||||
cy.contains('USB Devices').click()
|
||||
cy.contains('Hardware Devices Bridge')
|
||||
cy.get('main').scrollTo('top')
|
||||
cy.contains('Tor').click({ scrollBehavior: false })
|
||||
cy.contains('Tor').click()
|
||||
cy.contains('Tor configurations')
|
||||
cy.contains("Choose plugins")
|
||||
cy.get('#btn_plugins').click()
|
||||
cy.contains("Plugins in Production")
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue