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

[codeceptjs] secret() feature for sensible information not working in allure report #1178

Open
burn1ngd0g opened this issue Oct 24, 2024 · 0 comments
Labels

Comments

@burn1ngd0g
Copy link

Describe the bug
CodeceptJS provide a secret() feature making sensible information translated to ***** in reporting
In allure report, that feature is not working and sensible information is displayed

(Use case : Using gherkin/bdd and playwright.)

To Reproduce
Steps to reproduce the behavior:

  1. Create a test making I.fillField("#password", secret("123456")
  2. Run the test
  3. Generate allure report
  4. Check the "arg1" value for the action
  5. the password is displayed in clear text

Expected behavior
Any information sent using secret() should not be displayed in reports

Screenshots
Screenshot label implements secret() but allure report displays clear value for arg1 of action fillField :
Capture d’écran du 2024-10-24 09-43-54

Desktop (please complete the following information):

  • OS: Ubuntu LTS 22
  • Browser chromium
  • Version latest

Additional context
Codeceptjs version : 3.0.5
allure-codeceptjs version: 3.0.5

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

No branches or pull requests

2 participants