-
Notifications
You must be signed in to change notification settings - Fork 3
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
TypeError: Cannot read property 'includes' of undefined #20
Comments
Sure |
@Wikbake |
I'm using 1.1.2 |
@Wikbake |
Where can I find that version? Everywhere I'm looking it's 1.1.2. On Marketplace: https://marketplace.visualstudio.com/items?itemName=MaciejMaciejewski.azure-pipelines-protractor&targetId=f9dc9493-375a-45d8-8dae-4f181b115a9d&utm_source=vstsproduct&utm_medium=ExtHubManageList |
Sorry for misunderstanding. I was asking for the version of the reporter that generates the report for your protector. Please check your package.json file. |
Aaah, my bad. It's indeed 1.3.6. |
Can you please confirm if your combined.json file contains escaped data like
|
Confirmed, it looks generally like that:
|
Hi, I am also receiving this error and see no solution been provided to this issue (issue 19 as mentioned is not resolved either?). Am I missing something? A link to a workaround perhaps? |
Hello,
As in the title I got an error from the screenshot below.
If there isn't any screenshot in the test results folder, the Protractor tab loads correctly.
Logs:
My reporter setup:
Chrome console:
If I change this:
const tc = contentJSON.find((x) => x.screenShotFile.includes(screenshot.name));
to this:
const tc = contentJSON.find((x) => x.screenShotFile === screenshot.name);
it doesn't show the screenshots but loads somehow.
What is more, if I will try to open the "missing" image in a new tab I get:
The text was updated successfully, but these errors were encountered: