Comments (3)
@pozil My apologies for the delay, at the moment unable to create scratch org (asking for help in various slack channels) and check UI. If you try $$("lightning-button[label='Get Object Info']")
in browser console, does it find the element?
Can you inspect the element and post elements tree starting from WireGetObjectInfo root?
It just seems weird that something like that would be UTAM related issue. Also feel free to reach out in slack, jump on the call and investigate if it's blocking you.
from utam-js-recipes.
Ok, so I finally got scratch org working and now I'm confused about what are you trying to do @pozil.
Element "lightning-button" does not have a label, it does not have any attributes in fact, so selector with label attribute or any other attribute does not work and should not work. It would work only if HTML was <lightning-button label='Get Object Info'>...<lightning-button>
From console selector with label attribute returns nothing:
Perhaps I'm missing something and you modified UI? Again pls feel free to ping me in slack with additional questions.
from utam-js-recipes.
Sorry, that's my bad, you have the right code. I was looking at the source code in the repo when I built my UTAM test and I was making the bad assumption that the LWC template would also have the same attributes but as you pointed out the actual code in the page doesn't have the attribute.
<lightning-button label="Get Object Info" onclick={handleBtnClick}></lightning-button>
Thanks for helping and figuring it out.
from utam-js-recipes.
Related Issues (20)
- Invalid options being passed to WDIO Jasmine adapter
- Set up linting for this project HOT 2
- [Bug] _utam_get_decorator locator not updated HOT 18
- [Bug] UTAM extension does not show Available Page Objects HOT 2
- [Bug] .clickHeaderSpecialLink() not finding tr th:nth-of-type(n) selector HOT 3
- [Bug] Incomplete jasmine stack-trace in case of utam method caused a test failure HOT 13
- How to load your custom RecordPage and expect its custom components? HOT 5
- [Bug] Issue building project HOT 9
- [Bug] HOT 6
- [Bug] Tests against Scratch Org only run successfully if the default user navigates to the UTAM Recipes app HOT 8
- [Feat Request] Introduce session check when running spec HOT 1
- [Bug] Can not get Field content in dynamic forms HOT 5
- Getting error on getRecordForm call HOT 4
- [Bug] - salesforce-pageobjects case sensitive error HOT 4
- Can't find element for Record Form HOT 11
- Getting error while loading RecordHomeFlexipage2 to update Record 'Error: Unable to find any valid implementation' HOT 4
- [Bug] - recordHomeFlexipage2 not implemented HOT 6
- [Bug] recordHomeFlexipage2 not visible in navexConsoleTabset HOT 3
- [Bug] getRelatedList() in path: {salesforce-feature-syntax\node_modules\salesforce-pageobjects\lists\pageObjects\relatedListSingleContainer.js} is not returning accurate result HOT 3
- [Bug] jasmine 3.6.3 is not compatible with Node 16 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utam-js-recipes.