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

Getting error on getRecordForm call #41

Closed
AparnaPrasannam opened this issue Jul 17, 2022 · 4 comments
Closed

Getting error on getRecordForm call #41

AparnaPrasannam opened this issue Jul 17, 2022 · 4 comments
Labels
bug Something isn't working needs triaging

Comments

@AparnaPrasannam
Copy link

Actual behavior

Configured the project to point against our test environment.
It logs and loads the Account page
Tests passes until selecting New Account
It fails at the getRecordForm
Can't find element with locator 'records-lwc-detail-panel' inside its scope shadow root within timeout 0ms

What is your expected behavior?

It should return all the items from the recordform and recordlayout calls

Steps to reproduce

1.Cloned utam-js-recipes-main
2.Create .env file for the test environment
3.change the const TEST_ENVIRONMENT_PREFIX = 'sandbox' in the record-create.spec.js and .env file
4.Compile and run the test

@AparnaPrasannam AparnaPrasannam added bug Something isn't working needs triaging labels Jul 17, 2022
@olivier-martin-sf
Copy link
Contributor

Hi @AparnaPrasannam, thank you for reporting the issue.

I will look into it in the next couple of days and see if I can reproduce it in our test environment. Hopefully, I should come back to you by Wednesday.

@olivier-martin-sf
Copy link
Contributor

Following up on this, can you provide a screenshot of the record form modal U and the record form modal DOM structure from the devtools 'Elements' panel? Just trying to see if the layout you are using matches or differs the one we used for that recipes repo

@lizaiv77
Copy link
Contributor

Closing because of lack of response from the reporting person.

@divymuni
Copy link

divymuni commented Sep 28, 2022

Hi @olivier-martin-sf @lizaiv77

I'm facing same issue stated above and I have tried lots of other tricks but no luck. Would be great if you can help me resolve this issue ASAP.

below are the attachments of Record form DOM and Record Form modal.

Issue1

image

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

No branches or pull requests

4 participants