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:
femi 2022-05-26 10:01:34 +01:00 committed by Iuri Matias
parent 734ad54c47
commit 314327f479
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -12,7 +12,7 @@ _appClosureTimeout = 2 #[seconds]
@OnScenarioStart
def hook(context):
erase_directory("Status/data")
erase_directory("../../../../../Status/data")
startApplication(_statusDektopAppName)
context.userData = {}