Use full path, to be compatible both on localhost and on GitHub page.
This commit is contained in:
parent
878a36fbd5
commit
d1e7bd257b
3 changed files with 16 additions and 10 deletions
|
|
@ -106,8 +106,6 @@ def generateJavascriptFile():
|
|||
languages = detectRecordedLanguages()
|
||||
# First item is the list of languages, adding "en" at the beginning
|
||||
data = [["en"] + languages]
|
||||
# Second item is the path of the containing file
|
||||
data.append(["./tests/uitests/src/test/snapshots/images"] + ["./screenshots/" + l for l in languages])
|
||||
files = sorted(
|
||||
os.listdir("tests/uitests/src/test/snapshots/images/"),
|
||||
key=lambda file: file[file.find("_", 6):],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue