Skip to content

Commit

Permalink
Fixed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cliu-akamai committed Aug 4, 2023
1 parent 537a982 commit 964e1ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,9 @@ describe('linode landing checks', () => {
getVisible('[aria-label="Toggle display"]').should('be.enabled').click();

mockLinodes.forEach((linode) => {
// Get the upper 3 parent layers to check each table item.
cy.findByText(linode.label)
.should('be.visible')
.parent()
.parent()
.parent()
.closest('[data-qa-linode-card]')
.within(() => {
cy.findByText('Summary').should('be.visible');
cy.findByText('IP Addresses').should('be.visible');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ const CardView = (props: RenderLinodesProps) => {
<Grid className="m0" container style={{ width: '100%' }}>
{data.map((linode, idx: number) => (
<React.Fragment key={`linode-card-${idx}`}>
<Grid className={`${classes.summaryOuter} py0`} xs={12}>
<Grid
className={`${classes.summaryOuter} py0`}
xs={12}
data-qa-linode-card={linode.id}
>
<LinodeEntityDetail
handlers={{
onOpenDeleteDialog: () =>
Expand Down

0 comments on commit 964e1ab

Please sign in to comment.