added fake address list

This commit is contained in:
navjot 2021-04-08 17:41:17 +05:30
parent a59b25f1ca
commit 8ad43c2fcd
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
5 changed files with 15 additions and 8 deletions

View File

@ -19,7 +19,7 @@
# spacing: "12dp"
size_hint_y: None
# height: "120dp"
height: 1.5*label.height+address.height
height: label.height+address.height
BoxLayout:
orientation: 'vertical'
MDTextField:

View File

@ -476,6 +476,7 @@ class NavigateApp(MDApp):
state.in_composer = False
self.root.ids.scr_mngr.current = 'inbox'
elif self.root.ids.scr_mngr.current == "showqrcode":
self.set_common_header()
self.root.ids.scr_mngr.current = 'myaddress'
elif self.root.ids.scr_mngr.current == "random":
self.root.ids.scr_mngr.current = 'login'

View File

@ -1,9 +1,11 @@
import time
from bitmessagekivy.tests.telenium_process import TeleniumTestProcess
from bmconfigparser import BMConfigParser
from .common import ordered
data = BMConfigParser().addresses()
data = [
'BM-2cWmjntZ47WKEUtocrdvs19y5CivpKoi1h',
'BM-2cVpswZo8rWLXDVtZEUNcDQvnvHJ6TLRYr'
]
class AddressBook(TeleniumTestProcess):
@ -60,7 +62,7 @@ class AddressBook(TeleniumTestProcess):
self.cli.sleep(3)
self.cli.execute('app.addingtoaddressbook()')
self.cli.sleep(3)
self.cli.setattr('//GrashofPopup/BoxLayout[0]/MDTextField[0]','text','test2')
self.cli.setattr('//GrashofPopup/BoxLayout[0]/MDTextField[0]','text','test2 ')
self.cli.sleep(3)
self.cli.setattr('//GrashofPopup/BoxLayout[0]/MDTextField[1]','text',data[0])
self.cli.sleep(3)

View File

@ -1,8 +1,10 @@
from bmconfigparser import BMConfigParser
from bitmessagekivy.tests.telenium_process import TeleniumTestProcess
from .common import ordered
data = BMConfigParser().addresses()
data = [
'BM-2cWmjntZ47WKEUtocrdvs19y5CivpKoi1h',
'BM-2cVpswZo8rWLXDVtZEUNcDQvnvHJ6TLRYr'
]
class MyAddressScreen(TeleniumTestProcess):

View File

@ -1,8 +1,10 @@
from bitmessagekivy.tests.telenium_process import TeleniumTestProcess
from bmconfigparser import BMConfigParser
from .common import ordered
data = BMConfigParser().addresses()
data = [
'BM-2cWmjntZ47WKEUtocrdvs19y5CivpKoi1h',
'BM-2cVpswZo8rWLXDVtZEUNcDQvnvHJ6TLRYr'
]
class SendMessage(TeleniumTestProcess):