Fix testWithQueryFrontend test

This commit fixes the `testWithQueryFrontend` test, which was broken by

6bc41d73

However, this was followed by a frontend fix, which was modified to deal
with the next format:

purescript-gargantext!374 (diffs)

Therefore, it's fine to fix the test here.
1 job for !175 with adinapoli/improve-cabal-ci-caching in 25 seconds (queued for 65 minutes and 23 seconds)
detached
Status Job ID Name Coverage
  Docs
failed #7944
allowed to fail
docs

00:00:25

 
Name Stage Failure
failed
docs Docs
zlib-bindings-0.1.1.5: database=snapshot, source=zlib-bindings (from Hackage), after: zlib-0.6.2.3
zstd-0.1.3.0: database=snapshot, source=zstd (from Hackage)

No executables to be installed.
$ cp -R "$(stack path --local-install-root)"/doc ./output
/usr/bin/bash: line 117: stack: command not found
cp: cannot stat '/doc': No such file or directory
Cleaning up file based variables
ERROR: Job failed: exit code 1