[Test Scenario]: CTA Block Item Rows within Tabs Extended
See original GitHub issueEngineering info:
- Innovation Team engineer: @andy-blum
- Innovation Team JIRA Ticket: https://jsw.ibm.com/browse/HC-2479
- DPO consulting engineer: N/A
Background
#8820 revealed an issue where elements that leverage the sameHeight
utility but are initially rendered in an element that has the hidden
attribute are given a 0px
height. The specific scenario under which this occurred was with markup like the following:
<dds-tabs-extended>
<dds-tab label="First tab">
<dds-cta-block>
<dds-cta-block-item-row>
<dds-cta-block-item>
...
</dds-cta-block-item>
</dds-cta-block-item-row>
</dds-cta-block>
</dds-tab>
...
</dds-tabs-extended>
#8881 fixes the issue, but there is not currently a place to write tests for the scenario. However, this seems like the type of thing that warrants automated test coverage.
Component and test scenario title
CTA Block – When rendered inside Tabs Extended, CTA Block Items within CTA Block Item Rows should have equal heights.
Test scenario steps
- Given a
DDSCTABlock
is placed within aDDSTabsExtended
element - And a
DDSCTABlockItemRow
is placed within it, - And that row has one or multiple
DDSCTABlockItem
children - Then those children should have equal heights
- And their heights should not equal
0px
.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
CTA Mock Review Board - Scenario 2 - YouTube
Welcome to the first of Lynette's Ladies Be Architects mock CTA group. In this video Vedran takes us through his review board presentation ......
Read more >CTA Modal: How To Build A Web Component
This function is handy to know if an element resides outside the parent <cta-modal> tag. It returns a boolean, which we can use...
Read more >What is A/B Testing? A Practical Guide With Examples | VWO
For instance, in the case of eCommerce, it may be the sale of the products. ... With A/B testing, you can test multiple...
Read more >When things go wrong (How we mitigate delays) - CTA
If a delay occurs at the peak of a rush period—even for just a few minutes—it can cause trains to quickly back-up, resulting...
Read more >Handbook Markdown Guide - GitLab
In case you need an additional break (or some extra space between lines), you can simply use the HTML break tag <br> ,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@proeung I believe that’s all I needed. I’ll create another Story in
CTA Block
as the testable surface for this scenario. Thanks, all!hmm I’m thinking we can put the test case in
CTA Block
? That seems to be the most relevant to me