Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not use French language for report generation #4

Open
sebcaps opened this issue May 11, 2017 · 4 comments
Open

Can not use French language for report generation #4

sebcaps opened this issue May 11, 2017 · 4 comments

Comments

@sebcaps
Copy link

sebcaps commented May 11, 2017

Using the following feature file

# encoding: utf8
# language: fr 

Fonctionnalité: Log in

  Pour se connecter
  En tant que la bonne personne
  Je veux être capable de me connecter
  
  Scénario: Ne me connecte pas

  Soit George Rémy est un utilisateur
  Etant donné qu'elle essaye de se connecter avec l'identifiant [email protected] et le mot de passe auser
  Alors il est n'est pas connecté

I can run serernity-js test but when generating report I got the following error info: Writing aggregated report to C:\Users\sebcc\Documents\serenity-tests\target\site\serenity error: Exception in thread "pool-1-thread-2" gherkin.lexer.LexingError: Lexing error on line 1: 'Fonctionnalité: Log in An error occurred. Error: Exception in thread "pool-1-thread-2" gherkin.lexer.LexingError: Lexing error on line 1: 'Fonctionnalité: Log in at C:\Users\sebcc\Documents\serenity-tests\node_modules\serenity-cli\lib\actions\logging.js:8:35 at process._tickCallback (internal/process/next_tick.js:109:7)` and no report generated.

When removing #encoding, # language et renaming Fonctionnalité to Feature, report generation is OK.

@jan-molak
Copy link
Owner

jan-molak commented May 11, 2017

Thanks for reporting the problem, @sebcaps

Looks like something in https://github.com/serenity-bdd/serenity-cli? @wakaleo?

@jan-molak
Copy link
Owner

Hi @sebcaps, could you please check if the latest version solves the problem for you?

Thanks,
Jan

@sebcaps
Copy link
Author

sebcaps commented Jun 19, 2017

Unfortunately no improvements with the latest version.

@jan-molak
Copy link
Owner

Needs more investigation, potentially related: serenity-bdd/serenity-core#793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants