feat(@DesktopApp): SignUp Scenario (Squish Test)
Ticket: https://github.com/status-im/status-desktop/issues/5718 Include script to erase data file before each test
This commit is contained in:
parent
734ad54c47
commit
314327f479
|
@ -3,7 +3,7 @@ import os.path as path
|
|||
|
||||
|
||||
def erase_directory(dir):
|
||||
directory = path.abspath(path.join(__file__ , "../../../../../" + dir))
|
||||
directory = path.abspath(path.join(__file__ , dir))
|
||||
if (os.path.isdir(directory)):
|
||||
print(directory)
|
||||
try:
|
||||
|
|
|
@ -12,7 +12,7 @@ _appClosureTimeout = 2 #[seconds]
|
|||
|
||||
@OnScenarioStart
|
||||
def hook(context):
|
||||
erase_directory("Status/data")
|
||||
erase_directory("../../../../../Status/data")
|
||||
startApplication(_statusDektopAppName)
|
||||
context.userData = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue