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

[🐛 Bug]: Incorrect line numbers being referenced on about/style page #2006

Closed
harshitBhardwaj97 opened this issue Oct 18, 2024 · 1 comment · Fixed by #2007
Closed

[🐛 Bug]: Incorrect line numbers being referenced on about/style page #2006

harshitBhardwaj97 opened this issue Oct 18, 2024 · 1 comment · Fixed by #2007
Labels
bug Something isn't working needs-triaging

Comments

@harshitBhardwaj97
Copy link
Contributor

What happened?

On the style page, under Reference GitHub Examples section, the incorrect line numbers are being referenced from the test scripts, due to which either the code is not shown, or incorrect code is being shown.

Incorrect.Lines.StylePage.mp4

Also, we are showing different code snippets for Kotlin vs other languages. So @diemol, @harsha509 kindly let me know which snippets need to be shown here, capturing the textbox and submitButton -

WebElement textBox = driver.findElement(By.name("my-text"));
WebElement submitButton = driver.findElement(By.cssSelector("button"));

Or capturing the message element and extracting it's text -

WebElement message = driver.findElement(By.id("message"));
message.getText();

Or if anything else apart from these ?

What browsers and operating systems are you seeing the problem on?

All

@harshitBhardwaj97 harshitBhardwaj97 added bug Something isn't working needs-triaging labels Oct 18, 2024
Copy link
Contributor

@harshitBhardwaj97, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triaging
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant